Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2009-12-12 20:35:54
Size: 769
Editor: SheenaSmith
Comment: create page, add content
Revision 2 as of 2009-12-12 20:40:03
Size: 785
Editor: SheenaSmith
Comment: correct typo
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
= SDL_FunctionName = = SDL_GetAudioDeviceStatus =
Line 18: Line 18:
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:

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 audio device

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