projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
858f0cb
)
* fix misleading/wrong comment
author
Hans Baier
<hansfbaier@googlemail.com>
Mon, 2 Feb 2009 09:10:26 +0000
(09:10 +0000)
committer
Hans Baier
<hansfbaier@googlemail.com>
Mon, 2 Feb 2009 09:10:26 +0000
(09:10 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@4477
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/ardour/midi_ring_buffer.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/midi_ring_buffer.cc
b/libs/ardour/midi_ring_buffer.cc
index e93ca51b2503124376779b5d35bb56d27e9a62e3..eba1a9156baa4270e7899b55664bfe29a13d1b81 100644
(file)
--- 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";