From 9f1e61f03ca82258eae05042fbd44a5854048e05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Fri, 25 Jan 2019 16:42:49 +0100 Subject: [PATCH] midifilter.lv2: upgrade 0.5.1 -> 0.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit My patch was applied \o/ Signed-off-by: Andreas Müller --- ...-Forward-CCs-to-both-target-channels.patch | 46 ------------------- .../x42/midifilter.lv2_git.bb | 5 +- 2 files changed, 2 insertions(+), 49 deletions(-) delete mode 100644 recipes-misc/recipes-multimedia/x42/midifilter.lv2/0001-keysplit-Forward-CCs-to-both-target-channels.patch diff --git a/recipes-misc/recipes-multimedia/x42/midifilter.lv2/0001-keysplit-Forward-CCs-to-both-target-channels.patch b/recipes-misc/recipes-multimedia/x42/midifilter.lv2/0001-keysplit-Forward-CCs-to-both-target-channels.patch deleted file mode 100644 index 83f1260c..00000000 --- a/recipes-misc/recipes-multimedia/x42/midifilter.lv2/0001-keysplit-Forward-CCs-to-both-target-channels.patch +++ /dev/null @@ -1,46 +0,0 @@ -From daa954d6c4c663f5d7ee153189ebf37e9de31087 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Andreas=20M=C3=BCller?= -Date: Tue, 15 Jan 2019 22:37:28 +0100 -Subject: [PATCH] keysplit: Forward CCs to both target channels -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -miss my wheels... - -Signed-off-by: Andreas Müller ---- - filters/keysplit.c | 10 +++++++++- - 1 file changed, 9 insertions(+), 1 deletion(-) - -diff --git a/filters/keysplit.c b/filters/keysplit.c -index 356458c..bc8f386 100644 ---- a/filters/keysplit.c -+++ b/filters/keysplit.c -@@ -40,7 +40,7 @@ filter_midi_keysplit(MidiFilter* self, - uint8_t mst = buffer[0] & 0xf0; - - if (size != 3 -- || !(mst == MIDI_NOTEON || mst == MIDI_NOTEOFF || mst == MIDI_POLYKEYPRESSURE) -+ || !(mst == MIDI_NOTEON || mst == MIDI_NOTEOFF || mst == MIDI_POLYKEYPRESSURE || mst == MIDI_CONTROLCHANGE) - || !(floor(*self->cfg[0]) == 0 || chs == chn) - ) - { -@@ -96,6 +96,14 @@ filter_midi_keysplit(MidiFilter* self, - buf[1] = midi_limit_val(key + transp1); - } - break; -+ case MIDI_CONTROLCHANGE: -+ buf[1] = buffer[1]; -+ if (ch0 != ch1) { -+ buf[0] = mst | ch0; -+ forge_midimessage(self, tme, buf, size); -+ } -+ buf[0] = mst | ch1; -+ break; - } - forge_midimessage(self, tme, buf, size); - } --- -2.20.1 - diff --git a/recipes-misc/recipes-multimedia/x42/midifilter.lv2_git.bb b/recipes-misc/recipes-multimedia/x42/midifilter.lv2_git.bb index d70ec912..4a801193 100644 --- a/recipes-misc/recipes-multimedia/x42/midifilter.lv2_git.bb +++ b/recipes-misc/recipes-multimedia/x42/midifilter.lv2_git.bb @@ -9,10 +9,9 @@ DEPENDS += "lv2" SRC_URI = " \ git://github.com/x42/midifilter.lv2.git \ - file://0001-keysplit-Forward-CCs-to-both-target-channels.patch \ " -SRCREV = "7b9956266616d681fa21b9924d606fa7479e55bd" -PV = "0.5.1" +SRCREV = "8bfe1d8e3d37467741cdec9de98e5b6b264bc3f9" +PV = "0.5.2" S = "${WORKDIR}/git" EXTRA_OEMAKE += " \