[Alsa-devel] Re: [Fwd: Re: [MPlayer-dev-eng] AV out of sync with "-ao alsa" in gmplayer, mplayer works ok]

Lee Revell rlrevell at joe-job.com
Tue Jan 18 21:39:38 CET 2005

On Tue, 2005-01-18 at 21:23 +0100, Reimar Döffinger wrote:
> Hi,
> On Thu, Jan 13, 2005 at 03:11:15PM -0500, Lee Revell wrote:
> > Are there any plans to fix the ALSA output so that it doesn't reset the
> > stream with every xrun?  Since you don't use a realtime thread to handle
> > the audio there are certain to be some xruns, for example whenever using
> > the GUI controls in any way or moving the mouse.
> xruns just should not happen. Ignoring them seems to be the very wrong
> way. Also a real-time thread should not be necessary just to avoid xruns
> when only moving the mouse IMHO.
> Maybe you can just increase the buffer size somehow? At least for
> MPlayer a big buffer should cause no problems.

Well ignoring xruns is exactly what OSS does, and it works fine when I
use OSS emulation.  At the very least, the stream should not be reset on
each xrun.

Or, how about using a bigger buffer by default?


More information about the MPlayer-dev-eng mailing list