Differences between version 2 and predecessor to the previous major change of SDL_LoadWAV(3).
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Monday, June 3, 2002 6:53:45 pm | by perry | Revert |
Older page: | version 1 | Last edited on Monday, June 3, 2002 6:53:45 pm | by perry | Revert |
@@ -15,10 +15,10 @@
__#include __
-__SDL_AudioSpec *SDL_LoadWAV__(__const char *file,
-SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32
+__SDL_!
AudioSpec *SDL_LoadWAV__(__const char *file,
+SDL_!
AudioSpec *spec, Uint8 **audio_buf, Uint32
*audio_len__);
!!DESCRIPTION
@@ -26,9 +26,9 @@
into memory.
If this function succeeds, it returns the given
-__SDL_AudioSpec__, filled with the audio data format of
+__SDL_!
AudioSpec__, filled with the audio data format of
the wave data, and sets __audio_buf__ to a
__malloc__'d buffer containing the audio data, and sets
__audio_len__ to the length of that audio buffer, in
bytes. You need to free the audio buffer with
@@ -41,15 +41,15 @@
IMA-ADPCM WAVE files are supported.
!!EXAMPLE
-SDL_AudioSpec wav_spec;
+SDL_!
AudioSpec wav_spec;
Uint32 wav_length;
Uint8 *wav_buffer;
/* Load the WAV */
if( SDL_LoadWAV(
!!SEE ALSO
-__SDL_AudioSpec__, __SDL_OpenAudio__,
+__SDL_!
AudioSpec__, __SDL_!
OpenAudio__,
__SDL_FreeWAV__
----