[SCM] jack-rack/master: 03-remove_midi_when_replacing_plugin.patch
alessio at users.alioth.debian.org
alessio at users.alioth.debian.org
Thu May 19 12:01:15 UTC 2011
The following commit has been merged in the master branch:
commit 85f94807b0c2356ed56db7b2ee0d532575961e0e
Author: Alessio Treglia <alessio at debian.org>
Date: Thu May 19 14:00:33 2011 +0200
03-remove_midi_when_replacing_plugin.patch
Remove MIDI controls when replacing a plugin.
diff --git a/debian/patches/03-remove_midi_when_replacing_plugin.patch b/debian/patches/03-remove_midi_when_replacing_plugin.patch
new file mode 100644
index 0000000..c6af3b0
--- /dev/null
+++ b/debian/patches/03-remove_midi_when_replacing_plugin.patch
@@ -0,0 +1,19 @@
+Description: Remove MIDI controls when replacing a plugin.
+Origin: upstream, commit:798294e5a907fdccc9844494ac1be9750d09a146
+---
+ src/plugin_slot.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+--- jack-rack.orig/src/plugin_slot.c
++++ jack-rack/src/plugin_slot.c
+@@ -558,6 +558,10 @@ plugin_slot_change_plugin (plugin_slot_t
+ }
+
+
++#ifdef HAVE_ALSA
++ /* remove controls for this plugin */
++ plugin_slot_remove_midi_controls (plugin_slot);
++#endif
+
+ /* kill all the control stuff */
+ if (plugin_slot->control_table)
diff --git a/debian/patches/series b/debian/patches/series
index 5afa94d..49b159c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
01-desktop_file.patch
02-gcc45_binutils_gold.patch
+03-remove_midi_when_replacing_plugin.patch
--
jack-rack packaging
More information about the pkg-multimedia-commits
mailing list