From 05d61f2f62a8d3c00b291772da8a0c90255bb2e2 Mon Sep 17 00:00:00 2001 From: faust3 Date: Mon, 17 Jan 2005 21:19:59 +0000 Subject: [PATCH] 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 --- libao2/ao_win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");