mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-05 23:10:58 +00:00
comments: Fixed a few typos I ran into in the audio code.
This commit is contained in:
parent
727a5fae59
commit
483d1c36ed
3 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
If you're running this in a web browser, you need to click the window before you'll hear anything!
|
If you're running this in a web browser, you need to click the window before you'll hear anything!
|
||||||
|
|
||||||
This example code loads two .wav files, puts them an audio streams and binds
|
This example code loads two .wav files, puts them in audio streams and binds
|
||||||
them for playback, repeating both sounds on loop. This shows several streams
|
them for playback, repeating both sounds on loop. This shows several streams
|
||||||
mixing into a single playback device.
|
mixing into a single playback device.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* This example code loads two .wav files, puts them an audio streams and
|
* This example code loads two .wav files, puts them in audio streams and
|
||||||
* binds them for playback, repeating both sounds on loop. This shows several
|
* binds them for playback, repeating both sounds on loop. This shows several
|
||||||
* streams mixing into a single playback device.
|
* streams mixing into a single playback device.
|
||||||
*
|
*
|
||||||
|
|
|
@ -1583,8 +1583,8 @@ extern SDL_DECLSPEC bool SDLCALL SDL_PauseAudioStreamDevice(SDL_AudioStream *str
|
||||||
* previously been paused. Once unpaused, any bound audio streams will begin
|
* previously been paused. Once unpaused, any bound audio streams will begin
|
||||||
* to progress again, and audio can be generated.
|
* to progress again, and audio can be generated.
|
||||||
*
|
*
|
||||||
* Remember, SDL_OpenAudioDeviceStream opens device in a paused state, so this
|
* SDL_OpenAudioDeviceStream opens audio devices in a paused state, so this
|
||||||
* function call is required for audio playback to begin on such device.
|
* function call is required for audio playback to begin on such devices.
|
||||||
*
|
*
|
||||||
* \param stream the audio stream associated with the audio device to resume.
|
* \param stream the audio stream associated with the audio device to resume.
|
||||||
* \returns true on success or false on failure; call SDL_GetError() for more
|
* \returns true on success or false on failure; call SDL_GetError() for more
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue