AudioConfig Class Reference

#include <AudioConfig.h>

Inherits Singleton< AudioConfig >, and Subject.

Collaboration diagram for AudioConfig:
[legend]

List of all members.

Public Member Functions

void VolumeUp ()
void VolumeDown ()
float GetVolume () const
void Repeat ()
bool GetRepeat () const
void Random ()
bool GetRandom () const

Friends

class Singleton< AudioConfig >


Detailed Description

Class AudioConfig This class manages the general audio configuration (volume, playing mode... ).
Author:
Adrian Gaudebert - adrian.gaudebert@gmail.com

Simon Stephan - s.stephan88@gmail.com


Member Function Documentation

bool AudioConfig::GetRandom (  )  const

Get the current random mode

bool AudioConfig::GetRepeat (  )  const

Get the current repeat mode

float AudioConfig::GetVolume (  )  const

Get the current volume

Returns:
Float between 0 and 100

void AudioConfig::Random (  ) 

Reverse the current random mode

void AudioConfig::Repeat (  ) 

Reverse the current repeat mode

void AudioConfig::VolumeDown (  ) 

Put the current volume down

void AudioConfig::VolumeUp (  ) 

Put the current volume up


The documentation for this class was generated from the following files:

Generated on Mon Jan 19 22:14:51 2009 for saMP by  doxygen 1.5.8