Use 0 instead of NULL in waveOutOpen() call...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4710 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
0e14d5ba18
commit
31d3e28bba
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user