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

Public Member Functions

void synchronize (Serializer &s) override
 
void orientAfterRestore ()
 
void play (int soundResID)
 
void stop ()
 
void prime (int soundResID)
 
void unPrime ()
 
void go ()
 
void halt (void)
 
bool isPlaying ()
 
int getSoundNum () const
 
bool isPrimed () 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)
 
void setTimeIndex (uint32 timeIndex)
 
uint32 getTimeIndex () const
 
int getCueValue () const
 
void setCueValue (int cueValue)
 
void setVol (int volume)
 
int getVol () const
 
void setPri (int priority)
 
void setLoop (int flag)
 
int getPri () const
 
int getLoop ()
 
void holdAt (int amount)
 
void release ()
 
void orientAfterDriverChange ()
 
void soPrimeSound (bool dontQueue)
 
void soSetTimeIndex (uint timeIndex)
 
bool soServiceTracks ()
 
void soPrimeChannelData ()
 
void soRemoteReceive ()
 
void soServiceTrackType0 (int trackIndex, const byte *channelData)
 
void soUpdateDamper (VoiceTypeStruct *voiceType, int channelNum, VoiceType mode, int v0)
 
void soPlaySound (VoiceTypeStruct *vtStruct, const byte *channelData, int channelNum, VoiceType voiceType, int v0, int v1)
 
void soPlaySound2 (VoiceTypeStruct *vtStruct, const byte *channelData, int channelNum, VoiceType voiceType, int v0)
 
void soProc38 (VoiceTypeStruct *vtStruct, int channelNum, VoiceType voiceType, int cmd, int value)
 
void soProc40 (VoiceTypeStruct *vtStruct, int channelNum, int pitchBlend)
 
void soDoTrackCommand (int channelNum, int command, int value)
 
bool soDoUpdateTracks (int command, int value)
 
void soSetTrackPos (int trackIndex, int trackPos, int cueValue)
 
void soServiceTrackType1 (int trackIndex, const byte *channelData)
 
int soFindSound (VoiceTypeStruct *vtStruct, int channelNum)
 
- 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 dispatch ()
 
virtual void setAction (Action *action)
 
virtual void setAction (Action *action, EventHandler *endHandler,...)
 
virtual void destroy ()
 

Public Attributes

bool _stoppedAsynchronously
 
int _soundResID
 
int _group
 
int _sndResPriority
 
int _fixedPriority
 
int _sndResLoop
 
int _fixedLoop
 
int _priority
 
int _volume
 
int _loop
 
int _pausedCount
 
int _mutedCount
 
int _hold
 
int _cueValue
 
int _fadeDest
 
int _fadeSteps
 
int _fadeTicks
 
int _fadeCounter
 
bool _stopAfterFadeFlag
 
uint32 _timer
 
uint32 _newTimeIndex
 
int _loopTimer
 
int _chProgram [16]
 
int _chModulation [16]
 
int _chVolume [16]
 
int _chPan [16]
 
int _chDamper [16]
 
int _chPitchBlend [16]
 
int _chVoiceType [16]
 
int _chNumVoices [16]
 
int _chSubPriority [16]
 
int _chFlags [16]
 
bool _chWork [16]
 
trackInfoStruct _trackInfo
 
byte * _channelData [16]
 
int _trkChannel [16]
 
int _trkState [16]
 
int _trkLoopState [16]
 
int _trkIndex [16]
 
int _trkLoopIndex [16]
 
int _trkRest [16]
 
int _trkLoopRest [16]
 
bool _primed
 
bool _isEmpty
 
byte * _remoteReceiver
 
- 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: