[MPlayer-dev-eng] ao_oss 1.12 - bug?

Anders Johansson ajh at atri.curtin.edu.au
Mon Nov 26 02:48:14 CET 2001


> Hi,
> 
> Trying to merge my multi-channel with the recent libao2 changes, I notice:
> 
>   ao_data.bps=(channels+1)*rate;

mono=0
stereo=1

//Anders

> 
> in ao_oss init().
> 
> Why the +1?  Is this intended?  channels hasn't been decremented - is this
> a cut-and-paste error from previous use of ao_data.channels which is
> channels-1?
> 
> Steve
> 
> _______________________________________________
> 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