haiku/src/kits/midi2/MidiLocalConsumer.cpp
jerl1 96462df1ad I add function that I have wrote
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 09:17:50 +00:00

169 lines
4.0 KiB
C++

/**
* @file MidiLocalConsumer.cpp
*
* @author Matthijs Hollemans
* @author Jerome Leveque
*/
#include "debug.h"
#include "MidiConsumer.h"
//------------------------------------------------------------------------------
BMidiLocalConsumer::BMidiLocalConsumer(const char* name)
: BMidiConsumer(name)
{
fFlags |= 0x10;
}
//------------------------------------------------------------------------------
BMidiLocalConsumer::~BMidiLocalConsumer()
{
UNIMPLEMENTED
}
//------------------------------------------------------------------------------
void BMidiLocalConsumer::SetLatency(bigtime_t latency)
{
fLatency = latency;
}
//------------------------------------------------------------------------------
int32 BMidiLocalConsumer::GetProducerID(void)
{
return fCurrentProducer;
}
//------------------------------------------------------------------------------
void BMidiLocalConsumer::SetTimeout(bigtime_t when, void* data)
{
fTimeout = when;
fTimeoutData = data;
}
//------------------------------------------------------------------------------
void BMidiLocalConsumer::Timeout(void* data)
{
UNIMPLEMENTED
}
//------------------------------------------------------------------------------
void BMidiLocalConsumer::Data(
uchar* data, size_t length, bool atomic, bigtime_t time)
{
UNIMPLEMENTED
}
//------------------------------------------------------------------------------
void BMidiLocalConsumer::NoteOff(
uchar channel, uchar note, uchar velocity, bigtime_t time)
{
UNIMPLEMENTED
}
//------------------------------------------------------------------------------
void BMidiLocalConsumer::NoteOn(
uchar channel, uchar note, uchar velocity, bigtime_t time)
{
UNIMPLEMENTED
}
//------------------------------------------------------------------------------
void BMidiLocalConsumer::KeyPressure(
uchar channel, uchar note, uchar pressure, bigtime_t time)
{
UNIMPLEMENTED
}
//------------------------------------------------------------------------------
void BMidiLocalConsumer::ControlChange(
uchar channel, uchar controlNumber, uchar controlValue, bigtime_t time)
{
UNIMPLEMENTED
}
//------------------------------------------------------------------------------
void BMidiLocalConsumer::ProgramChange(
uchar channel, uchar programNumber, bigtime_t time)
{
UNIMPLEMENTED
}
//------------------------------------------------------------------------------
void BMidiLocalConsumer::ChannelPressure(
uchar channel, uchar pressure, bigtime_t time)
{
UNIMPLEMENTED
}
//------------------------------------------------------------------------------
void BMidiLocalConsumer::PitchBend(
uchar channel, uchar lsb, uchar msb, bigtime_t time)
{
UNIMPLEMENTED
}
//------------------------------------------------------------------------------
void BMidiLocalConsumer::SystemExclusive(
void* data, size_t dataLength, bigtime_t time)
{
UNIMPLEMENTED
}
//------------------------------------------------------------------------------
void BMidiLocalConsumer::SystemCommon(
uchar statusByte, uchar data1, uchar data2, bigtime_t time)
{
UNIMPLEMENTED
}
//------------------------------------------------------------------------------
void BMidiLocalConsumer::SystemRealTime(uchar statusByte, bigtime_t time)
{
UNIMPLEMENTED
}
//------------------------------------------------------------------------------
void BMidiLocalConsumer::TempoChange(int32 bpm, bigtime_t time)
{
UNIMPLEMENTED
}
//------------------------------------------------------------------------------
void BMidiLocalConsumer::AllNotesOff(bool justChannel, bigtime_t time)
{
UNIMPLEMENTED
}
//------------------------------------------------------------------------------
void BMidiLocalConsumer::_Reserved1() { }
void BMidiLocalConsumer::_Reserved2() { }
void BMidiLocalConsumer::_Reserved3() { }
void BMidiLocalConsumer::_Reserved4() { }
void BMidiLocalConsumer::_Reserved5() { }
void BMidiLocalConsumer::_Reserved6() { }
void BMidiLocalConsumer::_Reserved7() { }
void BMidiLocalConsumer::_Reserved8() { }
//------------------------------------------------------------------------------