Mercurial > sdl-ios-xcode
comparison src/audio/windx5/SDL_dx5audio.c @ 469:a1284fd544aa
Removed unused function
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 24 Aug 2002 17:30:49 +0000 |
parents | a6fa62b1be09 |
children | b8d311d90021 |
comparison
equal
deleted
inserted
replaced
468:0b0c2e63eb27 | 469:a1284fd544aa |
---|---|
414 IDirectSound_Release(sound); | 414 IDirectSound_Release(sound); |
415 sound = NULL; | 415 sound = NULL; |
416 } | 416 } |
417 } | 417 } |
418 | 418 |
419 #ifdef USE_PRIMARY_BUFFER | |
419 /* This function tries to create a primary audio buffer, and returns the | 420 /* This function tries to create a primary audio buffer, and returns the |
420 number of audio chunks available in the created buffer. | 421 number of audio chunks available in the created buffer. |
421 */ | 422 */ |
422 static int CreatePrimary(LPDIRECTSOUND sndObj, HWND focus, | 423 static int CreatePrimary(LPDIRECTSOUND sndObj, HWND focus, |
423 LPDIRECTSOUNDBUFFER *sndbuf, WAVEFORMATEX *wavefmt, Uint32 chunksize) | 424 LPDIRECTSOUNDBUFFER *sndbuf, WAVEFORMATEX *wavefmt, Uint32 chunksize) |
487 IDirectSoundBuffer_Release(*sndbuf); | 488 IDirectSoundBuffer_Release(*sndbuf); |
488 return(-1); | 489 return(-1); |
489 } | 490 } |
490 return(numchunks); | 491 return(numchunks); |
491 } | 492 } |
493 #endif /* USE_PRIMARY_BUFFER */ | |
492 | 494 |
493 /* This function tries to create a secondary audio buffer, and returns the | 495 /* This function tries to create a secondary audio buffer, and returns the |
494 number of audio chunks available in the created buffer. | 496 number of audio chunks available in the created buffer. |
495 */ | 497 */ |
496 static int CreateSecondary(LPDIRECTSOUND sndObj, HWND focus, | 498 static int CreateSecondary(LPDIRECTSOUND sndObj, HWND focus, |