ScummVM API documentation
Wintermute::BaseSound Class Reference
Inheritance diagram for Wintermute::BaseSound:
Wintermute::BaseClass

Public Member Functions

bool setPan (float pan)
 
int getVolume ()
 
int getVolumePercent ()
 
bool setVolumePercent (int percent)
 
bool setVolume (int volume)
 
bool setPrivateVolume (int volume)
 
bool setLoopStart (uint32 pos)
 
uint32 getPositionTime ()
 
bool setPositionTime (uint32 time)
 
bool isPlaying ()
 
bool isPaused ()
 
bool resume ()
 
bool pause (bool freezePaused=false)
 
bool stop ()
 
bool play (bool looping=false)
 
uint32 getLength ()
 
bool setSoundSimple ()
 
bool setSound (const Common::String &filename, Audio::Mixer::SoundType type=Audio::Mixer::kSFXSoundType, bool streamed=false)
 
 BaseSound (BaseGame *inGame)
 
bool applyFX (TSFXType type=SFX_NONE, float param1=0, float param2=0, float param3=0, float param4=0)
 
- Public Member Functions inherited from Wintermute::BaseClass
bool setEditorProp (const Common::String &propName, const Common::String &propValue)
 
Common::String getEditorProp (const Common::String &propName, const Common::String &initVal=Common::String())
 
 BaseClass (TDynamicConstructor, TDynamicConstructor)
 
bool parseEditorProperty (char *buffer, bool complete=true)
 
virtual bool saveAsText (BaseDynamicBuffer *buffer, int indent=0)
 
 BaseClass (BaseGame *GameOwner)
 
virtual const char * getClassName ()
 
virtual bool persist (BasePersistenceManager *persistMgr)
 

Public Attributes

int32 _soundPrivateVolume
 
bool _soundPaused
 
bool _soundFreezePaused
 
bool _soundPlaying
 
bool _soundLooping
 
uint32 _soundLoopStart
 
uint32 _soundPosition
 
bool _soundStreamed
 
Audio::Mixer::SoundType _soundType
 
Common::String _soundFilename
 
TSFXType _sFXType
 
float _sFXParam1
 
float _sFXParam2
 
float _sFXParam3
 
float _sFXParam4
 
- Public Attributes inherited from Wintermute::BaseClass
bool _persistable
 
BaseGame_gameRef
 
Common::HashMap< Common::String, Common::String_editorProps
 
Common::HashMap< Common::String, Common::String >::iterator _editorPropsIter
 

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