[MPlayer-dev-eng] audio resampling
Anders Johansson
ajh at atri.curtin.edu.au
Tue Jan 22 04:35:36 CET 2002
I'll have a look at it tonight (my night that is :), //Anders
> Hi,
>
> > > so not really soundcard, i write lpcm output to mpeg file.
> > > (actually it's sent to the DVB card)
> > >
> > > it has outburst of 2000 bytes, instead of 2^n like oss. maybe it's the problem.
> > > i've put some printfs, and saw that play() function is normally called with
> > > len of 6000 or 8000 bytes.
> >
> > I am implementing a buffer in ao_plugin to fix this problem (Atmos has
> > this problem as well), but there is probably an error in the
> > ao_mpegpes as well otherwise it wouldn't sig11 (I hope :). My guess is
> i don't think so. ao_mpegpes calls lpcm writer, and it runs a loop, like:
> while(len>=4){
> ... (write packet)
> len-=2000;
> }
>
> > that len isn't truncated properly when the driver is getting too much
> > or too little data. Are you running the CVS version of ao_mpegps or
> > have you made changes?
> i've just commited my new changes, but when i tried, it was unchanged cvs.
>
>
> A'rpi / Astral & ESP-team
>
> --
> mailto:arpi at thot.banki.hu
> http://esp-team.scene.hu
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
More information about the MPlayer-dev-eng
mailing list