diff options
author | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2016-07-10 12:55:45 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-08-31 23:51:31 -0400 |
commit | 0a0037a11e453ad4de7a15c1031670ceb5667db2 (patch) | |
tree | f6642a5e7519b4b188724d57eeb1fcaee1562a76 /src/jalv_internal.h | |
parent | 7e3af735cea4fdefcd4483b1c92b2762ad6672dc (diff) | |
download | jalv-0a0037a11e453ad4de7a15c1031670ceb5667db2.tar.gz jalv-0a0037a11e453ad4de7a15c1031670ceb5667db2.tar.bz2 jalv-0a0037a11e453ad4de7a15c1031670ceb5667db2.zip |
Discover presence of UI before jack_activate
jalv.has_ui should be set before jack_activate. If not, patch:Get message
may be without effect and parameter replies never be sent from within jack
process callback, as the latter may run before the corresponding UI logic
(e.g. with jalv.has_ui still being false).
Diffstat (limited to 'src/jalv_internal.h')
-rw-r--r-- | src/jalv_internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jalv_internal.h b/src/jalv_internal.h index bda4016..82fef4a 100644 --- a/src/jalv_internal.h +++ b/src/jalv_internal.h @@ -316,6 +316,9 @@ jalv_port_by_symbol(Jalv* jalv, const char* sym); const char* jalv_native_ui_type(Jalv* jalv); +bool +jalv_discover_ui(Jalv* jalv); + int jalv_open_ui(Jalv* jalv); |