Wiki Page Content

Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2009-12-12 20:35:54
Size: 769
Editor: SheenaSmith
Comment: create page, add content
Revision 4 as of 2010-10-12 00:46:00
Size: 1064
Editor: SheenaSmith
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 4: Line 5:
= SDL_FunctionName = = SDL_GetAudioDeviceStatus =
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.)>>
Line 18: Line 21:
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 any 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 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


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