[gstreamer-bugs] [Bug 349015] [sunaudio] open source with O_NONBLOCK

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Aug 10 21:18:51 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=349015
 GStreamer | gst-plugins-good | Ver: HEAD CVS


jerry tan changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jerry.tan at sun.com




------- Comment #6 from jerry tan  2006-08-11 04:18 UTC -------
     The device may alternatively be set to  a
     non-blocking  mode,  in  which case read() completes immedi-
     ately, but may return fewer bytes than requested.

according to my testcase, it really lost data.
so I make the patch to remove it.

And for the hang issue, 
I have verified that two process open /dev/audio device wont hang, 
only when a process open it twice, it will hang.
to avoid it, I set its properties as AUDIO_MIXER_MULTIPLE_OPEN


-- 
Configure bugmail: http://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