Automatic selection of an audio sink depending on value of ENV variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux