@@ -781,7 +781,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_IsAudioDevicePlayback(SDL_AudioDeviceID dev
781
781
* Physical devices can not be paused or unpaused, only logical devices
782
782
* created through SDL_OpenAudioDevice() can be.
783
783
*
784
- * \param dev a device opened by SDL_OpenAudioDevice().
784
+ * \param devid a device opened by SDL_OpenAudioDevice().
785
785
* \returns true on success or false on failure; call SDL_GetError() for more
786
786
* information.
787
787
*
@@ -792,7 +792,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_IsAudioDevicePlayback(SDL_AudioDeviceID dev
792
792
* \sa SDL_ResumeAudioDevice
793
793
* \sa SDL_AudioDevicePaused
794
794
*/
795
- extern SDL_DECLSPEC bool SDLCALL SDL_PauseAudioDevice (SDL_AudioDeviceID dev );
795
+ extern SDL_DECLSPEC bool SDLCALL SDL_PauseAudioDevice (SDL_AudioDeviceID devid );
796
796
797
797
/**
798
798
* 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);
809
809
* Physical devices can not be paused or unpaused, only logical devices
810
810
* created through SDL_OpenAudioDevice() can be.
811
811
*
812
- * \param dev a device opened by SDL_OpenAudioDevice().
812
+ * \param devid a device opened by SDL_OpenAudioDevice().
813
813
* \returns true on success or false on failure; call SDL_GetError() for more
814
814
* information.
815
815
*
@@ -820,7 +820,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_PauseAudioDevice(SDL_AudioDeviceID dev);
820
820
* \sa SDL_AudioDevicePaused
821
821
* \sa SDL_PauseAudioDevice
822
822
*/
823
- extern SDL_DECLSPEC bool SDLCALL SDL_ResumeAudioDevice (SDL_AudioDeviceID dev );
823
+ extern SDL_DECLSPEC bool SDLCALL SDL_ResumeAudioDevice (SDL_AudioDeviceID devid );
824
824
825
825
/**
826
826
* 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);
832
832
* created through SDL_OpenAudioDevice() can be. Physical and invalid device
833
833
* IDs will report themselves as unpaused here.
834
834
*
835
- * \param dev a device opened by SDL_OpenAudioDevice().
835
+ * \param devid a device opened by SDL_OpenAudioDevice().
836
836
* \returns true if device is valid and paused, false otherwise.
837
837
*
838
838
* \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);
842
842
* \sa SDL_PauseAudioDevice
843
843
* \sa SDL_ResumeAudioDevice
844
844
*/
845
- extern SDL_DECLSPEC bool SDLCALL SDL_AudioDevicePaused (SDL_AudioDeviceID dev );
845
+ extern SDL_DECLSPEC bool SDLCALL SDL_AudioDevicePaused (SDL_AudioDeviceID devid );
846
846
847
847
/**
848
848
* Get the gain of an audio device.
@@ -1583,6 +1583,9 @@ extern SDL_DECLSPEC bool SDLCALL SDL_PauseAudioStreamDevice(SDL_AudioStream *str
1583
1583
* previously been paused. Once unpaused, any bound audio streams will begin
1584
1584
* to progress again, and audio can be generated.
1585
1585
*
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
+ *
1586
1589
* \param stream the audio stream associated with the audio device to resume.
1587
1590
* \returns true on success or false on failure; call SDL_GetError() for more
1588
1591
* information.
0 commit comments