[pulseaudio-discuss] Automatic selection of an audio sink depending on value of ENV variable
Colin Guthrie
gmane at colin.guthr.ie
Mon Oct 19 03:13:32 PDT 2009
'Twas brillig, and Maarten Bosmans at 19/10/09 11:10 did gyre and gimble:
> 2009/10/19 Leszek Koltunski <leszek at koltunski.pl>:
>> Now, I would make me one happy duck if I could somehow tell Pulse to
>> automatically route audio to hw:1.0 whenever I am working on the TV, that
>> is, whenever DISPLAY is "1.0".
>
> It looks like PULSE_SINK environment variable is exactly what you need, see:
> http://pulseaudio.org/wiki/FAQ#WhatenvironmentvariablesdoesPulseAudiocareabout
As noted in my reply, the x11 property is even better :)
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