ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <base_sound_manager.h>

Inheritance diagram for Wintermute::BaseSoundMgr:
Collaboration diagram for Wintermute::BaseSoundMgr:

List of all members.

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)
 ~BaseSoundMgr () override
void saveSettings ()

Public Attributes

int32 _volumeMaster
bool _soundAvailable
Common::Array< BaseSoundBuffer * > _sounds

Private Member Functions

bool setMasterVolume (byte percent)

Private Attributes

int32 _volumeMasterPercent

Detailed Description

Definition at line 39 of file base_sound_manager.h.

Constructor & Destructor Documentation

Wintermute::BaseSoundMgr::BaseSoundMgr ( BaseGame inGame  ) 

Definition at line 49 of file base_sound_manager.cpp.

Wintermute::BaseSoundMgr::~BaseSoundMgr (  )  [override]

Definition at line 57 of file base_sound_manager.cpp.

Member Function Documentation

BaseSoundBuffer * Wintermute::BaseSoundMgr::addSound ( const Common::String filename,
Audio::Mixer::SoundType  type = Audio::Mixer::kSFXSoundType,
bool  streamed = false 

Definition at line 95 of file base_sound_manager.cpp.

bool Wintermute::BaseSoundMgr::addSound ( BaseSoundBuffer sound,
Audio::Mixer::SoundType  type = Audio::Mixer::kSFXSoundType 

Definition at line 147 of file base_sound_manager.cpp.

bool Wintermute::BaseSoundMgr::cleanup (  ) 

Definition at line 64 of file base_sound_manager.cpp.

byte Wintermute::BaseSoundMgr::getMasterVolume (  ) 

Definition at line 255 of file base_sound_manager.cpp.

byte Wintermute::BaseSoundMgr::getMasterVolumePercent (  ) 

Definition at line 250 of file base_sound_manager.cpp.

byte Wintermute::BaseSoundMgr::getVolumePercent ( Audio::Mixer::SoundType  type  ) 

Definition at line 209 of file base_sound_manager.cpp.

bool Wintermute::BaseSoundMgr::initialize (  ) 

Definition at line 80 of file base_sound_manager.cpp.

bool Wintermute::BaseSoundMgr::pauseAll ( bool  includingMusic = true  ) 

Definition at line 261 of file base_sound_manager.cpp.

float Wintermute::BaseSoundMgr::posToPan ( int  x,
int  y 

Definition at line 289 of file base_sound_manager.cpp.

bool Wintermute::BaseSoundMgr::removeSound ( BaseSoundBuffer sound  ) 

Definition at line 162 of file base_sound_manager.cpp.

bool Wintermute::BaseSoundMgr::resumeAll (  ) 

Definition at line 275 of file base_sound_manager.cpp.

void Wintermute::BaseSoundMgr::saveSettings (  ) 

Definition at line 73 of file base_sound_manager.cpp.

bool Wintermute::BaseSoundMgr::setMasterVolume ( byte  percent  )  [private]

Definition at line 228 of file base_sound_manager.cpp.

bool Wintermute::BaseSoundMgr::setMasterVolumePercent ( byte  percent  ) 

Definition at line 242 of file base_sound_manager.cpp.

bool Wintermute::BaseSoundMgr::setVolume ( Audio::Mixer::SoundType  type,
int  volume 

Definition at line 176 of file base_sound_manager.cpp.

bool Wintermute::BaseSoundMgr::setVolumePercent ( Audio::Mixer::SoundType  type,
byte  percent 

Definition at line 203 of file base_sound_manager.cpp.

Member Data Documentation

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

Generated on Sat Sep 19 2020 05:06:31 for ResidualVM by doxygen 1.7.1
curved edge   curved edge