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 setType (TSoundType type)
 
bool loadFromFile (const char *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)
 
- 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

bool _freezePaused
 
uint32 _loopStart
 
TSoundType _type
 
bool _looping
 
char * _filename
 
bool _streamed
 
int32 _privateVolume
 
Audio::SeekableAudioStream_stream
 
Audio::SoundHandle_handle
 
int32 _volume
 
uint32 _startPos
 
int8 _pan
 
- Public Attributes inherited from Wintermute::BaseClass
bool _persistable
 
BaseGame_game
 
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: