|
Size: 865
Comment: added DRAFT to top for removal after page is edited
|
Size: 1064
Comment: minor change for consistency
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 16: | Line 16: |
| ||'''dev'''||the ID of the audio device|| | ||'''dev'''||the ID of ,,the,, ^an^ audio device ^previously opened with [[SDL_OpenAudioDevice]]()^|| <<Color2(green,Should SDL_Audio``DeviceID be specifically mentioned like a struct would be although it is a typedef? It has no page.)>> |
| Line 19: | Line 21: |
| Returns the status of the specified audio device which may be any of the following: | Returns the status of the specified audio device which may be one of the following: |
DRAFT |
SDL_GetAudioDeviceStatus
Use this function to get the current audio state of an audio device.
Contents
Syntax
SDL_audiostatus SDL_GetAudioDeviceStatus(SDL_AudioDeviceID dev)
Function Parameters
dev |
the ID of the an audio device previously opened with [[SDL_OpenAudioDevice]]() |
green
Return Value
Returns the status of the specified audio device which may be one of the following:
SDL_AUDIO_STOPPED |
audio device is stopped |
SDL_AUDIO_PLAYING |
audio device is playing |
SDL_AUDIO_PAUSED |
audio device is paused |
Code Examples
You can add your code example here
Remarks
You can add useful comments here
