ScummVM API documentation
Grim::SCXTrack Class Reference
Inheritance diagram for Grim::SCXTrack:
Grim::SoundTrack

Public Member Functions

 SCXTrack (Audio::Mixer::SoundType soundType)
 
bool openSound (const Common::String &filename, const Common::String &soundName, const Audio::Timestamp *start=nullptr) override
 
bool isPlaying () override
 
Audio::Timestamp getPos () override
 
bool play () override
 
void setLooping (bool looping) override
 
- Public Member Functions inherited from Grim::SoundTrack
virtual void pause ()
 
virtual void stop ()
 
void fadeIn ()
 
void fadeOut ()
 
void setFadeMode (FadeMode fadeMode)
 
void setFade (float fade)
 
float getFade () const
 
FadeMode getFadeMode () const
 
void setBalance (int balance)
 
void setVolume (int volume)
 
void setPosition (bool positioned, const Math::Vector3d &pos=Math::Vector3d())
 
void updatePosition ()
 
void setSync (int sync)
 
int getEffectiveVolume ()
 
int getVolume () const
 
int getBalance () const
 
int getSync () const
 
Common::String getSoundName ()
 
void setSoundName (const Common::String &name)
 
virtual bool hasLooped ()
 
virtual bool isLooping () const
 
bool isPaused () const
 
bool isPositioned () const
 
Math::Vector3d getWorldPos () const
 
Audio::Mixer::SoundType getSoundType () const
 

Additional Inherited Members

- Public Types inherited from Grim::SoundTrack
enum  FadeMode { FadeNone, FadeIn, FadeOut }
 
- Protected Attributes inherited from Grim::SoundTrack
Common::String _soundName
 
Audio::AudioStream_stream
 
Audio::SoundHandle_handle
 
Audio::Mixer::SoundType _soundType
 
DisposeAfterUse::Flag _disposeAfterPlaying
 
bool _paused
 
bool _positioned
 
Math::Vector3d _pos
 
FadeMode _fadeMode
 
float _fade
 
float _attenuation
 
int _balance
 
int _volume
 
int _sync
 

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