#include <xmidi.h>
Collaboration diagram for XMIDIEventList:
Public Member Functions | |
int | Write (const char *filename) |
int | Write (DataSource *dest) |
void | IncerementCounter () |
void | DecerementCounter () |
Public Attributes | |
midi_event * | events |
Private Member Functions | |
int | PutVLQ (DataSource *dest, uint32 value) |
uint32 | ConvertListToMTrk (DataSource *dest) |
Static Private Member Functions | |
static void | DeleteEventList (midi_event *list) |
Private Attributes | |
int | counter |
Definition at line 207 of file xmidi.h.
int XMIDIEventList::PutVLQ | ( | DataSource * | dest, | |
uint32 | value | |||
) | [private] |
Definition at line 1603 of file xmidi.cc.
References DataSource::write1().
Referenced by ConvertListToMTrk().
Here is the call graph for this function:
uint32 XMIDIEventList::ConvertListToMTrk | ( | DataSource * | dest | ) | [private] |
Definition at line 1627 of file xmidi.cc.
References midi_event::buffer, midi_event::data, events, DataSource::getPos(), midi_event::len, midi_event::next, PutVLQ(), DataSource::skip(), midi_event::status, midi_event::time, and DataSource::write1().
Referenced by Write().
Here is the call graph for this function:
void XMIDIEventList::DeleteEventList | ( | midi_event * | list | ) | [static, private] |
Definition at line 1742 of file xmidi.cc.
References midi_event::buffer, Free(), midi_event::next, and midi_event::status.
Referenced by DecerementCounter().
Here is the call graph for this function:
int XMIDIEventList::Write | ( | const char * | filename | ) |
Definition at line 1555 of file xmidi.cc.
References file, and U7open().
Referenced by Mixer_MidiOut::start_track().
Here is the call graph for this function:
int XMIDIEventList::Write | ( | DataSource * | dest | ) |
Definition at line 1564 of file xmidi.cc.
References ConvertListToMTrk(), events, len, DataSource::write1(), DataSource::write2high(), and DataSource::write4high().
Here is the call graph for this function:
void XMIDIEventList::IncerementCounter | ( | ) | [inline] |
void XMIDIEventList::DecerementCounter | ( | ) |
int XMIDIEventList::counter [private] |
Definition at line 218 of file xmidi.h.
Referenced by ConvertListToMTrk(), DecerementCounter(), XMIDI::ExtractTracksFromMid(), XMIDI::ExtractTracksFromXmi(), and Write().