Stub implementation of libmidi2.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1803 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -53,6 +53,7 @@ SubInclude OBOS_TOP src kits app ;
|
|||||||
SubInclude OBOS_TOP src kits interface ;
|
SubInclude OBOS_TOP src kits interface ;
|
||||||
SubInclude OBOS_TOP src kits media ;
|
SubInclude OBOS_TOP src kits media ;
|
||||||
SubInclude OBOS_TOP src kits midi ;
|
SubInclude OBOS_TOP src kits midi ;
|
||||||
|
SubInclude OBOS_TOP src kits midi2 ;
|
||||||
SubInclude OBOS_TOP src kits screensaver ;
|
SubInclude OBOS_TOP src kits screensaver ;
|
||||||
SubInclude OBOS_TOP src kits storage ;
|
SubInclude OBOS_TOP src kits storage ;
|
||||||
SubInclude OBOS_TOP src kits support ;
|
SubInclude OBOS_TOP src kits support ;
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
SubDir OBOS_TOP src kits midi2 ;
|
||||||
|
|
||||||
|
UsePrivateHeaders midi ;
|
||||||
|
|
||||||
|
UsePublicHeaders midi2 ;
|
||||||
|
|
||||||
|
SharedLibrary midi2 :
|
||||||
|
MidiRoster.cpp
|
||||||
|
MidiEndpoint.cpp
|
||||||
|
MidiConsumer.cpp
|
||||||
|
MidiLocalConsumer.cpp
|
||||||
|
MidiProducer.cpp
|
||||||
|
MidiLocalProducer.cpp
|
||||||
|
;
|
||||||
|
|
||||||
|
LinkSharedOSLibs libmidi2.so :
|
||||||
|
be root
|
||||||
|
;
|
||||||
|
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
|
||||||
|
#include "debug.h"
|
||||||
|
#include "MidiConsumer.h"
|
||||||
|
#include "MidiEndpoint.h"
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
bigtime_t BMidiConsumer::Latency() const
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return 0LL;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
BMidiConsumer::BMidiConsumer(const char* name)
|
||||||
|
: BMidiEndpoint(name)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
BMidiConsumer::~BMidiConsumer()
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiConsumer::_Reserved1() { }
|
||||||
|
void BMidiConsumer::_Reserved2() { }
|
||||||
|
void BMidiConsumer::_Reserved3() { }
|
||||||
|
void BMidiConsumer::_Reserved4() { }
|
||||||
|
void BMidiConsumer::_Reserved5() { }
|
||||||
|
void BMidiConsumer::_Reserved6() { }
|
||||||
|
void BMidiConsumer::_Reserved7() { }
|
||||||
|
void BMidiConsumer::_Reserved8() { }
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -0,0 +1,150 @@
|
|||||||
|
|
||||||
|
#include "debug.h"
|
||||||
|
#include "MidiEndpoint.h"
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
const char* BMidiEndpoint::Name() const
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiEndpoint::SetName(const char* name)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
int32 BMidiEndpoint::ID() const
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
bool BMidiEndpoint::IsProducer() const
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
bool BMidiEndpoint::IsConsumer() const
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
bool BMidiEndpoint::IsRemote() const
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
bool BMidiEndpoint::IsLocal() const
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
bool BMidiEndpoint::IsPersistent() const
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
bool BMidiEndpoint::IsValid() const
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
status_t BMidiEndpoint::Release()
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return B_ERROR;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
status_t BMidiEndpoint::Acquire()
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return B_ERROR;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
status_t BMidiEndpoint::SetProperties(const BMessage* props)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return B_ERROR;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
status_t BMidiEndpoint::GetProperties(BMessage* props) const
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return B_ERROR;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
status_t BMidiEndpoint::Register(void)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return B_ERROR;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
status_t BMidiEndpoint::Unregister(void)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return B_ERROR;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
BMidiEndpoint::BMidiEndpoint(const char* name)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
BMidiEndpoint::~BMidiEndpoint()
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiEndpoint::_Reserved1() { }
|
||||||
|
void BMidiEndpoint::_Reserved2() { }
|
||||||
|
void BMidiEndpoint::_Reserved3() { }
|
||||||
|
void BMidiEndpoint::_Reserved4() { }
|
||||||
|
void BMidiEndpoint::_Reserved5() { }
|
||||||
|
void BMidiEndpoint::_Reserved6() { }
|
||||||
|
void BMidiEndpoint::_Reserved7() { }
|
||||||
|
void BMidiEndpoint::_Reserved8() { }
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -0,0 +1,161 @@
|
|||||||
|
|
||||||
|
#include "debug.h"
|
||||||
|
#include "MidiConsumer.h"
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
BMidiLocalConsumer::BMidiLocalConsumer(const char* name)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
BMidiLocalConsumer::~BMidiLocalConsumer()
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiLocalConsumer::SetLatency(bigtime_t latency)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
int32 BMidiLocalConsumer::GetProducerID(void)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiLocalConsumer::SetTimeout(bigtime_t when, void* data)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
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() { }
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -0,0 +1,150 @@
|
|||||||
|
|
||||||
|
#include "debug.h"
|
||||||
|
#include "MidiProducer.h"
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
BMidiLocalProducer::BMidiLocalProducer(const char* name)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
BMidiLocalProducer::~BMidiLocalProducer()
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiLocalProducer::Connected(BMidiConsumer* dest)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiLocalProducer::Disconnected(BMidiConsumer* dest)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiLocalProducer::SprayData(
|
||||||
|
void* data, size_t length, bool atomic, bigtime_t time) const
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiLocalProducer::SprayNoteOff(
|
||||||
|
uchar channel, uchar note, uchar velocity, bigtime_t time) const
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiLocalProducer::SprayNoteOn(
|
||||||
|
uchar channel, uchar note, uchar velocity, bigtime_t time) const
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiLocalProducer::SprayKeyPressure(
|
||||||
|
uchar channel, uchar note, uchar pressure, bigtime_t time) const
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiLocalProducer::SprayControlChange(
|
||||||
|
uchar channel, uchar controlNumber, uchar controlValue,
|
||||||
|
bigtime_t time) const
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiLocalProducer::SprayProgramChange(
|
||||||
|
uchar channel, uchar programNumber, bigtime_t time) const
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiLocalProducer::SprayChannelPressure(
|
||||||
|
uchar channel, uchar pressure, bigtime_t time) const
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiLocalProducer::SprayPitchBend(
|
||||||
|
uchar channel, uchar lsb, uchar msb, bigtime_t time) const
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiLocalProducer::SpraySystemExclusive(
|
||||||
|
void* data, size_t dataLength, bigtime_t time) const
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiLocalProducer::SpraySystemCommon(
|
||||||
|
uchar statusByte, uchar data1, uchar data2, bigtime_t time) const
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiLocalProducer::SpraySystemRealTime(
|
||||||
|
uchar statusByte, bigtime_t time) const
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiLocalProducer::SprayTempoChange(
|
||||||
|
int32 bpm, bigtime_t time) const
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiLocalProducer::SprayEvent(
|
||||||
|
BMidiEvent* event, size_t length) const
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiLocalProducer::_Reserved1() { }
|
||||||
|
void BMidiLocalProducer::_Reserved2() { }
|
||||||
|
void BMidiLocalProducer::_Reserved3() { }
|
||||||
|
void BMidiLocalProducer::_Reserved4() { }
|
||||||
|
void BMidiLocalProducer::_Reserved5() { }
|
||||||
|
void BMidiLocalProducer::_Reserved6() { }
|
||||||
|
void BMidiLocalProducer::_Reserved7() { }
|
||||||
|
void BMidiLocalProducer::_Reserved8() { }
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -0,0 +1,65 @@
|
|||||||
|
|
||||||
|
#include "debug.h"
|
||||||
|
#include "MidiProducer.h"
|
||||||
|
#include "MidiEndpoint.h"
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
status_t BMidiProducer::Connect(BMidiConsumer* toObject)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return B_ERROR;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
status_t BMidiProducer::Disconnect(BMidiConsumer* toObject)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return B_ERROR;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
bool BMidiProducer::IsConnected(BMidiConsumer* toObject) const
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
BList* BMidiProducer::Connections() const
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
BMidiProducer::BMidiProducer(const char* name)
|
||||||
|
: BMidiEndpoint(name)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
BMidiProducer::~BMidiProducer()
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiProducer::_Reserved1() { }
|
||||||
|
void BMidiProducer::_Reserved2() { }
|
||||||
|
void BMidiProducer::_Reserved3() { }
|
||||||
|
void BMidiProducer::_Reserved4() { }
|
||||||
|
void BMidiProducer::_Reserved5() { }
|
||||||
|
void BMidiProducer::_Reserved6() { }
|
||||||
|
void BMidiProducer::_Reserved7() { }
|
||||||
|
void BMidiProducer::_Reserved8() { }
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -0,0 +1,286 @@
|
|||||||
|
|
||||||
|
#include "debug.h"
|
||||||
|
#include "MidiRoster.h"
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
BMidiEndpoint* BMidiRoster::NextEndpoint(int32* id)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
BMidiProducer* BMidiRoster::NextProducer(int32* id)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
BMidiConsumer* BMidiRoster::NextConsumer(int32* id)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
BMidiEndpoint* BMidiRoster::FindEndpoint(int32 id, bool local_only)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
BMidiProducer* BMidiRoster::FindProducer(int32 id, bool local_only)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
BMidiConsumer* BMidiRoster::FindConsumer(int32 id, bool local_only)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiRoster::StartWatching(const BMessenger* msngr)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiRoster::StopWatching()
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
status_t BMidiRoster::Register(BMidiEndpoint* object)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return B_ERROR;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
status_t BMidiRoster::Unregister(BMidiEndpoint* object)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return B_ERROR;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
BMidiRoster* BMidiRoster::MidiRoster()
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
BMidiRoster::BMidiRoster(BMessenger* remote)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
BMidiRoster::~BMidiRoster()
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiRoster::_Reserved1() { }
|
||||||
|
void BMidiRoster::_Reserved2() { }
|
||||||
|
void BMidiRoster::_Reserved3() { }
|
||||||
|
void BMidiRoster::_Reserved4() { }
|
||||||
|
void BMidiRoster::_Reserved5() { }
|
||||||
|
void BMidiRoster::_Reserved6() { }
|
||||||
|
void BMidiRoster::_Reserved7() { }
|
||||||
|
void BMidiRoster::_Reserved8() { }
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
status_t BMidiRoster::RemoteConnect(
|
||||||
|
int32 producer, int32 consumer, int32 port)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return B_ERROR;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
status_t BMidiRoster::RemoteDisconnect(int32 producer, int32 consumer)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return B_ERROR;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiRoster::RemoteConnected(int32 producer, int32 consumer)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiRoster::RemoteDisconnected(int32 producer, int32 consumer)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
BMidiEndpoint* BMidiRoster::RemoteCreateProducer(
|
||||||
|
int32 producer, const char* name)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
BMidiEndpoint* BMidiRoster::RemoteCreateConsumer(
|
||||||
|
int32 consumer, const char* name, int32 port, int32 latency)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiRoster::RemoteDelete(BMidiEndpoint* object)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiRoster::RemoteRename(
|
||||||
|
BMidiEndpoint* object, const char* name)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiRoster::RemoteChangeLatency(
|
||||||
|
BMidiEndpoint* object, bigtime_t latency)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
status_t BMidiRoster::Remote(int32 id, int32 op)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return B_ERROR;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
status_t BMidiRoster::DoRemote(BMessage* msg, BMessage* result)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return B_ERROR;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiRoster::Rename(BMidiEndpoint* midi, const char* name)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
status_t BMidiRoster::Release(BMidiEndpoint* midi)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return B_ERROR;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
status_t BMidiRoster::Acquire(BMidiEndpoint* midi)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return B_ERROR;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiRoster::Create(BMidiEndpoint* midi)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void BMidiRoster::SetLatency(BMidiConsumer* midi, bigtime_t latency)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
status_t BMidiRoster::SetProperties(
|
||||||
|
BMidiEndpoint* midi, const BMessage* props)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return B_ERROR;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
status_t BMidiRoster::GetProperties(
|
||||||
|
const BMidiEndpoint* midi, BMessage* props)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return B_ERROR;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
status_t BMidiRoster::Connect(
|
||||||
|
BMidiProducer* source, BMidiConsumer* sink)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return B_ERROR;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
status_t BMidiRoster::Disconnect(
|
||||||
|
BMidiProducer* source, BMidiConsumer* sink)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return B_ERROR;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
BLooper* BMidiRoster::Looper()
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
Reference in New Issue
Block a user