SDL_UnbindAudioStreams(3)

SDL_UnbindAudioStreams3

Unbind a list of audio streams from their audio devices.

Usage

#include "SDL3/SDL.h"

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

Header file

Defined in SDL3/SDL_audio.h

Overview

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.

Function parameters

streams

an array of audio streams to unbind. Can be NULL or contain NULL.

num_streams

number streams listed in the streams array.

Thread safety

It is safe to call this function from any thread.

Availability

This function is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.