#include <iostream>
#include "wave-midi/midi_file.h"
Go to the source code of this file.
Defines | |
#define | STAT_ENTRY(name, status) { #name , media::MidiEvent::status } , |
Typedefs | |
typedef const char * | cc_ptr_t |
Functions | |
static const char * | getNextToken (IO cc_ptr_t &p) |
static void | addMeta (IN media::MidiFile *mf, IN const char *p) |
static media::MidiEvent::eStatus | getStatus (IN const char *type) |
static void | addEvent (IN media::MidiFile *mf, IN const char *p) |
static void | addEvents (IN media::MidiFile *mf, IO std::istream &stream) |
int | main (IN int argc, IN const char *argv[]) |
Variables | |
static const stat_entry_t | s_statusTable [] |
#define STAT_ENTRY | ( | name, | ||
status | ||||
) | { #name , media::MidiEvent::status } , |
Definition at line 25 of file midi-writer.cpp.
typedef const char* cc_ptr_t |
Definition at line 17 of file midi-writer.cpp.
static const char* getNextToken | ( | IO cc_ptr_t & | p | ) | [static] |
Definition at line 47 of file midi-writer.cpp.
static void addMeta | ( | IN media::MidiFile * | mf, | |
IN const char * | p | |||
) | [static] |
Definition at line 86 of file midi-writer.cpp.
static media::MidiEvent::eStatus getStatus | ( | IN const char * | type | ) | [static] |
Definition at line 110 of file midi-writer.cpp.
static void addEvent | ( | IN media::MidiFile * | mf, | |
IN const char * | p | |||
) | [static] |
Definition at line 132 of file midi-writer.cpp.
static void addEvents | ( | IN media::MidiFile * | mf, | |
IO std::istream & | stream | |||
) | [static] |
Definition at line 168 of file midi-writer.cpp.
int main | ( | IN int | argc, | |
IN const char * | argv[] | |||
) |
Definition at line 208 of file midi-writer.cpp.
const stat_entry_t s_statusTable[] [static] |
{ { 0, media::MidiEvent::eInvalid } }
Definition at line 27 of file midi-writer.cpp.