sdlResumeAudioStreamDevice function
Use this function to unpause audio playback on the audio device associated with an audio stream.
This function unpauses audio processing for a given device that has previously been paused. Once unpaused, any bound audio streams will begin to progress again, and audio can be generated.
\param stream the audio stream associated with the audio device to resume. \returns true on success or false on failure; call SDL_GetError() for more information.
\threadsafety It is safe to call this function from any thread.
\since This function is available since SDL 3.1.3.
\sa SDL_PauseAudioStreamDevice
extern SDL_DECLSPEC bool SDLCALL SDL_ResumeAudioStreamDevice(SDL_AudioStream *stream)
Implementation
bool sdlResumeAudioStreamDevice(Pointer<SdlAudioStream> stream) {
final sdlResumeAudioStreamDeviceLookupFunction = libSdl3.lookupFunction<
Uint8 Function(Pointer<SdlAudioStream> stream),
int Function(
Pointer<SdlAudioStream> stream)>('SDL_ResumeAudioStreamDevice');
return sdlResumeAudioStreamDeviceLookupFunction(stream) == 1;
}