ScummVM API documentation
Agi::IIgsMidi Class Reference
Inheritance diagram for Agi::IIgsMidi:
Agi::AgiSound

Public Member Functions

 IIgsMidi (uint8 *data, uint32 len, int resnum)
 
uint16 type () override
 
virtual const uint8 * getPtr ()
 
virtual void setPtr (const uint8 *ptr)
 
virtual void rewind ()
 
- Public Member Functions inherited from Agi::AgiSound
virtual void play ()
 
virtual void stop ()
 
virtual bool isPlaying ()
 

Public Attributes

uint _ticks
 MIDI song position in ticks (1/60ths of a second)
 

Protected Attributes

uint8 * _data
 Raw sound resource data.
 
const uint8 * _ptr
 Pointer to the current position in the MIDI data.
 
uint32 _len
 Length of the raw sound resource.
 
uint16 _type
 Sound resource type.
 
- Protected Attributes inherited from Agi::AgiSound
bool _isPlaying
 Is the sound playing?
 
bool _isValid
 Is this a valid sound object?
 

Additional Inherited Members

- Static Public Member Functions inherited from Agi::AgiSound
static AgiSoundcreateFromRawResource (uint8 *data, uint32 len, int resnum, int soundemu)
 

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