Sync SDL3 wiki -> header

[ci skip]
This commit is contained in:
SDL Wiki Bot
2025-03-20 19:53:05 +00:00
parent 10072bb07d
commit 67b4c3a156
+7 -7
View File
@@ -1762,13 +1762,13 @@ 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 `additional_amount` argument is how many bytes of _converted_ * The callback's `additional_amount` argument is how many bytes of
* data (in the stream's output format) was provided by the caller, although * _converted_ data (in the stream's output format) was provided by the
* this may underestimate a little for safety. This value might be less than * caller, although this may underestimate a little for safety. This value
* what is currently available in the stream, if data was already there, and * might be less than what is currently available in the stream, if data was
* might be less than the caller provided if the stream needs to keep a buffer * already there, and might be less than the caller provided if the stream
* to aid in resampling. Which means the callback may be provided with zero * needs to keep a buffer to aid in resampling. Which means the callback may
* bytes, and a different amount on each call. * be provided with zero bytes, and a different amount on each call.
* *
* The callback may call SDL_GetAudioStreamAvailable to see the total amount * The callback may call SDL_GetAudioStreamAvailable to see the total amount
* currently available to read from the stream, instead of the total provided * currently available to read from the stream, instead of the total provided