mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-31 00:47:39 +00:00
Updated the documentation for SDL_LoadWAV_RW()
This commit is contained in:
parent
435e7ce663
commit
b45a0d9016
1 changed files with 1 additions and 2 deletions
|
@ -1281,8 +1281,7 @@ extern DECLSPEC int SDLCALL SDL_SetAudioPostmixCallback(SDL_AudioDeviceID devid,
|
||||||
* audio data allocated by the function is written to `audio_buf` and its
|
* audio data allocated by the function is written to `audio_buf` and its
|
||||||
* length in bytes to `audio_len`. The SDL_AudioSpec members `freq`,
|
* length in bytes to `audio_len`. The SDL_AudioSpec members `freq`,
|
||||||
* `channels`, and `format` are set to the values of the audio data in the
|
* `channels`, and `format` are set to the values of the audio data in the
|
||||||
* buffer. The `samples` member is set to a sane default and all others are
|
* buffer.
|
||||||
* set to zero.
|
|
||||||
*
|
*
|
||||||
* It's necessary to use SDL_free() to free the audio data returned in
|
* It's necessary to use SDL_free() to free the audio data returned in
|
||||||
* `audio_buf` when it is no longer used.
|
* `audio_buf` when it is no longer used.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue