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

Public Member Functions

 BaseSoundBuffer (BaseGame *inGame)
 
bool pause ()
 
bool play (bool looping=false, uint32 startSample=0)
 
bool resume ()
 
bool stop ()
 
bool isPlaying ()
 
void setLooping (bool looping)
 
uint32 getPosition ()
 
bool setPosition (uint32 pos)
 
uint32 getLength ()
 
bool setLoopStart (uint32 pos)
 
uint32 getLoopStart () const
 
bool setPan (float pan)
 
bool setPrivateVolume (int colume)
 
bool setVolume (int colume)
 
void updateVolume ()
 
void setType (Audio::Mixer::SoundType Type)
 
Audio::Mixer::SoundType getType () const
 
bool loadFromFile (const Common::String &filename, bool forceReload=false)
 
void setStreaming (bool streamed, uint32 numBlocks=0, uint32 blockSize=0)
 
bool applyFX (TSFXType type, float param1, float param2, float param3, float param4)
 
int32 getPrivateVolume () const
 
void setFreezePaused (bool freezePaused)
 
bool isFreezePaused () const
 
bool isLooping () const
 
- 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)
 

Additional Inherited Members

- Public Attributes inherited from Wintermute::BaseClass
bool _persistable
 
BaseGame_gameRef
 
- Protected Attributes inherited from Wintermute::BaseClass
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: