#include <MIDIReader.hxx>
Classes | |
| class | Error |
Public Member Functions | |
| Reader (const char *filename) | |
| bool | Ok (void) |
| Byte | GetByte (void) |
| unsigned int | GetInt (void) |
| unsigned short | GetShort (void) |
| ChunkType | GetChunkType (void) |
| unsigned int | GetVarLength (void) |
| void | Read (Song &s) |
Definition at line 35 of file MIDIReader.hxx.
| MIDI::Reader::Reader | ( | const char * | filename | ) | [inline] |
Definition at line 43 of file MIDIReader.hxx.
| Byte MIDI::Reader::GetByte | ( | void | ) | [inline] |
Definition at line 51 of file MIDIReader.hxx.
Referenced by GetChunkType(), GetInt(), GetShort(), GetVarLength(), and Read().
| ChunkType MIDI::Reader::GetChunkType | ( | void | ) | [inline] |
| unsigned short MIDI::Reader::GetShort | ( | void | ) | [inline] |
| bool MIDI::Reader::Ok | ( | void | ) | [inline] |
Definition at line 47 of file MIDIReader.hxx.
References NULL.
| void MIDI::Reader::Read | ( | Song & | s | ) |
Definition at line 31 of file MIDIReader.cxx.
References MIDI::Track::Add(), MIDI::Song::AddTrack(), GetByte(), GetChunkType(), GetInt(), GetShort(), GetVarLength(), MIDI::MetaEvent::mData, MIDI::Track::Name(), and MIDI::Song::SetTicksPerQ().
Referenced by main().
1.6.3