@@ -781,7 +781,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_IsAudioDevicePlayback(SDL_AudioDeviceID dev
781781 * Physical devices can not be paused or unpaused, only logical devices
782782 * created through SDL_OpenAudioDevice() can be.
783783 *
784- * \param dev a device opened by SDL_OpenAudioDevice().
784+ * \param devid a device opened by SDL_OpenAudioDevice().
785785 * \returns true on success or false on failure; call SDL_GetError() for more
786786 * information.
787787 *
@@ -792,7 +792,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_IsAudioDevicePlayback(SDL_AudioDeviceID dev
792792 * \sa SDL_ResumeAudioDevice
793793 * \sa SDL_AudioDevicePaused
794794 */
795- extern SDL_DECLSPEC bool SDLCALL SDL_PauseAudioDevice (SDL_AudioDeviceID dev );
795+ extern SDL_DECLSPEC bool SDLCALL SDL_PauseAudioDevice (SDL_AudioDeviceID devid );
796796
797797/**
798798 * Use this function to unpause audio playback on a specified device.
@@ -809,7 +809,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_PauseAudioDevice(SDL_AudioDeviceID dev);
809809 * Physical devices can not be paused or unpaused, only logical devices
810810 * created through SDL_OpenAudioDevice() can be.
811811 *
812- * \param dev a device opened by SDL_OpenAudioDevice().
812+ * \param devid a device opened by SDL_OpenAudioDevice().
813813 * \returns true on success or false on failure; call SDL_GetError() for more
814814 * information.
815815 *
@@ -820,7 +820,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_PauseAudioDevice(SDL_AudioDeviceID dev);
820820 * \sa SDL_AudioDevicePaused
821821 * \sa SDL_PauseAudioDevice
822822 */
823- extern SDL_DECLSPEC bool SDLCALL SDL_ResumeAudioDevice (SDL_AudioDeviceID dev );
823+ extern SDL_DECLSPEC bool SDLCALL SDL_ResumeAudioDevice (SDL_AudioDeviceID devid );
824824
825825/**
826826 * Use this function to query if an audio device is paused.
@@ -832,7 +832,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ResumeAudioDevice(SDL_AudioDeviceID dev);
832832 * created through SDL_OpenAudioDevice() can be. Physical and invalid device
833833 * IDs will report themselves as unpaused here.
834834 *
835- * \param dev a device opened by SDL_OpenAudioDevice().
835+ * \param devid a device opened by SDL_OpenAudioDevice().
836836 * \returns true if device is valid and paused, false otherwise.
837837 *
838838 * \threadsafety It is safe to call this function from any thread.
@@ -842,7 +842,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_ResumeAudioDevice(SDL_AudioDeviceID dev);
842842 * \sa SDL_PauseAudioDevice
843843 * \sa SDL_ResumeAudioDevice
844844 */
845- extern SDL_DECLSPEC bool SDLCALL SDL_AudioDevicePaused (SDL_AudioDeviceID dev );
845+ extern SDL_DECLSPEC bool SDLCALL SDL_AudioDevicePaused (SDL_AudioDeviceID devid );
846846
847847/**
848848 * Get the gain of an audio device.
@@ -1583,6 +1583,9 @@ extern SDL_DECLSPEC bool SDLCALL SDL_PauseAudioStreamDevice(SDL_AudioStream *str
15831583 * previously been paused. Once unpaused, any bound audio streams will begin
15841584 * to progress again, and audio can be generated.
15851585 *
1586+ * Remember, SDL_OpenAudioDeviceStream opens device in a paused state, so this
1587+ * function call is required for audio playback to begin on such device.
1588+ *
15861589 * \param stream the audio stream associated with the audio device to resume.
15871590 * \returns true on success or false on failure; call SDL_GetError() for more
15881591 * information.
0 commit comments