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

Grim::SoundPlayer Class Reference

#include <sound.h>

List of all members.

Public Member Functions

bool startVoice (const char *soundName, int volume=127, int pan=64)
bool getSoundStatus (const char *soundName)
void stopSound (const char *soundName)
int32 getPosIn16msTicks (const char *soundName)
void setVolume (const char *soundName, int volume)
void setPan (const char *soundName, int pan)
void setMusicState (int stateId)
void flushTracks ()
void restoreState (SaveGame *savedState)
void saveState (SaveGame *savedState)

Detailed Description

Definition at line 32 of file grim/sound.h.


Member Function Documentation

void Grim::SoundPlayer::flushTracks (  ) 

Definition at line 86 of file grim/sound.cpp.

int32 Grim::SoundPlayer::getPosIn16msTicks ( const char *  soundName  ) 

Definition at line 55 of file grim/sound.cpp.

bool Grim::SoundPlayer::getSoundStatus ( const char *  soundName  ) 

Definition at line 39 of file grim/sound.cpp.

void Grim::SoundPlayer::restoreState ( SaveGame savedState  ) 

Definition at line 94 of file grim/sound.cpp.

void Grim::SoundPlayer::saveState ( SaveGame savedState  ) 

Definition at line 103 of file grim/sound.cpp.

void Grim::SoundPlayer::setMusicState ( int  stateId  ) 

Definition at line 78 of file grim/sound.cpp.

void Grim::SoundPlayer::setPan ( const char *  soundName,
int  pan 
)

Definition at line 70 of file grim/sound.cpp.

void Grim::SoundPlayer::setVolume ( const char *  soundName,
int  volume 
)

Definition at line 62 of file grim/sound.cpp.

bool Grim::SoundPlayer::startVoice ( const char *  soundName,
int  volume = 127,
int  pan = 64 
)

Definition at line 32 of file grim/sound.cpp.

void Grim::SoundPlayer::stopSound ( const char *  soundName  ) 

Definition at line 46 of file grim/sound.cpp.


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


Generated on Sat May 18 2019 05:06:30 for ResidualVM by doxygen 1.7.1
curved edge   curved edge