Wiki Page Content

Differences between revisions 4 and 5
Revision 4 as of 2010-10-12 00:46:00
Size: 1064
Editor: SheenaSmith
Comment: update content - pointers, structs
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 21: 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