[pulseaudio-discuss] asoundrc, configure one virtual device for both input and output

2012-07-25 Thread Amar Akshat
Hi, I have a multiple sound cards connected to my pc, and I have input and output configured as different virtual devices, like this, pcm.pulse_i { type pulse device alsa_input.pci-_00_1b.0.analog-stereo } pcm.pulse_o { type pulse device alsa_output.pci-_00_1b.0.analog-mono } Can I combine

Re: [pulseaudio-discuss] asoundrc, configure one virtual device for both input and output

2012-07-02 Thread Tanu Kaskinen
On Mon, 2012-07-02 at 19:10 +0900, Amar Akshat wrote: > Thanks for the compilation details, it all compiled in the 1st go, > > While modifying the code to accept source and sink parameter in the > asoundrc, is it advisable to have to 2 > snd_pcm_pulse_t *pcm; objects ? Two snd_pcm_pulse_t objects

Re: [pulseaudio-discuss] asoundrc, configure one virtual device for both input and output

2012-07-02 Thread Amar Akshat
Thanks for the compilation details, it all compiled in the 1st go, While modifying the code to accept source and sink parameter in the asoundrc, is it advisable to have to 2 snd_pcm_pulse_t *pcm; objects ? Like one for source and one for sink and initialize them the same way, because I can't see

Re: [pulseaudio-discuss] asoundrc, configure one virtual device for both input and output

2012-07-01 Thread Tanu Kaskinen
On Sun, 2012-07-01 at 14:59 +0200, Rafał Mużyło wrote: > > Does anyone know if the build system of alsa-plugins could be improved > > so that it doesn't use any external .la files when linking? > > You're asking the wrong question here. > The build system works exactly like intended. > It's the pr

[pulseaudio-discuss] asoundrc, configure one virtual device for both input and output

2012-07-01 Thread Rafał Mużyło
> Does anyone know if the build system of alsa-plugins could be improved > so that it doesn't use any external .la files when linking? You're asking the wrong question here. The build system works exactly like intended. It's the problem of la files that's bitten you. It's an annoying legacy quirk

Re: [pulseaudio-discuss] asoundrc, configure one virtual device for both input and output

2012-07-01 Thread Tanu Kaskinen
On Sun, 2012-07-01 at 09:49 +0300, Tanu Kaskinen wrote: > I tried the "./gitcompile --enable-pulseaudio" command myself, and had > this problem: > > Making all in pulse > make[2]: Entering directory `/home/tanu/dev/alsa-plugins/pulse' > /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CON

Re: [pulseaudio-discuss] asoundrc, configure one virtual device for both input and output

2012-06-30 Thread Tanu Kaskinen
(CC'ing alsa-devel, because I had problems with building alsa-plugins) On Sun, 2012-07-01 at 14:16 +0900, Amar Akshat wrote: > Help me here with two things, > > 1) How do I fix this and test, as in should I clone the alsa-project, > or download alsa code and fix and compile ? In case I have to cl

Re: [pulseaudio-discuss] asoundrc, configure one virtual device for both input and output

2012-06-30 Thread Amar Akshat
Help me here with two things, 1) How do I fix this and test, as in should I clone the alsa-project, or download alsa code and fix and compile ? In case I have to clone it, can you also provide me the clone instructions. 2) and after my modifications, my config in asoundrc should look like this ?

Re: [pulseaudio-discuss] asoundrc, configure one virtual device for both input and output

2012-06-30 Thread Tanu Kaskinen
On Sat, 2012-06-30 at 17:04 +0900, Amar Akshat wrote: > On Sat, Jun 30, 2012 at 4:47 PM, Tanu Kaskinen wrote: > > Is the GUI in a different process than the sip stack? If yes, then the > > environment variables have to be set by the sip stack. Are you able to > > alter the sip stack, or are you on

Re: [pulseaudio-discuss] asoundrc, configure one virtual device for both input and output

2012-06-30 Thread Amar Akshat
On Sat, Jun 30, 2012 at 4:47 PM, Tanu Kaskinen wrote: > On Sat, 2012-06-30 at 03:37 +0900, Amar Akshat wrote: >> > Do you reopen the audio stream when the routing changes? I guess you >> > have to do that, since ALSA doesn't provide a mechanism to move a live >> > stream from one device to another

Re: [pulseaudio-discuss] asoundrc, configure one virtual device for both input and output

2012-06-30 Thread Tanu Kaskinen
On Sat, 2012-06-30 at 03:37 +0900, Amar Akshat wrote: > > Do you reopen the audio stream when the routing changes? I guess you > > have to do that, since ALSA doesn't provide a mechanism to move a live > > stream from one device to another. You could then set the PULSE_SINK and > > PULSE_SOURCE env

Re: [pulseaudio-discuss] asoundrc, configure one virtual device for both input and output

2012-06-29 Thread Amar Akshat
Hi, I did not realize my messages were going in HTML, I ve changed it to plain text now. On Sat, Jun 30, 2012 at 2:57 AM, Tanu Kaskinen wrote: > > Hi, > > Could you send your messages as plain text instead of HTML in the > future? I hear Gmail has a setting for that. Quoting more than one leve

Re: [pulseaudio-discuss] asoundrc, configure one virtual device for both input and output

2012-06-29 Thread Tanu Kaskinen
Hi, Could you send your messages as plain text instead of HTML in the future? I hear Gmail has a setting for that. Quoting more than one level doesn't seem to work properly with HTML (and it's anyway against the mailing list etiquette to send HTML). On Sat, 2012-06-30 at 00:58 +0900, Amar Akshat

Re: [pulseaudio-discuss] asoundrc, configure one virtual device for both input and output

2012-06-29 Thread Amar Akshat
On Sat, Jun 30, 2012 at 12:27 AM, Tanu Kaskinen wrote: > On Fri, 2012-06-29 at 23:54 +0900, Amar Akshat wrote: > > Well I understand what you mean, however the problem at my end is a > > combination of two, in which automatic routing just can't work as far > > as I can see. > > > > > > 1). I need

Re: [pulseaudio-discuss] asoundrc, configure one virtual device for both input and output

2012-06-29 Thread Tanu Kaskinen
On Fri, 2012-06-29 at 23:54 +0900, Amar Akshat wrote: > Well I understand what you mean, however the problem at my end is a > combination of two, in which automatic routing just can't work as far > as I can see. > > > 1). I need to be able to specify sound card "name", so that my program > can op

Re: [pulseaudio-discuss] asoundrc, configure one virtual device for both input and output

2012-06-29 Thread Amar Akshat
Well I understand what you mean, however the problem at my end is a combination of two, in which automatic routing just can't work as far as I can see. 1). I need to be able to specify sound card "name", so that my program can operate sound to/from that device. 2). Multiple applications within my

Re: [pulseaudio-discuss] asoundrc, configure one virtual device for both input and output

2012-06-29 Thread Tanu Kaskinen
On Fri, 2012-06-29 at 22:16 +0900, Amar Akshat wrote: > Hi, > I have a multiple sound cards connected to my pc, and I have input and > output configured as different virtual devices, like this, > pcm.pulse_i { > type pulse > device alsa_input.pci-_00_1b.0.analog-stereo > } > pcm.pulse_o { > typ

[pulseaudio-discuss] asoundrc, configure one virtual device for both input and output

2012-06-29 Thread Amar Akshat
Hi, I have a multiple sound cards connected to my pc, and I have input and output configured as different virtual devices, like this, pcm.pulse_i { type pulse device alsa_input.pci-_00_1b.0.analog-stereo } pcm.pulse_o { type pulse device alsa_output.pci-_00_1b.0.analog-mono } Can I combine