summaryrefslogtreecommitdiff
path: root/libs/midi++2/midi++/channel.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-04-24 02:28:51 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-04-24 02:28:51 +0000
commit33140f32671576a285d62f529447f941f96313fc (patch)
tree44faee5b21e3181077d0c22180895fb072432a53 /libs/midi++2/midi++/channel.h
parent10d37fecc1b54487a5fb0f3652bfb45a5224ef8b (diff)
add support for IP MIDI (multicast MIDI over IP UDP sockets) to ardour and use it if requested inside MCP code. required renaming the pre-existing MIDI::Port as MIDI:JackMIDIPort - MIDI::Port becomes the base type for both JackMIDIPort and IPMIDIPort
git-svn-id: svn://localhost/ardour2/branches/3.0@12069 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/midi++2/midi++/channel.h')
-rw-r--r--libs/midi++2/midi++/channel.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/midi++2/midi++/channel.h b/libs/midi++2/midi++/channel.h
index 370a569156..d00ce700c5 100644
--- a/libs/midi++2/midi++/channel.h
+++ b/libs/midi++2/midi++/channel.h
@@ -39,9 +39,9 @@ class Port;
class Channel : public PBD::ScopedConnectionList {
public:
- Channel (byte channel_number, PortBase &);
+ Channel (byte channel_number, Port &);
- PortBase &midi_port() { return _port; }
+ Port &midi_port() { return _port; }
byte channel() { return _channel_number; }
byte program() { return _program_number; }
byte bank() { return _bank_number; }
@@ -111,11 +111,11 @@ class Channel : public PBD::ScopedConnectionList {
}
protected:
- friend class PortBase;
+ friend class Port;
void connect_signals ();
private:
- PortBase& _port;
+ Port& _port;
/* Current channel values */
byte _channel_number;