summaryrefslogtreecommitdiffstats
path: root/libao2
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-01-17 21:19:59 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-01-17 21:19:59 +0000
commit05d61f2f62a8d3c00b291772da8a0c90255bb2e2 (patch)
tree82b396de19a7166e78c6730e9bfb9eb0f896942c /libao2
parent97372dab4f0c500cfef3522b5359a313dfa627ca (diff)
downloadmpv-05d61f2f62a8d3c00b291772da8a0c90255bb2e2.tar.bz2
mpv-05d61f2f62a8d3c00b291772da8a0c90255bb2e2.tar.xz
WAVE_FORMAT_DIRECT seems to cause problems with certain os/driver combinations and seems to be useless anyway
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14530 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2')
-rw-r--r--libao2/ao_win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libao2/ao_win32.c b/libao2/ao_win32.c
index 84bef9435a..a48419f288 100644
--- a/libao2/ao_win32.c
+++ b/libao2/ao_win32.c
@@ -203,7 +203,7 @@ static int init(int rate,int channels,int format,int flags)
//open sound device
//WAVE_MAPPER always points to the default wave device on the system
- result = waveOutOpen(&hWaveOut,WAVE_MAPPER,(WAVEFORMATEX*)&wformat,(DWORD_PTR)waveOutProc,0,CALLBACK_FUNCTION|WAVE_FORMAT_DIRECT);
+ result = waveOutOpen(&hWaveOut,WAVE_MAPPER,(WAVEFORMATEX*)&wformat,(DWORD_PTR)waveOutProc,0,CALLBACK_FUNCTION);
if(result == WAVERR_BADFORMAT)
{
mp_msg(MSGT_AO, MSGL_ERR,"ao_win32: format not supported switching to default\n");