Function SDL_UnbindAudioStream

pub unsafe extern "C" fn SDL_UnbindAudioStream(
    stream: *mut SDL_AudioStream,
)
Available on crate feature dep_sdl3 only.
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