[pulseaudio-discuss] Automatic selection of an audio sink depending on value of ENV variable

Maarten Bosmans mkbosmans at gmail.com
Mon Oct 19 03:10:26 PDT 2009


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

Maarten



More information about the pulseaudio-discuss mailing list