# SDL_UnbindAudioStreams

Unbind a list of audio streams from their audio devices.

## Header File

Defined in [<SDL3/SDL_audio.h>](https://github.com/libsdl-org/SDL/blob/main/include/SDL3/SDL_audio.h)

## Syntax

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

## Function Parameters

|                                              |                 |                                                                   |
| -------------------------------------------- | --------------- | ----------------------------------------------------------------- |
| [SDL_AudioStream](SDL_AudioStream) * const * | **streams**     | an array of audio streams to unbind. Can be NULL or contain NULL. |
| 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.2.0.

## See Also

- [SDL_BindAudioStreams](SDL_BindAudioStreams)

----
[CategoryAPI](CategoryAPI), [CategoryAPIFunction](CategoryAPIFunction), [CategoryAudio](CategoryAudio)

