diff options
author | Hans Baier <hansfbaier@googlemail.com> | 2009-02-02 09:10:26 +0000 |
---|---|---|
committer | Hans Baier <hansfbaier@googlemail.com> | 2009-02-02 09:10:26 +0000 |
commit | 018fff15ef766bb2a199441a7912fb8ab9984c72 (patch) | |
tree | 6aac1fe7731557f53ae2be5660955536500e5248 /libs/ardour/midi_ring_buffer.cc | |
parent | 858f0cb5abb7efe3be2940bc53a20ff000a11424 (diff) |
* fix misleading/wrong comment
git-svn-id: svn://localhost/ardour2/branches/3.0@4477 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/midi_ring_buffer.cc')
-rw-r--r-- | libs/ardour/midi_ring_buffer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/midi_ring_buffer.cc b/libs/ardour/midi_ring_buffer.cc index e93ca51b25..eba1a9156b 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 write_loc[0] + // this writes 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"; |