[gst-devel] [PATCH] alsa frequent xruns

Giuliano Pochini pochini at shiny.it
Tue Jul 6 00:58:13 CEST 2004


On 04-Jul-2004 Benjamin Otte wrote:
> I'm not sure why this fixes something or especially what the problem is in the
> first place, but since I don't see a good reason to not apply that patch either,
> I'll just commit it.

I'm pretty sure that the xrun recovery part should execute only
if ALSA reports that an xrun occurred. Expecially if the recovery
if performed stopping and restarting the substream (it surely
causes a skip) instead of calling snd_pcm_prepare(). I also tried
to replace start/stop with it but it hangs at the first xrun.
There are still too many things I don't know.


--
Giuliano.




More information about the gstreamer-devel mailing list