ScummVM API documentation
NGI::Sound Class Reference
Inheritance diagram for NGI::Sound:
NGI::MemoryObject NGI::CObject

Public Member Functions

virtual bool load (MfcArchive &file, NGIArchive *archive)
 
bool load (MfcArchive &file) override
 
void updateVolume ()
 
int getId () const
 
Audio::SoundHandlegetHandle () const
 
void play (int flag)
 
void freeSound ()
 
int getVolume ()
 
void stop ()
 
void setPanAndVolumeByStaticAni ()
 
void setPanAndVolume (int vol, int pan)
 
- Public Member Functions inherited from NGI::MemoryObject
bool load (MfcArchive &file) override
 
void loadFile (const Common::Path &filename)
 
void load ()
 
byte * getData ()
 
byte * loadData ()
 
int getDataSize () const
 
bool testFlags ()
 
void freeData ()
 

Public Attributes

int16 _objectId
 

Additional Inherited Members

- Protected Attributes inherited from NGI::MemoryObject
Common::Path _memfilename
 
int _mfield_8
 
int _mfield_C
 
int _mfield_10
 
char _mfield_14
 
byte * _data
 
int _dataSize
 
int _mflags
 
NGIArchive_libHandle
 

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