diff options
| -rw-r--r-- | test/sudoku.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sudoku.cxx b/test/sudoku.cxx index 6cb271f56..d57bbceff 100644 --- a/test/sudoku.cxx +++ b/test/sudoku.cxx @@ -277,7 +277,7 @@ SudokuSound::SudokuSound() { header_ptr->dwFlags = 0; header_ptr->dwLoops = 0; - if (waveOutOpen(&device, WAVE_MAPPER, &format, NULL, NULL, WAVE_ALLOWSYNC) + if (waveOutOpen(&device, WAVE_MAPPER, &format, 0, 0, WAVE_ALLOWSYNC) != MMSYSERR_NOERROR) return; waveOutPrepareHeader(device, header_ptr, sizeof(WAVEHDR)); |
