1
mirror of https://github.com/mpv-player/mpv synced 2024-11-18 21:16:10 +01:00

disable multichannel mode, it never worked reliable

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19841 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
faust3 2006-09-15 16:26:25 +00:00
parent 8fce694d52
commit 3624850220

View File

@ -159,6 +159,11 @@ static int init(int rate,int channels,int format,int flags)
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;