Skip to content

Commit b512735

Browse files
committed
Sync SDL3 wiki -> header
[ci skip]
1 parent 988c0be commit b512735

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

include/SDL3/SDL_audio.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1460,7 +1460,8 @@ typedef void (SDLCALL *SDL_AudioStreamDataCompleteCallback)(void *userdata, cons
14601460
*
14611461
* An optional callback may be provided, which is called when the stream no
14621462
* longer needs the data. Once this callback fires, the stream will not access
1463-
* the data again.
1463+
* the data again. This callback will fire for any reason the data is no
1464+
* longer needed, including clearing or destroying the stream.
14641465
*
14651466
* Note that there is still an allocation to store tracking information, so
14661467
* this function is more efficient for larger blocks of data. If you're
@@ -1469,7 +1470,7 @@ typedef void (SDLCALL *SDL_AudioStreamDataCompleteCallback)(void *userdata, cons
14691470
*
14701471
* \param stream the stream the audio data is being added to.
14711472
* \param buf a pointer to the audio data to add.
1472-
* \param len the number of bytes to write to the stream.
1473+
* \param len the number of bytes to add to the stream.
14731474
* \param callback the callback function to call when the data is no longer
14741475
* needed by the stream. May be NULL.
14751476
* \param userdata an opaque pointer provided to the callback for its own

0 commit comments

Comments
 (0)