diff options
author | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2019-06-26 21:11:25 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-04-05 09:39:56 +0200 |
commit | 1be0998815fff3d6264e32099c24eb08217ee25e (patch) | |
tree | 49c4a0c84b45314773d127df693f468eaf0a8e5d | |
parent | a24204f887e2da295941576e676d31a77bd66583 (diff) | |
download | jalv-1be0998815fff3d6264e32099c24eb08217ee25e.tar.gz jalv-1be0998815fff3d6264e32099c24eb08217ee25e.tar.bz2 jalv-1be0998815fff3d6264e32099c24eb08217ee25e.zip |
Support port events for ui:showInterface UIs
-rw-r--r-- | NEWS | 6 | ||||
-rw-r--r-- | src/jalv_console.c | 14 | ||||
-rw-r--r-- | wscript | 2 |
3 files changed, 16 insertions, 6 deletions
@@ -1,3 +1,9 @@ +jalv (1.6.5) unstable; + + * Support port events for ui:showInterface UIs + + -- David Robillard <d@drobilla.net> Sun, 05 Apr 2020 07:39:19 +0000 + jalv (1.6.4) stable; * Support rdfs:label for port groups diff --git a/src/jalv_console.c b/src/jalv_console.c index 7b93f43..a97b388 100644 --- a/src/jalv_console.c +++ b/src/jalv_console.c @@ -50,12 +50,16 @@ print_usage(const char* name, bool error) } void -jalv_ui_port_event(ZIX_UNUSED Jalv* jalv, - ZIX_UNUSED uint32_t port_index, - ZIX_UNUSED uint32_t buffer_size, - ZIX_UNUSED uint32_t protocol, - ZIX_UNUSED const void* buffer) +jalv_ui_port_event(Jalv* jalv, + uint32_t port_index, + uint32_t buffer_size, + uint32_t protocol, + const void* buffer) { + if (jalv->ui_instance) { + suil_instance_port_event(jalv->ui_instance, port_index, + buffer_size, protocol, buffer); + } } int @@ -7,7 +7,7 @@ from waflib import Options from waflib.extras import autowaf as autowaf # Version of this package (even if built as a child) -JALV_VERSION = '1.6.4' +JALV_VERSION = '1.6.5' # Mandatory waf variables APPNAME = 'jalv' # Package name for waf dist |