|
Size: 785
Comment: correct typo
|
Size: 1064
Comment: update content - pointers, structs
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%"style="color: rgb(255, 0, 0); text-align: center;">DRAFT|| | |
| Line 15: | 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.)>> |
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 any 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
