[pulseaudio-discuss] Permanently binding an application to a sink?

Colin Guthrie gmane at colin.guthr.ie
Mon Nov 3 15:33:29 PST 2008


timo wrote:
> Hi,
> 
> I'm wondering if there is any way to permanently bind an application
> to a specified sink.
> 
> I have 2 audio output devices; a built-in soundcard which is connected
> to my desk speakers,
> and a high-end external USB-audio device that is connected to my main
> amp and living room
> speakers. What i'm looking for is way to always route my mp3/flac
> player applications
> (rhythmbox, audacious, etc) to the external audio device, while all
> other applications use
> the default sink, which would in this case be the internal sound card.
> 
> At the moment i'm pointing the streams to the appropriate sink using
> pavucontrol, but i
> have to do that every time the stream starts, otherwise it will revert
> back to the default sink.
> So i'm basically looking for a way to make these choices permanent, any ideas?

Hmmm, what version are you using?

Pulse should remember the device you've moved a stream to for a given 
application (in older versions this is handled by module-volume-restore 
- a bad name!, but in newer versions it's done by IIRC 
module-stream-restore)

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
   Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
   Mandriva Linux Contributor [http://www.mandriva.com/]
   PulseAudio Hacker [http://www.pulseaudio.org/]
   Trac Hacker [http://trac.edgewall.org/]




More information about the pulseaudio-discuss mailing list