Namespaces | Functions | Variables

midi_file.cpp File Reference

#include "midi_file.h"
#include <netinet/in.h>
Include dependency graph for midi_file.cpp:

Go to the source code of this file.

Namespaces

namespace  media

Functions

void media::WriteByte (IN FILE *file, IN byte_t byte) throw ()
void media::WriteWord (IN FILE *file, IN word_t word) throw ()
void media::WriteDword (IN FILE *file, IN dword_t dword) throw ()
int media::WriteVariable (IN FILE *file, IN dword_t value) throw ()
void media::WriteChunkHeader (IN FILE *file, IN const char *name, IN dword_t length) throw ()
static void media::AddNote (IN MidiFile *file, IN dword_t tick, IN int channel, IN int note, IN int velocity, IN bool note_on) throw ()
void media::AddNoteOn (IN MidiFile *file, dword_t tick, int channel, int note, int velocity) throw ()
void media::AddNoteOff (IN MidiFile *file, dword_t tick, int channel, int note, int velocity) throw ()

Variables

static const int media::s_MaxTracks = 16
static const long media::s_usec_per_minute = 60 * 1000 * 1000