Procházet zdrojové kódy

Fixed documentation for SDL_SetAudioStreamGetCallback()

Fixes https://github.com/libsdl-org/SDL/issues/10633
Sam Lantinga před 1 rokem
rodič
revize
138f3a3c91
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      include/SDL3/SDL_audio.h

+ 1 - 1
include/SDL3/SDL_audio.h

@@ -1557,7 +1557,7 @@ typedef void (SDLCALL *SDL_AudioStreamCallback)(void *userdata, SDL_AudioStream
  * Setting a NULL function turns off the callback.
  *
  * \param stream the audio stream to set the new callback on.
- * \param callback the new callback function to call when data is added to the
+ * \param callback the new callback function to call when data is requested from the
  *                 stream.
  * \param userdata an opaque pointer provided to the callback for its own
  *                 personal use.