paulster wrote: 
> It does go a bit mad if you disconnect the device, which isn't ideal.
> 
> 
> That would be useful, especially if it was happy to resume playing when
> the original device was reconnected.

Can you post what you actually see when you disconnect and reconnect a
device as I believe, that this works already - at least with my usb dac.
I will look to see if I can hide some of the error messages, but
there's nothing I can do about some of them if you see ALSA lib messages
as these are from the alsa library:


Code:
--------------------
    
  ALSA lib pcm.c:7342:(snd_pcm_recover) cannot recovery from underrun, prepare 
failed: Broken pipe
  [19:00:49.723340] output_thread:589 XRUN recover failed: Broken pipe
  ALSA lib pcm.c:7342:(snd_pcm_recover) cannot recovery from underrun, prepare 
failed: Broken pipe
  [19:00:49.723367] output_thread:589 XRUN recover failed: Broken pipe
  ALSA lib pcm.c:7342:(snd_pcm_recover) cannot recovery from underrun, prepare 
failed: Broken pipe
  [19:00:49.723393] output_thread:589 XRUN recover failed: Broken pipe
  ALSA lib pcm.c:7342:(snd_pcm_recover) cannot recovery from underrun, prepare 
failed: Broken pipe
  [19:00:49.723419] output_thread:589 XRUN recover failed: Broken pipe
  ALSA lib pcm.c:7342:(snd_pcm_recover) cannot recovery from underrun, prepare 
failed: Broken pipe
  [19:00:49.723445] output_thread:589 XRUN recover failed: Broken pipe
  ALSA lib pcm.c:7342:(snd_pcm_recover) cannot recovery from underrun, prepare 
failed: Broken pipe
  [19:00:49.723471] output_thread:589 XRUN recover failed: Broken pipe
  ALSA lib pcm.c:7342:(snd_pcm_recover) cannot recovery from underrun, prepare 
failed: Broken pipe
  [19:00:49.723497] output_thread:589 XRUN recover failed: Broken pipe
  ALSA lib pcm.c:7342:(snd_pcm_recover) cannot recovery from underrun, prepare 
failed: Broken pipe
  [19:00:49.727172] output_thread:589 XRUN recover failed: Broken pipe
  [19:00:49.727252] alsa_close:139 snd_pcm_close error: No such device
  ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card
  ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card
  ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card
  
--------------------


------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to