diff options
author | 2006-09-15 16:26:25 +0000 | |
---|---|---|
committer | 2006-09-15 16:26:25 +0000 | |
commit | 3624850220f21e9f51b6e185285f7ec05d14c9e7 (patch) | |
tree | 0b67c7d3abd814fc1af6952f706baa46eb2991ba | |
parent | 8fce694d5264d7b66619f2cbdcbe49f9cf808969 (diff) |
disable multichannel mode, it never worked reliable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19841 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libao2/ao_win32.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libao2/ao_win32.c b/libao2/ao_win32.c index 526d8f4c17..1f9a5e9663 100644 --- a/libao2/ao_win32.c +++ b/libao2/ao_win32.c @@ -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; |