ScummVM API documentation
Pegasus::SoundFader Class Reference
Inheritance diagram for Pegasus::SoundFader:
Pegasus::Fader Pegasus::IdlerTimeBase Pegasus::Idler Pegasus::TimeBase

Public Member Functions

void setFaderValue (const int32) override
 
void setMasterVolume (const uint16)
 
uint16 getMasterVolume () const
 
- Public Member Functions inherited from Pegasus::Fader
int32 getFaderValue () const
 
virtual void startFader (const FaderMoveSpec &)
 
virtual void startFaderSync (const FaderMoveSpec &)
 
virtual void loopFader (const FaderMoveSpec &)
 
virtual void stopFader ()
 
virtual bool isFading ()
 
void pauseFader ()
 
void continueFader ()
 
void getCurrentFaderMove (FaderMoveSpec &spec)
 
- Public Member Functions inherited from Pegasus::IdlerTimeBase
TimeValue getLastTime () const
 
- Public Member Functions inherited from Pegasus::Idler
virtual void startIdling ()
 
virtual void stopIdling ()
 
bool isIdling () const
 
- Public Member Functions inherited from Pegasus::TimeBase
 TimeBase (const TimeScale=kDefaultTimeScale)
 
virtual void setTime (const TimeValue, const TimeScale=0)
 
virtual TimeValue getTime (const TimeScale=0)
 
virtual void setScale (const TimeScale scale)
 
virtual TimeScale getScale () const
 
virtual void setRate (const Common::Rational)
 
virtual Common::Rational getRate () const
 
virtual void start ()
 
virtual void stop ()
 
virtual bool isRunning ()
 
virtual void pause ()
 
virtual void resume ()
 
bool isPaused () const
 
virtual void setFlags (const uint32 flags)
 
virtual uint32 getFlags () const
 
virtual void setStart (const TimeValue, const TimeScale=0)
 
virtual TimeValue getStart (const TimeScale=0) const
 
virtual void setStop (const TimeValue, const TimeScale=0)
 
virtual TimeValue getStop (const TimeScale=0) const
 
virtual void setSegment (const TimeValue, const TimeValue, const TimeScale=0)
 
virtual void getSegment (TimeValue &, TimeValue &, const TimeScale=0) const
 
virtual TimeValue getDuration (const TimeScale=0) const
 
virtual void setMasterTimeBase (TimeBase *timeBase)
 
void disposeAllCallBacks ()
 
virtual void checkCallBacks ()
 

Protected Member Functions

void attachSound (Sound *)
 
- Protected Member Functions inherited from Pegasus::Fader
bool initFaderMove (const FaderMoveSpec &)
 
void timeChanged (const TimeValue) override
 
- Protected Member Functions inherited from Pegasus::IdlerTimeBase
void useIdleTime () override
 
- Protected Member Functions inherited from Pegasus::TimeBase
void addCallBack (TimeBaseCallBack *)
 
void removeCallBack (TimeBaseCallBack *)
 
virtual void updateTime ()
 

Protected Attributes

Sound_sound
 
uint16 _masterVolume
 
- Protected Attributes inherited from Pegasus::Fader
int32 _currentValue
 
FaderMoveSpec _currentFaderMove
 
- Protected Attributes inherited from Pegasus::IdlerTimeBase
TimeValue _lastTime
 
- Protected Attributes inherited from Pegasus::Idler
bool _isIdling
 
Idler_nextIdler
 
Idler_prevIdler
 
- Protected Attributes inherited from Pegasus::TimeBase
TimeBase_master
 
TimeScale _preferredScale
 
TimeBaseCallBack_callBackList
 
Common::Rational _rate
 
Common::Rational _pausedRate
 
bool _paused
 
uint32 _startTime
 
uint32 _startScale
 
uint32 _stopTime
 
uint32 _stopScale
 
uint32 _flags
 
Common::Rational _time
 
uint32 _lastMillis
 
uint32 _pauseStart
 

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