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

Stephen Davies steve at daviesfam.org
Mon Nov 26 09:36:32 CET 2001


On Mon, 26 Nov 2001, Anders Johansson wrote:

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

Says who?  If that's true, then there's a different bug.  When channels is
put into ao_data.channels, 1 is subtracted - so -1 and 0 will be passed to
SNDCTL_DSP_STEREO

Can't both be right.

Steve





More information about the MPlayer-dev-eng mailing list