1 /** 2 * @file MidiLocalConsumer.cpp 3 * 4 * @author Matthijs Hollemans 5 * @author Jerome Leveque 6 */ 7 8 #include "debug.h" 9 #include "MidiConsumer.h" 10 11 //------------------------------------------------------------------------------ 12 13 BMidiLocalConsumer::BMidiLocalConsumer(const char* name) 14 : BMidiConsumer(name) 15 { 16 fFlags |= 0x10; 17 } 18 19 //------------------------------------------------------------------------------ 20 21 BMidiLocalConsumer::~BMidiLocalConsumer() 22 { 23 UNIMPLEMENTED 24 } 25 26 //------------------------------------------------------------------------------ 27 28 void BMidiLocalConsumer::SetLatency(bigtime_t latency) 29 { 30 fLatency = latency; 31 } 32 33 //------------------------------------------------------------------------------ 34 35 int32 BMidiLocalConsumer::GetProducerID(void) 36 { 37 return fCurrentProducer; 38 } 39 40 //------------------------------------------------------------------------------ 41 42 void BMidiLocalConsumer::SetTimeout(bigtime_t when, void* data) 43 { 44 fTimeout = when; 45 fTimeoutData = data; 46 } 47 48 //------------------------------------------------------------------------------ 49 50 void BMidiLocalConsumer::Timeout(void* data) 51 { 52 UNIMPLEMENTED 53 } 54 55 //------------------------------------------------------------------------------ 56 57 void BMidiLocalConsumer::Data( 58 uchar* data, size_t length, bool atomic, bigtime_t time) 59 { 60 UNIMPLEMENTED 61 } 62 63 //------------------------------------------------------------------------------ 64 65 void BMidiLocalConsumer::NoteOff( 66 uchar channel, uchar note, uchar velocity, bigtime_t time) 67 { 68 UNIMPLEMENTED 69 } 70 71 //------------------------------------------------------------------------------ 72 73 void BMidiLocalConsumer::NoteOn( 74 uchar channel, uchar note, uchar velocity, bigtime_t time) 75 { 76 UNIMPLEMENTED 77 } 78 79 //------------------------------------------------------------------------------ 80 81 void BMidiLocalConsumer::KeyPressure( 82 uchar channel, uchar note, uchar pressure, bigtime_t time) 83 { 84 UNIMPLEMENTED 85 } 86 87 //------------------------------------------------------------------------------ 88 89 void BMidiLocalConsumer::ControlChange( 90 uchar channel, uchar controlNumber, uchar controlValue, bigtime_t time) 91 { 92 UNIMPLEMENTED 93 } 94 95 //------------------------------------------------------------------------------ 96 97 void BMidiLocalConsumer::ProgramChange( 98 uchar channel, uchar programNumber, bigtime_t time) 99 { 100 UNIMPLEMENTED 101 } 102 103 //------------------------------------------------------------------------------ 104 105 void BMidiLocalConsumer::ChannelPressure( 106 uchar channel, uchar pressure, bigtime_t time) 107 { 108 UNIMPLEMENTED 109 } 110 111 //------------------------------------------------------------------------------ 112 113 void BMidiLocalConsumer::PitchBend( 114 uchar channel, uchar lsb, uchar msb, bigtime_t time) 115 { 116 UNIMPLEMENTED 117 } 118 119 //------------------------------------------------------------------------------ 120 121 void BMidiLocalConsumer::SystemExclusive( 122 void* data, size_t dataLength, bigtime_t time) 123 { 124 UNIMPLEMENTED 125 } 126 127 //------------------------------------------------------------------------------ 128 129 void BMidiLocalConsumer::SystemCommon( 130 uchar statusByte, uchar data1, uchar data2, bigtime_t time) 131 { 132 UNIMPLEMENTED 133 } 134 135 //------------------------------------------------------------------------------ 136 137 void BMidiLocalConsumer::SystemRealTime(uchar statusByte, bigtime_t time) 138 { 139 UNIMPLEMENTED 140 } 141 142 //------------------------------------------------------------------------------ 143 144 void BMidiLocalConsumer::TempoChange(int32 bpm, bigtime_t time) 145 { 146 UNIMPLEMENTED 147 } 148 149 //------------------------------------------------------------------------------ 150 151 void BMidiLocalConsumer::AllNotesOff(bool justChannel, bigtime_t time) 152 { 153 UNIMPLEMENTED 154 } 155 156 //------------------------------------------------------------------------------ 157 158 void BMidiLocalConsumer::_Reserved1() { } 159 void BMidiLocalConsumer::_Reserved2() { } 160 void BMidiLocalConsumer::_Reserved3() { } 161 void BMidiLocalConsumer::_Reserved4() { } 162 void BMidiLocalConsumer::_Reserved5() { } 163 void BMidiLocalConsumer::_Reserved6() { } 164 void BMidiLocalConsumer::_Reserved7() { } 165 void BMidiLocalConsumer::_Reserved8() { } 166 167 //------------------------------------------------------------------------------ 168 169