Re: [Alsa-user] USB DAC
Brought to you by:
perex
From: Clemens L. <cla...@go...> - 2012-01-23 08:15:55
|
Jeffrey Barish wrote: > A USB DAC may or may not be connected to my system. When it is > connected, sound should come out the USB DAC. When it is not > connected, sound should come out the internal DAC. AFAIK PulseAudio can be configured to do this automatically, even when a stream is currently being played. > The solution that I implemented uses udev to detect when the USB DAC > is connected/disconnected. udev runs a script when it detects > a change. The script writes ~/.asoundrc > [...] > So, what is different about restarting the daemon from the command > line versus restarting it from the script. Maybe ~ points to another user's home directory, or you're using a udev event that happens before the USB sound device is registered. Regards, Clemens |