summaryrefslogtreecommitdiff
path: root/libs/ardour/midi_port.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-02-19 15:55:16 -0500
committerDavid Robillard <d@drobilla.net>2015-02-19 18:38:30 -0500
commit6fb4bd578ef30fc65c06b98c32a3278d9c443696 (patch)
tree084ccbd67707e7683b931fc7c234458cf00f4182 /libs/ardour/midi_port.cc
parent6a033a093b0ff48691352b98dc89ef20c557a4e8 (diff)
Don't allocate then discard notes on note off.
Silly to make a junk Note just to pass to append_note_off_unlocked, which just uses the fields that are on the MIDIEvent anyway then throws it away. Also explicitly dispatch to append_note_off_unlocked in the caller for note ons with velocity 0 rather than make append_note_on_unlocked deal with it.
Diffstat (limited to 'libs/ardour/midi_port.cc')
0 files changed, 0 insertions, 0 deletions