Fix debug and headless builds
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
cf45ff62fc
commit
4edf85ab92
4 changed files with 5 additions and 3 deletions
2
dpf
2
dpf
|
@ -1 +1 @@
|
|||
Subproject commit eba584917cb566cbbdf626cc8736c3d13b65a2e9
|
||||
Subproject commit e288f163bbf3af6ae24e9df6cdd23e755ff1aaf5
|
|
@ -583,7 +583,7 @@ Initializer::Initializer(const CardinalBasePlugin* const plugin, const CardinalB
|
|||
if (const char* const portEnv = std::getenv("CARDINAL_REMOTE_HOST_PORT"))
|
||||
port = portEnv;
|
||||
else
|
||||
port = CARDINAL_DEFAULT_REMOTE_HOST_PORT;
|
||||
port = CARDINAL_DEFAULT_REMOTE_PORT;
|
||||
oscServerThread = lo_server_thread_new_with_proto(port, LO_UDP, osc_error_handler);
|
||||
DISTRHO_SAFE_ASSERT_RETURN(oscServerThread != nullptr,);
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
// #define CARDINAL_DEFAULT_REMOTE_URL "osc.udp://localhost:2228"
|
||||
#define CARDINAL_DEFAULT_REMOTE_PORT "2228"
|
||||
#define CARDINAL_DEFAULT_REMOTE_URL "osc.udp://192.168.51.1:2228"
|
||||
|
||||
// -----------------------------------------------------------------------------------------------------------
|
||||
|
|
|
@ -263,9 +263,11 @@ struct FileButton : MenuButton {
|
|||
patchUtils::revertDialog();
|
||||
}, APP->patch->path.empty()));
|
||||
|
||||
#if DISTRHO_PLUGIN_WANT_DIRECT_ACCESS
|
||||
menu->addChild(createMenuItem("Overwrite template", "", []() {
|
||||
patchUtils::saveTemplateDialog();
|
||||
}));
|
||||
#endif
|
||||
|
||||
#ifdef DISTRHO_OS_WASM
|
||||
menu->addChild(new ui::MenuSeparator);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue