Skip to main content

SDL_UnbindAudioStream

Function SDL_UnbindAudioStream 

Source
pub unsafe extern "C" fn SDL_UnbindAudioStream(
    stream: *mut SDL_AudioStream,
)
Expand description

Unbind a single audio stream from its audio device.

This is a convenience function, equivalent to calling SDL_UnbindAudioStreams(&stream, 1).

§Parameters

  • stream: an audio stream to unbind from a device. Can be NULL.

§Thread safety

It is safe to call this function from any thread.

§Availability

This function is available since SDL 3.2.0.

§See also