From e8a12a1a299cdb1b9cc128a5f6c00fb952adfa89 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 29 Oct 2019 20:46:21 -0600 Subject: [PATCH] clarify clarifying comment --- libs/ardour/rt_midibuffer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/ardour/rt_midibuffer.cc b/libs/ardour/rt_midibuffer.cc index 933593e0a1..ec8a2852bd 100644 --- a/libs/ardour/rt_midibuffer.cc +++ b/libs/ardour/rt_midibuffer.cc @@ -130,14 +130,14 @@ RTMidiBuffer::write (TimeType time, Evoral::EventType /*type*/, uint32_t size, c 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))); } else { 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; switch (size) {