SDL_GetAudioStatus

Name

SDL_GetAudioStatus -- Get the current audio state

Synopsis

#include "SDL.h"

SDL_audiostatus SDL_GetAudioStatus(void);

Description

typedef enum{
  SDL_AUDIO_STOPPED = 0,
  SDL_AUDIO_PLAYING,
  SDL_AUDIO_PAUSED
} SDL_audiostatus;

Returns either SDL_AUDIO_STOPPED, SDL_AUDIO_PLAYING or SDL_AUDIO_PAUSED depending on the current audio state.

See Also

SDL_PauseAudio

SDL_GetAudioStatus (last edited 2008-04-17 08:18:08 by localhost)