소스 검색

Fixed documentation for SDL_SetAudioStreamGetCallback()

Fixes https://github.com/libsdl-org/SDL/issues/10633
Sam Lantinga 1 년 전
부모
커밋
138f3a3c91
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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.
  * Setting a NULL function turns off the callback.
  *
  *
  * \param stream the audio stream to set the new callback on.
  * \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.
  *                 stream.
  * \param userdata an opaque pointer provided to the callback for its own
  * \param userdata an opaque pointer provided to the callback for its own
  *                 personal use.
  *                 personal use.