|
@@ -1762,13 +1762,13 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetAudioStreamGetCallback(SDL_AudioStream *
|
|
|
* The callback can (optionally) call SDL_GetAudioStreamData() to obtain audio
|
|
|
* from the stream during this call.
|
|
|
*
|
|
|
- * 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
|
|
|
- * 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
|
|
|
- * might be less than the caller provided if the stream needs to keep a buffer
|
|
|
- * to aid in resampling. Which means the callback may be provided with zero
|
|
|
- * bytes, and a different amount on each call.
|
|
|
+ * 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 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 might be less than the caller provided if the stream
|
|
|
+ * needs to keep a buffer to aid in resampling. Which means the callback may
|
|
|
+ * be provided with zero bytes, and a different amount on each call.
|
|
|
*
|
|
|
* The callback may call SDL_GetAudioStreamAvailable to see the total amount
|
|
|
* currently available to read from the stream, instead of the total provided
|