Mercurial > mplayer.hg
changeset 14529:cc9c088305d9
WAVE_FORMAT_DIRECT seems to cause problems with certain os/driver combinations and seems to be useless anyway
author | faust3 |
---|---|
date | Mon, 17 Jan 2005 21:19:59 +0000 |
parents | 860f06087aac |
children | ea8a371b7d8d |
files | libao2/ao_win32.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libao2/ao_win32.c Mon Jan 17 20:57:48 2005 +0000 +++ b/libao2/ao_win32.c Mon Jan 17 21:19:59 2005 +0000 @@ -203,7 +203,7 @@ //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");