13
0
livetrax/libs/surfaces/mackie/dummy_port.cc
Paul Davis 51625b2474 "merge" (i.e. wholesale import) 2.0-ongoing Mackie code and then fix to compile in 3.0 context
git-svn-id: svn://localhost/ardour2/branches/3.0@4315 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-12 22:55:03 +00:00

59 lines
816 B
C++

#include "dummy_port.h"
#include "midi_byte_array.h"
#include <midi++/port.h>
#include <midi++/types.h>
#include <iostream>
using namespace Mackie;
using namespace std;
DummyPort::DummyPort()
{
}
DummyPort::~DummyPort()
{
}
void DummyPort::open()
{
cout << "DummyPort::open" << endl;
}
void DummyPort::close()
{
cout << "DummyPort::close" << endl;
}
MidiByteArray DummyPort::read()
{
cout << "DummyPort::read" << endl;
return MidiByteArray();
}
void DummyPort::write( const MidiByteArray & mba )
{
cout << "DummyPort::write " << mba << endl;
}
MidiByteArray empty_midi_byte_array;
const MidiByteArray & DummyPort::sysex_hdr() const
{
cout << "DummyPort::sysex_hdr" << endl;
return empty_midi_byte_array;
}
int DummyPort::strips() const
{
cout << "DummyPort::strips" << endl;
return 0;
}