aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS6
-rw-r--r--src/jalv_console.c14
-rw-r--r--wscript2
3 files changed, 16 insertions, 6 deletions
diff --git a/NEWS b/NEWS
index 1997be1..ad9abed 100644
--- a/NEWS
+++ b/NEWS
@@ -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
diff --git a/wscript b/wscript
index 1df76d8..06c001c 100644
--- a/wscript
+++ b/wscript
@@ -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