[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mplayer-users
Subject:    Re: [MPlayer-users] Latest SVN audio sync & high cpu usage with
From:       Reimar =?iso-8859-1?Q?D=F6ffinger?= <Reimar.Doeffinger () gmx ! de>
Date:       2009-09-29 14:23:59
Message-ID: 20090929142359.GA3019 () 1und1 ! de
[Download RAW message or body]

On Tue, Sep 29, 2009 at 03:23:52PM +0200, Jesús Guerrero wrote:
> On Tue, 29 Sep 2009 10:09:39 +0200, Reimar Döffinger
> <Reimar.Doeffinger@gmx.de> wrote:
> > 3) add the patch even further below and tell me what changes (if
> > anything)?
> > 
> > Index: libao2/ao_alsa.c
> > ===================================================================
> > --- libao2/ao_alsa.c    (revision 29731)
> > +++ libao2/ao_alsa.c    (working copy)
> > @@ -763,8 +763,10 @@
> >  
> >  static int play(void* data, int len, int flags)
> >  {
> > -  int num_frames = len / bytes_per_sample;
> > +  int num_frames;
> >    snd_pcm_sframes_t res = 0;
> > +  len = len / ao_data.outburst * ao_data.outburst;
> > +  num_frames = len / bytes_per_sample;
> >  
> >    //mp_msg(MSGT_AO,MSGL_ERR,"alsa-play: frames=%i,
> >    //len=%i\n",num_frames,len);
> 
> Attached output as patch2.output.txt.bz2, this patch solves the problem
> completely, in the attached log, the A-V sync is always zero :)

Ok, so it is that old issue then. I would think it really shouldn't happen
with all your files then, useless ALSA extremely dislikes when it
doesn't get a full outburst.
_______________________________________________
MPlayer-users mailing list
MPlayer-users@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic