logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_BindAudioStream - Bind a single audio stream to an audio device.

Availability

       This function is available since SDL 3.2.0.

Description

       This is a convenience function, equivalent to calling SDL_BindAudioStreams(devid,&stream,1).

Function Parameters

devid  an audio device to bind a stream to.

       stream an audio stream to bind to a device.

Name

       SDL_BindAudioStream - Bind a single audio stream to an audio device.

Return Value

       for more information.

See Also

SDL_BindAudioStreams(3), SDL_UnbindAudioStream(3), SDL_GetAudioStreamDevice(3)

Simple Directmedia Layer                           SDL 3.2.20                             SDL_BindAudioStream(3)

Synopsis

#include<SDL3/SDL_audio.h>boolSDL_BindAudioStream(SDL_AudioDeviceIDdevid,SDL_AudioStream*stream);

Thread Safety

       It is safe to call this function from any thread.

See Also