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

Stephen Davies steve at daviesfam.org
Mon Nov 26 00:48:22 CET 2001


Hi,

Trying to merge my multi-channel with the recent libao2 changes, I notice:

  ao_data.bps=(channels+1)*rate;

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




More information about the MPlayer-dev-eng mailing list