mirror of
https://github.com/fltk/fltk.git
synced 2026-06-06 00:22:42 +08:00
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:
+1
-1
@@ -277,7 +277,7 @@ SudokuSound::SudokuSound() {
|
|||||||
header_ptr->dwFlags = 0;
|
header_ptr->dwFlags = 0;
|
||||||
header_ptr->dwLoops = 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;
|
!= MMSYSERR_NOERROR) return;
|
||||||
|
|
||||||
waveOutPrepareHeader(device, header_ptr, sizeof(WAVEHDR));
|
waveOutPrepareHeader(device, header_ptr, sizeof(WAVEHDR));
|
||||||
|
|||||||
Reference in New Issue
Block a user