# HG changeset patch # User faust3 # Date 1158337585 0 # Node ID 807cdfafa0cecd83285d9b1fd023ac421ee20fb8 # Parent 264adb956f2961992452c52c8f03a11272fc45d4 disable multichannel mode, it never worked reliable diff -r 264adb956f29 -r 807cdfafa0ce libao2/ao_win32.c --- a/libao2/ao_win32.c Fri Sep 15 15:02:11 2006 +0000 +++ b/libao2/ao_win32.c Fri Sep 15 16:26:25 2006 +0000 @@ -159,6 +159,11 @@ mp_msg(MSGT_AO, MSGL_V,"ao_win32: format %s not supported defaulting to Signed 16-bit Little-Endian\n",af_fmt2str_short(format)); format=AF_FORMAT_S16_LE; } + + // FIXME multichannel mode is buggy + if(channels > 2) + channels = 2; + //fill global ao_data ao_data.channels=channels; ao_data.samplerate=rate;