LV2 Midi Event: Check event type for MIDI events
authorGabriel M. Beddingfield <gabrbedd@gmail.com>
Mon, 11 Jul 2011 03:37:01 +0000 (22:37 -0500)
committerGabriel M. Beddingfield <gabrbedd@gmail.com>
Mon, 11 Jul 2011 03:37:01 +0000 (22:37 -0500)
commita99ad2309cd5584e181cad73f6f7947ea8a95437
tree11003ee9b19e8b58016a7f25eb903832a56debb0
parent6e6e5c2836dfc912a83b5a7615eed042011fbe85
LV2 Midi Event: Check event type for MIDI events

Beforehand, the Composite sampler assumed that all events being sent
to the sampler were MIDI events <http://lv2plug.in/ns/ext/midi#MidiEvent>.
However, this is a false assumption since the documentation says that
the type must be compared with the value returned from the uri-map
feature.

There have been no known crashes due to this, but there is the
potential for one.
src/sampler/EngineLv2.cpp
src/sampler/EngineLv2.hpp
src/sampler/composite_sampler.ttl