diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-09 11:05:55 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-09 11:05:55 -0400 |
commit | cdd415cdaf1eb8e7df942c55c88db139fb472277 (patch) | |
tree | b6a35905b0a4f18c0cf9cfe9b1a7bcb8aea42e00 /libs/ardour/async_midi_port.cc | |
parent | 268d53f5028c222d1f3b5d91b186eba52c5db6c8 (diff) |
tweaks to MidiBuffer::push_back() variants
1. there's no reason to make the same logic checks in both the Event and 3-arg variants when the Event
version simply calls the 3-arg variant
2. the Event version returned true under all conditions, even if the 3-arg part had failed to push
the Event data into the buffer. It now returns true or false, as intended.
3. remove debug output if a MidiBuffer is full during ::push_back(). The cases where this matters
emit output of their own, or simply remain silent and queue data later
Diffstat (limited to 'libs/ardour/async_midi_port.cc')
0 files changed, 0 insertions, 0 deletions