On Jan 12, 2008 6:35 AM, Erik Slagter <<a href="mailto:erik@slagter.name">erik@slagter.name</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Ritesh Kumar wrote:<br><br>> What was problem you wanted to solve... (network audio?). May be I can help.<br><br></div>I had posted here a few weeks ago. I have an amplifier with USB terminal<br>(and accompanying DAC) that removes the USB DAC (power down) when
<br>powered down. This is a problem for me because I need to supply both the<br>amplifier and the internal soundcard with audio 24/7. When the amplifier<br>'s USB DAC goes away, the device is removed by alsa, which most programs
<br>don't like. My thought was to use PulseAudio to solve this, but<br>PulseAudio does indeed notice that the USB DAC goes away, and actually<br>even re-enables it when it comes back, but never inserts it back into<br>
the "combined" device.<br><br>Now I've solved it using mpd (which can drive multiple outputs and<br>enable/disable these at well) and udev (to enable/disable the USB DAC in<br>mpd when powering up/down the amplifier). Works nicely.
<br></blockquote><div><br>This does seem to be something pulseaudio should do right... to bad that didn't work that well. I remember seeing a video of a demo of pulseaudio showing the connection and disconnection of an audio device and how a "send-to-all" virtual sink worked properly. However, the demo was with a GUI so I don't remember what commands could be given to pacmd to achieve the same effect.
<br><br>Good to know that you were able to solve the problem using mpd/udev.<br><br>_r<br> </div></div>