Clarify that SDL_GetAudioStreamDevice() returns the logical device.

This commit is contained in:
Sam Lantinga
2025-06-20 14:01:16 -07:00
parent 7882e60f0e
commit c19ad189dc

View File

@@ -1021,7 +1021,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_UnbindAudioStream(SDL_AudioStream *stream);
/** /**
* Query an audio stream for its currently-bound device. * Query an audio stream for its currently-bound device.
* *
* This reports the audio device that an audio stream is currently bound to. * This reports the logical audio device that an audio stream is currently bound to.
* *
* If not bound, or invalid, this returns zero, which is not a valid device * If not bound, or invalid, this returns zero, which is not a valid device
* ID. * ID.