comments: Fixed a few typos I ran into in the audio code.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user