mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-22 14:46:34 +01:00
clarify clarifying comment
This commit is contained in:
parent
6e0c5483b2
commit
e8a12a1a29
1 changed files with 2 additions and 2 deletions
|
|
@ -130,14 +130,14 @@ RTMidiBuffer::write (TimeType time, Evoral::EventType /*type*/, uint32_t size, c
|
||||||
|
|
||||||
uint32_t off = store_blob (size, buf);
|
uint32_t off = store_blob (size, buf);
|
||||||
|
|
||||||
/* this indicates that the data (more than 3 bytes) is not inline */
|
/* non-zero MSbit indicates that the data (more than 3 bytes) is not inline */
|
||||||
_data[_size].offset = (off | (1<<(sizeof(uint8_t)-1)));
|
_data[_size].offset = (off | (1<<(sizeof(uint8_t)-1)));
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
assert ((int) size == Evoral::midi_event_size (buf[0]));
|
assert ((int) size == Evoral::midi_event_size (buf[0]));
|
||||||
|
|
||||||
/* this indicates that the data (up to 3 bytes) is inline */
|
/* zero MSbit indicates that the data (up to 3 bytes) is inline */
|
||||||
_data[_size].bytes[0] = 0;
|
_data[_size].bytes[0] = 0;
|
||||||
|
|
||||||
switch (size) {
|
switch (size) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue