/*
Copyright (C) 1998 Paul Barton-Davis
-
+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
for (int i = 0; i < 16; i++) {
delete _channel[i];
}
+
+ delete _parser;
}
/** Send a clock tick message.
Port::clock (timestamp_t timestamp)
{
static byte clockmsg = 0xf8;
-
+
if (sends_output()) {
return midimsg (&clockmsg, 1, timestamp);
}
-
+
return false;
}
}
}
-XMLNode&
+XMLNode&
Port::get_state () const
{
XMLNode* root = new XMLNode (state_node_name);
} else {
root->add_property ("mode", "output");
}
-
+
#if 0
byte device_inquiry[6];
device_inquiry[0] = 0x06;
device_inquiry[0] = 0x02;
device_inquiry[0] = 0xf7;
-
+
write (device_inquiry, sizeof (device_inquiry), 0);
#endif