ScummVM API documentation
Wintermute::BaseSoundMgr Class Reference
Inheritance diagram for Wintermute::BaseSoundMgr:
Wintermute::BaseClass

Public Member Functions

float posToPan (int x, int y)
 
bool resumeAll ()
 
bool pauseAll (bool includingMusic=true)
 
bool cleanup ()
 
byte getMasterVolumePercent ()
 
byte getMasterVolume ()
 
bool setMasterVolumePercent (byte percent)
 
byte getVolumePercent (Audio::Mixer::SoundType type)
 
bool setVolumePercent (Audio::Mixer::SoundType type, byte percent)
 
bool setVolume (Audio::Mixer::SoundType type, int volume)
 
bool removeSound (BaseSoundBuffer *sound)
 
BaseSoundBufferaddSound (const Common::String &filename, Audio::Mixer::SoundType type=Audio::Mixer::kSFXSoundType, bool streamed=false)
 
bool addSound (BaseSoundBuffer *sound, Audio::Mixer::SoundType type=Audio::Mixer::kSFXSoundType)
 
bool initialize ()
 
 BaseSoundMgr (BaseGame *inGame)
 
void saveSettings ()
 
- Public Member Functions inherited from Wintermute::BaseClass
bool setEditorProp (const Common::String &propName, const Common::String &propValue)
 
Common::String getEditorProp (const Common::String &propName, const Common::String &initVal=Common::String())
 
 BaseClass (TDynamicConstructor, TDynamicConstructor)
 
bool parseEditorProperty (char *buffer, bool complete=true)
 
virtual bool saveAsText (BaseDynamicBuffer *buffer, int indent=0)
 
 BaseClass (BaseGame *GameOwner)
 
virtual const char * getClassName ()
 
virtual bool persist (BasePersistenceManager *persistMgr)
 

Public Attributes

int32 _volumeMaster
 
bool _soundAvailable
 
Common::Array< BaseSoundBuffer * > _sounds
 
- Public Attributes inherited from Wintermute::BaseClass
bool _persistable
 
BaseGame_gameRef
 

Additional Inherited Members

- Protected Attributes inherited from Wintermute::BaseClass
Common::HashMap< Common::String, Common::String_editorProps
 
Common::HashMap< Common::String, Common::String >::iterator _editorPropsIter
 

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