ScummVM API documentation
TsAGE::ASound Class Reference
Inheritance diagram for TsAGE::ASound:
TsAGE::EventHandler TsAGE::SavedObject TsAGE::Serialisable TsAGE::ASoundExt

Public Member Functions

void synchronize (Serializer &s) override
 
void dispatch () override
 
void play (int soundNum, EventHandler *endAction=NULL, int volume=127)
 
void stop ()
 
void prime (int soundNum, Action *action=NULL)
 
void unPrime ()
 
void go ()
 
void hault (void)
 
bool isPlaying ()
 
int getSoundNum () const
 
bool isPaused () const
 
bool isMuted () const
 
void pause (bool flag)
 
void mute (bool flag)
 
void fade (int fadeDest, int fadeSteps, int fadeTicks, bool stopAfterFadeFlag, EventHandler *endAction)
 
void fadeIn ()
 
void fadeOut (Action *action)
 
void setTimeIndex (uint32 timeIndex)
 
uint32 getTimeIndex () const
 
void setPri (int v)
 
void setLoop (int total)
 
int getPri () const
 
int getLoop ()
 
void setVol (int volume)
 
int getVol () const
 
void holdAt (int v)
 
void release ()
 
void fadeSound (int soundNum)
 
- Public Member Functions inherited from TsAGE::EventHandler
Common::String getClassName () override
 
virtual void postInit (SceneObjectList *OwnerList=NULL)
 
virtual void remove ()
 
virtual void signal ()
 
virtual void process (Event &event)
 
virtual void setAction (Action *action)
 
virtual void setAction (Action *action, EventHandler *endHandler,...)
 
virtual void destroy ()
 

Public Attributes

Sound _sound
 
EventHandler_endAction
 
int _cueValue
 
- Public Attributes inherited from TsAGE::EventHandler
Action_action
 

Additional Inherited Members

- Static Public Member Functions inherited from TsAGE::SavedObject
static SavedObjectcreateInstance (const Common::String &className)
 

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