tweaks to MidiBuffer::push_back() variants
authorPaul Davis <paul@linuxaudiosystems.com>
Fri, 9 Oct 2015 15:05:55 +0000 (11:05 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Fri, 9 Oct 2015 15:05:55 +0000 (11:05 -0400)
commitcdd415cdaf1eb8e7df942c55c88db139fb472277
treeb6a35905b0a4f18c0cf9cfe9b1a7bcb8aea42e00
parent268d53f5028c222d1f3b5d91b186eba52c5db6c8
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
libs/ardour/midi_buffer.cc