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

SDL_UnbindAudioStreams

Unbind a list of audio streams from their audio devices.

Header File

Defined in <SDL3/SDL_audio.h>

Syntax

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

Function Parameters

SDL_AudioStream ** streams an array of audio streams to unbind.
int num_streams number streams listed in the streams array.

Remarks

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 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.

Version

This function is available since SDL 3.0.0.

See Also


CategoryAPI, CategoryAPIFunction, CategoryAudio


[ 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.