mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-28 20:09:38 +08:00
SDL_audio.h: Fixed typos in docs.
This commit is contained in:
@@ -1717,7 +1717,7 @@ typedef void (SDLCALL *SDL_AudioStreamCallback)(void *userdata, SDL_AudioStream
|
|||||||
* audio to the stream during this call; if needed, the request that triggered
|
* audio to the stream during this call; if needed, the request that triggered
|
||||||
* this callback will obtain the new data immediately.
|
* this callback will obtain the new data immediately.
|
||||||
*
|
*
|
||||||
* The callback's `approx_request` argument is roughly how many bytes of
|
* The callback's `additional_amount` argument is roughly how many bytes of
|
||||||
* _unconverted_ data (in the stream's input format) is needed by the caller,
|
* _unconverted_ data (in the stream's input format) is needed by the caller,
|
||||||
* although this may overestimate a little for safety. This takes into account
|
* although this may overestimate a little for safety. This takes into account
|
||||||
* how much is already in the stream and only asks for any extra necessary to
|
* how much is already in the stream and only asks for any extra necessary to
|
||||||
@@ -1762,7 +1762,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetAudioStreamGetCallback(SDL_AudioStream *
|
|||||||
* The callback can (optionally) call SDL_GetAudioStreamData() to obtain audio
|
* The callback can (optionally) call SDL_GetAudioStreamData() to obtain audio
|
||||||
* from the stream during this call.
|
* from the stream during this call.
|
||||||
*
|
*
|
||||||
* The callback's `approx_request` argument is how many bytes of _converted_
|
* The callback's `additional_amount` argument is how many bytes of _converted_
|
||||||
* data (in the stream's output format) was provided by the caller, although
|
* data (in the stream's output format) was provided by the caller, although
|
||||||
* this may underestimate a little for safety. This value might be less than
|
* this may underestimate a little for safety. This value might be less than
|
||||||
* what is currently available in the stream, if data was already there, and
|
* what is currently available in the stream, if data was already there, and
|
||||||
|
|||||||
Reference in New Issue
Block a user