diff options
Diffstat (limited to 'libao2')
-rw-r--r-- | libao2/ao_win32.c | 2 |
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"); |