ScummVM API documentation
Pegasus::SoundTimeBase Class Reference
Inheritance diagram for Pegasus::SoundTimeBase:
Pegasus::Sound Pegasus::TimeBase

Public Member Functions

void playSoundSegment (uint32 start, uint32 end)
 
- Public Member Functions inherited from Pegasus::Sound
void initFromAIFFFile (const Common::Path &fileName)
 
void initFromQuickTime (const Common::Path &fileName)
 
void disposeSound ()
 
bool isSoundLoaded () const
 
void playSound ()
 
void loopSound ()
 
void playSoundSegment (uint32 start, uint32 end)
 
void stopSound ()
 
void setVolume (const uint16 volume)
 
bool isPlaying ()
 
void attachFader (SoundFader *fader)
 
- 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 updateTime () override
 
- Protected Member Functions inherited from Pegasus::TimeBase
void addCallBack (TimeBaseCallBack *)
 
void removeCallBack (TimeBaseCallBack *)
 

Additional Inherited Members

- Protected Attributes inherited from Pegasus::Sound
Audio::SeekableAudioStream_stream
 
Audio::SoundHandle _handle
 
byte _volume
 
SoundFader_fader
 
- 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: