[Mplayer-dev-eng] Feature request: audio downsampling

Hongli Lai hongli at telekabel.nl
Fri Aug 24 20:21:02 CEST 2001


On 2001.08.24 19:34:09 +0200 Christoph Lampert wrote:
> Hi,
> That would be easier if the search function worked!
> But I found it in my sent-mail-box.
> 
> Anyhow, don't expect much from it, on my slow machine it didn't gain more
> 
> than 1-2% .

I have a Pentium 233...


> 
> So this is Arpi's old answer:
> 
> >------------------------------------------------------
> >> A while ago, I asked about a feature of
> >>
> >> 1) changing samplingrate of MP3 streams (e.g from 44100 to 22050 kHz,
> only
> >> supported and easy ratios, like 1/2 or so) at play
> >>
> >> 2) downmixing to mono (or playing only single channel in joint-stereo)
> >
> >yes, i did it...
> >in mp3lib/sr1.c change:
> >    fr.down_sample=0; //2;
> >to value of 1 (1:2) or 2 (1:4) downsampling of freq.
> >
> >for getting mono output, change the last parameter of MP3_Decode()
> >in dec_audio.c from -1 to 1 (left only) or 2(right only) or 3 (mixed)
> >

dec_audio.c does not exists anymore. And neither does MP3_Decode().


_______________________________________________
Mplayer-dev-eng mailing list
Mplayer-dev-eng at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list