[MPlayer-dev-eng] [PATCH]ao_arts

Felix Buenemann atmosfear at users.sourceforge.net
Fri Jul 26 04:47:56 CEST 2002


On Thursday 25 July 2002 21:28, Szombathelyi György wrote:
> 2002. július 25. 05:54 dátummal Felix Buenemann ezt írta:
> > On Thursday 25 July 2002 00:35, Szombathelyi Gy|rgy wrote:
> > > Hi! I created this patch for ao_arts because of the video
> > > playback is very choppy with it. Now it's significantly
> > > better (at least at my machine), especially when you set
> > > the buffer size very small. (I set it to 8 ms and it's
> > > working very well). I uploaded it on the ftp server
> > > incoming/ao_arts.patch. (Sorry, but with this extranet.hu
> > > e-mailing is a pain)
> >
> > hmm, are you sure about the get_space() and get_delay() implementations?
> > If they are faulty playback will be jerky.
> >
> > get_space: return how many bytes can be played without blocking
> > get_delay: return delay in seconds between first and last sample in
> > buffer
>
> It works better for me than the previus version. (It was almost unusable -
> the video playing was very choppy, the same when I played a video with SDL
> and arts)
> get_space: I didn't changed it, but it's only a single call to artsc
> get_delay: the former returned the maximum delay, now I try to calculate
> it: (buffersize-get_space)/bps
> However if someone else can test it, it would be good.
I checked it again and your stuff seems to be ok, commited to cvs, thanks.

-- 
Best Regards,
        Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________



More information about the MPlayer-dev-eng mailing list