mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
remove ipmidi debugging
This commit is contained in:
parent
62ff9d9276
commit
0a6eed2b33
2 changed files with 1 additions and 7 deletions
|
|
@ -85,9 +85,8 @@ bool
|
|||
MidiControlUI::midi_input_handler (IOCondition ioc, boost::shared_ptr<AsyncMIDIPort> port)
|
||||
{
|
||||
DEBUG_TRACE (DEBUG::MidiIO, string_compose ("something happend on %1\n", boost::shared_ptr<ARDOUR::Port> (port)->name()));
|
||||
cout << "Something happened on " << boost::shared_ptr<ARDOUR::Port> (port)->name() << " ioc = " << hex << ioc << dec << endl;
|
||||
|
||||
if (ioc & ~IO_IN) {
|
||||
cout << "....no input ... do nothing" << endl;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -95,7 +94,6 @@ MidiControlUI::midi_input_handler (IOCondition ioc, boost::shared_ptr<AsyncMIDIP
|
|||
|
||||
port->clear ();
|
||||
DEBUG_TRACE (DEBUG::MidiIO, string_compose ("data available on %1\n", boost::shared_ptr<ARDOUR::Port>(port)->name()));
|
||||
cout << "....input appears ready\n";
|
||||
framepos_t now = _session.engine().sample_time();
|
||||
port->parse (now);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -321,10 +321,6 @@ IPMIDIPort::parse (framecnt_t timestamp)
|
|||
socklen_t slen = sizeof(sender);
|
||||
int r = ::recvfrom (sockin, (char *) buf, sizeof(buf), 0, (struct sockaddr *) &sender, &slen);
|
||||
|
||||
if (r != 18) {
|
||||
cout << "IPMIDI: received from socket: " << r << endl;
|
||||
}
|
||||
|
||||
if (r >= 0) {
|
||||
|
||||
_parser->set_timestamp (timestamp);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue