[gstreamer-bugs] [Bug 559111] ALSA sink hangs on USB audio device unplug while playing

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Nov 3 09:09:54 PST 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=559111

  GStreamer | gst-plugins-base | Ver: 0.10.21




------- Comment #4 from Matthias Kretz  2008-11-03 17:09 UTC -------
Careful with fully switching to non-blocking unconditionally. I've seen libxine
failing to play the last audio frames because of a non-blocking snd_pcm_drain
and snd_pcm_close.

AFAICS you're not using snd_pcm_drain, so gstreamer might not need blocking
mode at all, but as I don't know how the end of a stream and closing of the
output is handled I thought I point this out so that you can check it doesn't
introduce regressions...

I also just tested your patch and so far it seems to work alright.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=559111.




More information about the Gstreamer-bugs mailing list