Преглед изворни кода

comments: Fixed a few typos I ran into in the audio code.

Ryan C. Gordon пре 3 месеци
родитељ
комит
483d1c36ed

+ 1 - 1
examples/audio/04-multiple-streams/README.txt

@@ -1,5 +1,5 @@
 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
 mixing into a single playback device.

+ 1 - 1
examples/audio/04-multiple-streams/multiple-streams.c

@@ -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
  * streams mixing into a single playback device.
  *

+ 2 - 2
include/SDL3/SDL_audio.h

@@ -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
  * to progress again, and audio can be generated.
  *
- * Remember, SDL_OpenAudioDeviceStream opens device in a paused state, so this
- * function call is required for audio playback to begin on such device.
+ * SDL_OpenAudioDeviceStream opens audio devices in a paused state, so this
+ * function call is required for audio playback to begin on such devices.
  *
  * \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