[Bug 774819] alsasink: do wait in write() only if really needed

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Nov 23 12:20:29 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=774819

--- Comment #4 from Petr Kulhavy <brain at jikos.cz> ---
I've done some tracing on a live stream and it turned out that the first write
systematically returns -EAGAIN on every call of alsasink_write(). 

This would be OK if the source was e.g. a file, but on a live stream I can't
explain this behaviour. I would expect that the -EAGAIN would be more or less
stochastic, depending on when the audio packet arrives.

So under these circumstances it makes no sense to apply my patch. It makes it
actually worse, instead of 2 syscalls there are always 3 :-)

-- 
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