Fix whitespace.
git-svn-id: svn://localhost/ardour2/branches/3.0@10951 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
31264fbe43
commit
7adac311b4
@ -262,10 +262,10 @@ BufferSet::get_lv2_midi(bool input, size_t i)
|
|||||||
const Evoral::MIDIEvent<framepos_t> ev(*e, false);
|
const Evoral::MIDIEvent<framepos_t> ev(*e, false);
|
||||||
uint32_t type = LV2Plugin::midi_event_type();
|
uint32_t type = LV2Plugin::midi_event_type();
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
DEBUG_TRACE (PBD::DEBUG::LV2, string_compose ("(FLUSH) MIDI event of size %1\n", ev.size()));
|
DEBUG_TRACE (PBD::DEBUG::LV2, string_compose ("(FLUSH) MIDI event of size %1\n", ev.size()));
|
||||||
for (uint16_t x = 0; x < ev.size(); ++x) {
|
for (uint16_t x = 0; x < ev.size(); ++x) {
|
||||||
DEBUG_TRACE (PBD::DEBUG::LV2, string_compose ("\tByte[%1] = %2\n", x, (int) ev.buffer()[x]));
|
DEBUG_TRACE (PBD::DEBUG::LV2, string_compose ("\tByte[%1] = %2\n", x, (int) ev.buffer()[x]));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
ebuf->append(ev.time(), 0, type, ev.size(), ev.buffer());
|
ebuf->append(ev.time(), 0, type, ev.size(), ev.buffer());
|
||||||
}
|
}
|
||||||
@ -289,10 +289,10 @@ BufferSet::flush_lv2_midi(bool input, size_t i)
|
|||||||
uint8_t* data;
|
uint8_t* data;
|
||||||
ebuf->get_event(&frames, &subframes, &type, &size, &data);
|
ebuf->get_event(&frames, &subframes, &type, &size, &data);
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
DEBUG_TRACE (PBD::DEBUG::LV2, string_compose ("(FLUSH) MIDI event of size %1\n", size));
|
DEBUG_TRACE (PBD::DEBUG::LV2, string_compose ("(FLUSH) MIDI event of size %1\n", size));
|
||||||
for (uint16_t x = 0; x < size; ++x) {
|
for (uint16_t x = 0; x < size; ++x) {
|
||||||
DEBUG_TRACE (PBD::DEBUG::LV2, string_compose ("\tByte[%1] = %2\n", x, (int) data[x]));
|
DEBUG_TRACE (PBD::DEBUG::LV2, string_compose ("\tByte[%1] = %2\n", x, (int) data[x]));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
mbuf.push_back(frames, size, data);
|
mbuf.push_back(frames, size, data);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user