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

Public Member Functions

 IIgsMidi (byte resourceNr, byte *data, uint32 length, uint16 type)
 
virtual const uint8 * getPtr ()
 
virtual void setPtr (const uint8 *ptr)
 
virtual void rewind ()
 
- Public Member Functions inherited from Agi::AgiSound
 AgiSound (byte resourceNr, byte *data, uint32 length, uint16 type)
 
virtual void play ()
 
virtual void stop ()
 
virtual bool isPlaying ()
 
byte * getData ()
 
uint32 getLength ()
 
virtual uint16 type ()
 
virtual bool isValid ()
 

Public Attributes

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

Protected Attributes

const uint8 * _ptr
 Pointer to the current position in the MIDI data.
 
- Protected Attributes inherited from Agi::AgiSound
byte _resourceNr
 
byte * _data
 
uint32 _length
 
uint16 _type
 
bool _isPlaying
 

Additional Inherited Members

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

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