diff options
author | David Robillard <d@drobilla.net> | 2009-02-02 15:51:19 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-02-02 15:51:19 +0000 |
commit | 2f6327c11369ddb1c761553468aab231484b8bd6 (patch) | |
tree | 0d87523bd9234f6113576ea53a0580950a0e5164 /libs/ardour/midi_ring_buffer.cc | |
parent | 23e7641a9bfa22db4e776dada6a98c55a40f9792 (diff) |
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
Diffstat (limited to 'libs/ardour/midi_ring_buffer.cc')
-rw-r--r-- | libs/ardour/midi_ring_buffer.cc | 7 |
1 files changed, 3 insertions, 4 deletions
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<T>::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<T>::read(MidiBuffer& dst, nframes_t start, nframes_t end, nframes // write MIDI buffer contents success = Evoral::EventRingBuffer<T>::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) { |