diff options
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) { |