Wiki Page Content

Differences between revisions 3 and 5 (spanning 2 versions)
Revision 3 as of 2010-01-10 23:29:54
Size: 865
Editor: SheenaSmith
Comment: added DRAFT to top for removal after page is edited
Revision 5 as of 2011-01-04 19:18:10
Size: 1064
Editor: SheenaSmith
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.

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


CategoryAPI, CategoryAudio

None: SDL_GetAudioDeviceStatus (last edited 2013-08-08 04:55:41 by RyanGordon)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit