From fd384bf48e71b65ccd3858d10cc390c4128c469c Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 26 Jul 2011 01:16:37 +0000 Subject: [PATCH] remove some MIDI I/O debugging (hopefully all) git-svn-id: svn://localhost/ardour2/branches/3.0@9927 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/midi_diskstream.cc | 14 -------------- 1 file changed, 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: