Re: USB DAC

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

 



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

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux