summaryrefslogtreecommitdiff
path: root/libs/ardour/midi_diskstream.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-07-26 01:16:37 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-07-26 01:16:37 +0000
commitfd384bf48e71b65ccd3858d10cc390c4128c469c (patch)
tree3f1a0205ad1a550fdda854a7809ae2cae8f15d8f /libs/ardour/midi_diskstream.cc
parent75fc3a82f88582691f478ce0f75fcab3e2e5d440 (diff)
remove some MIDI I/O debugging (hopefully all)
git-svn-id: svn://localhost/ardour2/branches/3.0@9927 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/midi_diskstream.cc')
-rw-r--r--libs/ardour/midi_diskstream.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/libs/ardour/midi_diskstream.cc b/libs/ardour/midi_diskstream.cc
index 6a75537f9a..beb3e1a76e 100644
--- a/libs/ardour/midi_diskstream.cc
+++ b/libs/ardour/midi_diskstream.cc
@@ -144,7 +144,6 @@ MidiDiskstream::non_realtime_locate (framepos_t position)
if (_write_source) {
_write_source->set_timeline_position (position);
}
- cerr << name() << " Seeking to " << position << endl;
seek (position, false);
}
@@ -871,10 +870,6 @@ MidiDiskstream::do_flush (RunContext /*context*/, bool force_flush)
assert (!destructive());
- cerr << name() << " flushing to disk, bufspace = " << _capture_buf->read_space()
- << " transport @ " << _session.transport_frame()
- << endl;
-
_write_data_count = 0;
total = _session.transport_frame() - _write_source->last_write_end();
@@ -882,11 +877,6 @@ MidiDiskstream::do_flush (RunContext /*context*/, bool force_flush)
if (total == 0 ||
_capture_buf->read_space() == 0 ||
(!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;
}
@@ -917,10 +907,6 @@ MidiDiskstream::do_flush (RunContext /*context*/, bool force_flush)
error << string_compose(_("MidiDiskstream %1: cannot write to disk"), _id) << endmsg;
return -1;
}
- } else {
- cerr << "\tdidn't write to disk because recenabled = " << record_enabled()
- << " total = " << total << " TF @ " << _session.transport_frame()
- << " force = " << force_flush << endl;
}
out: