mirror of https://github.com/libsdl-org/SDL.git
include: minor tweak to audio API documentation
This commit is contained in:
parent
fb13770353
commit
116b0ec977
|
|
@ -349,9 +349,9 @@ extern DECLSPEC int SDLCALL SDL_GetAudioDeviceFormat(SDL_AudioDeviceID devid, SD
|
||||||
* An opened audio device starts out with no audio streams bound. To start
|
* An opened audio device starts out with no audio streams bound. To start
|
||||||
* audio playing, bind a stream and supply audio data to it. Unlike SDL2,
|
* audio playing, bind a stream and supply audio data to it. Unlike SDL2,
|
||||||
* there is no audio callback; you only bind audio streams and make sure they
|
* there is no audio callback; you only bind audio streams and make sure they
|
||||||
* have data flowing into them (although, as an optional feature, each audio
|
* have data flowing into them (however, you can simulate SDL2's semantics
|
||||||
* stream may have its own callback, which can be used to simulate SDL2's
|
* fairly closely by using SDL_OpenAudioDeviceStream instead of this
|
||||||
* semantics).
|
* function).
|
||||||
*
|
*
|
||||||
* If you don't care about opening a specific device, pass a `devid` of either
|
* If you don't care about opening a specific device, pass a `devid` of either
|
||||||
* `SDL_AUDIO_DEVICE_DEFAULT_OUTPUT` or `SDL_AUDIO_DEVICE_DEFAULT_CAPTURE`. In
|
* `SDL_AUDIO_DEVICE_DEFAULT_OUTPUT` or `SDL_AUDIO_DEVICE_DEFAULT_CAPTURE`. In
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue