mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-02 15:47:31 +08:00
SDL_GetAudioStreamAvailable and SDL_GetAudioStreamAvailable return error codes
This commit is contained in:
committed by
Anonymous Maarten
parent
6e6c2b8e7d
commit
8714de9f46
@@ -1309,7 +1309,8 @@ extern SDL_DECLSPEC int SDLCALL SDL_GetAudioStreamData(SDL_AudioStream *stream,
|
|||||||
* clamped.
|
* clamped.
|
||||||
*
|
*
|
||||||
* \param stream the audio stream to query.
|
* \param stream the audio stream to query.
|
||||||
* \returns the number of converted/resampled bytes available.
|
* \returns the number of converted/resampled bytes available or a negative
|
||||||
|
* error code on failure; call SDL_GetError() for more information.
|
||||||
*
|
*
|
||||||
* \threadsafety It is safe to call this function from any thread.
|
* \threadsafety It is safe to call this function from any thread.
|
||||||
*
|
*
|
||||||
@@ -1341,7 +1342,8 @@ extern SDL_DECLSPEC int SDLCALL SDL_GetAudioStreamAvailable(SDL_AudioStream *str
|
|||||||
* clamped.
|
* clamped.
|
||||||
*
|
*
|
||||||
* \param stream the audio stream to query.
|
* \param stream the audio stream to query.
|
||||||
* \returns the number of bytes queued.
|
* \returns the number of bytes queued or a negative error code on failure;
|
||||||
|
* call SDL_GetError() for more information.
|
||||||
*
|
*
|
||||||
* \threadsafety It is safe to call this function from any thread.
|
* \threadsafety It is safe to call this function from any thread.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user