[pulseaudio-discuss] Device name of audio headset in pulseaudio?

Andrew Burgess aab at cichlid.com
Mon Jun 20 08:31:47 PDT 2011


On 06/20/2011 07:44:40 AM, Colin Beckingham wrote:

> From time to time I use a Bluetooth headset which connects via a  
> dongle adapter. PA detects it fine and allows me to use it with many  
> applications.
> 
> One application in particular needs me to tell it using the AUDIODEV  
> environment variable what device I am using. With the 3 constantly  
> attached devices this is no problem (AUDIODEV=/dev/dsp0, etc.).  
> However I have not found a way of associating a /dev/??? entry with  
> the temporary BT headsets. As far as I can see the list of devices in  
> /dev does not change when PA picks up the headset. Is this a PA issue  
> or should I be looking elsewhere?

if you run udev then look at /dev/snd/by-id
the symlink name is always the same for a given piece of hardware
you'll have to use a little script magic to change controlCN to dspM


More information about the pulseaudio-discuss mailing list