Query an audio stream for its currently-bound device.
SDL_AudioDeviceID SDL_GetAudioStreamBinding(SDL_AudioStream *stream);
|stream||the audio stream to query.|
Returns The bound audio device, or 0 if not bound or invalid.
This reports the audio device that an audio stream is currently bound to.
If not bound, or invalid, this returns zero, which is not a valid device ID.
It is safe to call this function from any thread.
This function is available since SDL 3.0.0.