From 2f6327c11369ddb1c761553468aab231484b8bd6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 2 Feb 2009 15:51:19 +0000 Subject: Disable excessive console output (please comment this stuff before committing...). git-svn-id: svn://localhost/ardour2/branches/3.0@4479 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/midi_ring_buffer.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'libs/ardour/midi_ring_buffer.cc') diff --git a/libs/ardour/midi_ring_buffer.cc b/libs/ardour/midi_ring_buffer.cc index eba1a9156b..1f5177614a 100644 --- a/libs/ardour/midi_ring_buffer.cc +++ b/libs/ardour/midi_ring_buffer.cc @@ -98,7 +98,7 @@ MidiRingBuffer::read(MidiBuffer& dst, nframes_t start, nframes_t end, nframes ev_time -= start; ev_time += offset; - // this writes the timestamp to address (write_loc - 1) + // write the timestamp to address (write_loc - 1) uint8_t* write_loc = dst.reserve(ev_time, ev_size); if (write_loc == NULL) { cerr << "MRB: Unable to reserve space in buffer, event skipped"; @@ -108,12 +108,11 @@ MidiRingBuffer::read(MidiBuffer& dst, nframes_t start, nframes_t end, nframes // write MIDI buffer contents success = Evoral::EventRingBuffer::full_read(ev_size, write_loc); - cerr << "wrote MidiEvent to Buffer: "; + /*cerr << "wrote MidiEvent to Buffer: "; for (size_t i=0; i < ev_size; ++i) { printf("%X ", write_loc[i]); } - printf("\n"); - + printf("\n");*/ if (success) { if (is_channel_event(status) && get_channel_mode() == ForceChannel) { -- cgit v1.2.3