Re: [pulseaudio-discuss] ALSA-emulation for multiple devices

2009-12-22 Thread Lennart Poettering
On Sat, 12.12.09 20:22, Vegard Vesterheim (vegard.vesterh...@uninett.no) wrote: > I do not understand how pulseaudio arranges ALSA-emulation for > multiple devices. I have a typical setup with external speakers > connected to the sound card and an USB Headset. > > My Voip-client (twinkle) uses AL

Re: [pulseaudio-discuss] ALSA-emulation for multiple devices

2009-12-13 Thread Colin Guthrie
'Twas brillig, and Michał Sawicz at 12/12/09 21:20 did gyre and gimble: > As for native Pulse I believe media roles are designed to achieve that > [1]. So that a ring would be of role 'Event' and the actual speech would > be of role 'Phone'. This has the additional advantage of allowing Pulse > to

Re: [pulseaudio-discuss] ALSA-emulation for multiple devices

2009-12-13 Thread Colin Guthrie
'Twas brillig, and Ng Oon-Ee at 13/12/09 11:34 did gyre and gimble: > Looks good. Wouldn't this work for skype as well? Though AFAIK currently > it doesn't even give the option to use alsa if pulse is running. Skype correctly identifies it's streams as Event role verses Phone role (not yet in publ

Re: [pulseaudio-discuss] ALSA-emulation for multiple devices

2009-12-13 Thread Ng Oon-Ee
On Sun, 2009-12-13 at 11:56 +0100, Vegard Vesterheim wrote: > On Sun, 13 Dec 2009 05:05:51 +0200 Tanu Kaskinen wrote: > > > Assuming you already know how to create the usual "pulse" alsa device, > > adding more devices is easy. In .asoundrc, instead of writing just > > > > pcm.pulse { > > typ

Re: [pulseaudio-discuss] ALSA-emulation for multiple devices

2009-12-13 Thread Vegard Vesterheim
On Sun, 13 Dec 2009 05:05:51 +0200 Tanu Kaskinen wrote: > Assuming you already know how to create the usual "pulse" alsa device, > adding more devices is easy. In .asoundrc, instead of writing just > > pcm.pulse { > type pulse > } > > you can specify the sink or source too too: > > pcm.speake

Re: [pulseaudio-discuss] ALSA-emulation for multiple devices

2009-12-12 Thread Tanu Kaskinen
la, 2009-12-12 kello 15:58 -0500, Brian J. Murrell kirjoitti: > I'd be surprised if pulse has not provided applications that use pulse > directly the ability to do this kind of per-stream identification, but > until all such applications can be written to take advantage to that, it > would be nice/

Re: [pulseaudio-discuss] ALSA-emulation for multiple devices

2009-12-12 Thread Michał Sawicz
Dnia 2009-12-12, sob o godzinie 15:58 -0500, Brian J. Murrell pisze: > Which is fine for single audio stream applications, but as OP > mentioned, > his app has two different reasons to want audio. One for the > "telephone > ring" which he wants on speakers and one for voice audio which he > wants

Re: [pulseaudio-discuss] ALSA-emulation for multiple devices

2009-12-12 Thread Brian J. Murrell
On Sat, 2009-12-12 at 21:04 +0100, Michał Sawicz wrote: > > ALSA applications feed Pulse, and it's Pulse that decides where will the > stream go. Which is fine for single audio stream applications, but as OP mentioned, his app has two different reasons to want audio. One for the "telephone ring

Re: [pulseaudio-discuss] ALSA-emulation for multiple devices

2009-12-12 Thread Michał Sawicz
Dnia 2009-12-12, sob o godzinie 20:22 +0100, Vegard Vesterheim pisze: > I know how to use pavucontrol to move streams between sound cards. You can have only one 'pulse' device and then move the streams around. Once you moved a stream from one output to another, it will play through it every time i

[pulseaudio-discuss] ALSA-emulation for multiple devices

2009-12-12 Thread Vegard Vesterheim
I do not understand how pulseaudio arranges ALSA-emulation for multiple devices. I have a typical setup with external speakers connected to the sound card and an USB Headset. My Voip-client (twinkle) uses ALSA. I would like to configure twinkle to use external speakers for ring tone, and headset f