[gstreamer-bugs] [Bug 507527] Mixer eats 100% cpu when audio device goes away

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Oct 2 15:02:01 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=507527
  GStreamer | gst-plugins-base | 0.10.x

Alex Riesen <raa.lkml> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |raa.lkml at gmail.com

--- Comment #10 from Alex Riesen <raa.lkml at gmail.com> 2010-10-02 22:01:58 UTC ---
This may be also an error in ALSA library: even after modification of gstreamer
to pass all returned poll events to ALSA's snd_mixer_handle_events (see the
attached patches), the file descriptor which went invalid with the disconnected
device still seems to be returned by snd_mixer_poll_descriptors, which causes
poll to return immediately with POLLNVAL|POLLERR (and POLLIN, of course).

Maybe, as a sensible workaround (I can imagine the reconfiguration in ALSA
to be very complex), reinitialize (as in: close and reopen) the mixer data
structures?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list