SDL Wiki
(This is the documentation for SDL3, which is under heavy development and the API is changing! SDL2 is the current stable version!)


Unbind a list of audio streams from their audio devices.


void SDL_UnbindAudioStreams(SDL_AudioStream **streams, int num_streams);

Function Parameters

streams an array of audio streams to unbind.
num_streams Number streams listed in the streams array.


The streams being unbound do not all have to be on the same device. All streams on the same device will be unbound atomically (data will stop flowing through them all unbound streams on the same device at the same time).

Unbinding a stream that isn't bound to a device is a legal no-op.

Thread Safety

It is safe to call this function from any thread.


This function is available since SDL 3.0.0.


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.