1
Fork 0

increased max ports to 16

This commit is contained in:
Leonard Ritter 2010-09-18 17:38:03 +02:00
parent 24c8540ef1
commit 0b7590199d
2 changed files with 2 additions and 1 deletions

View File

@ -143,6 +143,7 @@ public:
}
virtual void on_message(const Message &msg) {
//printf("msg: CH%i 0x%x %i %i\n", msg.channel+1, msg.command, msg.data1, msg.data2);
int offset = (int)(msg.timestamp>>32);
midi_omni_out->write_event(offset, msg);
midi_ports[msg.port]->write_event(offset, msg);

View File

@ -87,7 +87,7 @@ enum {
enum {
MaxTracks = 32,
MaxChannels = 256,
MaxPorts = 8,
MaxPorts = 16,
};
//=============================================================================