comparison data/fileio/MIDIFileWriter.h @ 1429:48e9f538e6e9

Untabify
author Chris Cannam
date Thu, 01 Mar 2018 18:02:22 +0000
parents c7e9afcbf070
children ad5f892c0c4d
comparison
equal deleted inserted replaced
1428:87ae75da6527 1429:48e9f538e6e9
58 protected: 58 protected:
59 typedef std::vector<MIDIEvent *> MIDITrack; 59 typedef std::vector<MIDIEvent *> MIDITrack;
60 typedef std::map<unsigned int, MIDITrack> MIDIComposition; 60 typedef std::map<unsigned int, MIDITrack> MIDIComposition;
61 61
62 typedef enum { 62 typedef enum {
63 MIDI_SINGLE_TRACK_FILE = 0x00, 63 MIDI_SINGLE_TRACK_FILE = 0x00,
64 MIDI_SIMULTANEOUS_TRACK_FILE = 0x01, 64 MIDI_SIMULTANEOUS_TRACK_FILE = 0x01,
65 MIDI_SEQUENTIAL_TRACK_FILE = 0x02, 65 MIDI_SEQUENTIAL_TRACK_FILE = 0x02,
66 MIDI_FILE_BAD_FORMAT = 0xFF 66 MIDI_FILE_BAD_FORMAT = 0xFF
67 } MIDIFileFormatType; 67 } MIDIFileFormatType;
68 68
69 std::string intToMIDIBytes(int number) const; 69 std::string intToMIDIBytes(int number) const;
70 std::string longToMIDIBytes(unsigned long number) const; 70 std::string longToMIDIBytes(unsigned long number) const;
71 std::string longToVarBuffer(unsigned long number) const; 71 std::string longToVarBuffer(unsigned long number) const;