mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-11 17:16:38 +01:00
remove some MIDI I/O debugging (hopefully all)
git-svn-id: svn://localhost/ardour2/branches/3.0@9927 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
75fc3a82f8
commit
fd384bf48e
1 changed files with 0 additions and 14 deletions
|
|
@ -144,7 +144,6 @@ MidiDiskstream::non_realtime_locate (framepos_t position)
|
||||||
if (_write_source) {
|
if (_write_source) {
|
||||||
_write_source->set_timeline_position (position);
|
_write_source->set_timeline_position (position);
|
||||||
}
|
}
|
||||||
cerr << name() << " Seeking to " << position << endl;
|
|
||||||
seek (position, false);
|
seek (position, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -871,10 +870,6 @@ MidiDiskstream::do_flush (RunContext /*context*/, bool force_flush)
|
||||||
|
|
||||||
assert (!destructive());
|
assert (!destructive());
|
||||||
|
|
||||||
cerr << name() << " flushing to disk, bufspace = " << _capture_buf->read_space()
|
|
||||||
<< " transport @ " << _session.transport_frame()
|
|
||||||
<< endl;
|
|
||||||
|
|
||||||
_write_data_count = 0;
|
_write_data_count = 0;
|
||||||
|
|
||||||
total = _session.transport_frame() - _write_source->last_write_end();
|
total = _session.transport_frame() - _write_source->last_write_end();
|
||||||
|
|
@ -882,11 +877,6 @@ MidiDiskstream::do_flush (RunContext /*context*/, bool force_flush)
|
||||||
if (total == 0 ||
|
if (total == 0 ||
|
||||||
_capture_buf->read_space() == 0 ||
|
_capture_buf->read_space() == 0 ||
|
||||||
(!force_flush && (total < disk_io_chunk_frames) && was_recording)) {
|
(!force_flush && (total < disk_io_chunk_frames) && was_recording)) {
|
||||||
cerr << "\tFlush shortcut because total = " << total
|
|
||||||
<< " capture read space = " << _capture_buf->read_space()
|
|
||||||
<< " force flush = " << force_flush
|
|
||||||
<< " was recording = " << was_recording
|
|
||||||
<< endl;
|
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -917,10 +907,6 @@ MidiDiskstream::do_flush (RunContext /*context*/, bool force_flush)
|
||||||
error << string_compose(_("MidiDiskstream %1: cannot write to disk"), _id) << endmsg;
|
error << string_compose(_("MidiDiskstream %1: cannot write to disk"), _id) << endmsg;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
cerr << "\tdidn't write to disk because recenabled = " << record_enabled()
|
|
||||||
<< " total = " << total << " TF @ " << _session.transport_frame()
|
|
||||||
<< " force = " << force_flush << endl;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
out:
|
out:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue