[MPlayer-advusers] Audio shuttering with Alsa and dmix since r28220

Christian Birchinger joker at netswarm.net
Thu Jan 15 20:36:16 CET 2009


On Thu, Jan 15, 2009 at 09:27:59PM +0200, Uoti Urpala wrote:
> On Thu, 2009-01-15 at 20:06 +0100, Christian Birchinger wrote:
> > Hello
> > 
> > The SVN r28220 revision added a bug here which causes audio shuttering
> > with Alsa using dmix under certain conditions (described below).
> 
> I think that commit should have used ao_data.bps as the divisor instead
> of ao_data.samplerate. Does it work better if you change that?

This works:

sleep_time = (ao_data.outburst - bytes_to_write) * 1000 / ao_data.bps;




More information about the MPlayer-advusers mailing list