From 9cad6be2ed5bba594a0212accd41b9da218e67d5 Mon Sep 17 00:00:00 2001 From: ustk iMac Date: Wed, 1 Sep 2021 14:49:54 +0200 Subject: [PATCH 1/4] Set HISE_SCRIPT_SERVER_TIMEOUT to a more respectable value --- projects/standalone/HISE Standalone.jucer | 6 ++--- .../standalone/JuceLibraryCode/AppConfig.h | 22 ++++++++++++++++++- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/projects/standalone/HISE Standalone.jucer b/projects/standalone/HISE Standalone.jucer index 53dfb5a5ae..399b30564b 100644 --- a/projects/standalone/HISE Standalone.jucer +++ b/projects/standalone/HISE Standalone.jucer @@ -45,7 +45,7 @@ - diff --git a/projects/standalone/JuceLibraryCode/AppConfig.h b/projects/standalone/JuceLibraryCode/AppConfig.h index d7b7e4442a..5d44ac85bc 100644 --- a/projects/standalone/JuceLibraryCode/AppConfig.h +++ b/projects/standalone/JuceLibraryCode/AppConfig.h @@ -123,13 +123,17 @@ #endif #ifndef USE_VDSP_FFT - //#define USE_VDSP_FFT 0 + //#define USE_VDSP_FFT 1 #endif #ifndef FRONTEND_IS_PLUGIN //#define FRONTEND_IS_PLUGIN 0 #endif +#ifndef PROCESS_SOUND_GENERATORS_IN_FX_PLUGIN + //#define PROCESS_SOUND_GENERATORS_IN_FX_PLUGIN 1 +#endif + #ifndef FORCE_INPUT_CHANNELS //#define FORCE_INPUT_CHANNELS 0 #endif @@ -186,6 +190,10 @@ #define ENABLE_ALL_PEAK_METERS 1 #endif +#ifndef READ_ONLY_FACTORY_PRESETS + //#define READ_ONLY_FACTORY_PRESETS 0 +#endif + #ifndef ENABLE_CONSOLE_OUTPUT //#define ENABLE_CONSOLE_OUTPUT 1 #endif @@ -285,6 +293,10 @@ //#define HISE_INCLUDE_SNEX 0 #endif +#ifndef SNEX_INCLUDE_MEMORY_ADDRESS_IN_DUMP + //#define SNEX_INCLUDE_MEMORY_ADDRESS_IN_DUMP 0 +#endif + //============================================================================== // hi_streaming flags: @@ -299,6 +311,14 @@ //#define HISE_NO_GUI_TOOLS 0 #endif +#ifndef HISE_USE_NEW_CODE_EDITOR + //#define HISE_USE_NEW_CODE_EDITOR 1 +#endif + +#ifndef IS_MARKDOWN_EDITOR + //#define IS_MARKDOWN_EDITOR 0 +#endif + //============================================================================== // juce_audio_devices flags: From 8ceb10b0652b2b042dfdb10b2362f8f4c43164e6 Mon Sep 17 00:00:00 2001 From: ustk iMac Date: Wed, 22 Sep 2021 14:27:13 +0200 Subject: [PATCH 2/4] Extend HISE_SCRIPT_SERVER_TIMEOUT --- hi_scripting/hi_scripting.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hi_scripting/hi_scripting.h b/hi_scripting/hi_scripting.h index 3cf1d085b6..7295e8da39 100644 --- a/hi_scripting/hi_scripting.h +++ b/hi_scripting/hi_scripting.h @@ -71,7 +71,7 @@ compile / debug cycle and don't need all nodes in scriptnode you might want to t /** This will determine the timeout duration (in milliseconds) after which a server call will be aborted. */ #ifndef HISE_SCRIPT_SERVER_TIMEOUT -#define HISE_SCRIPT_SERVER_TIMEOUT 10000 +#define HISE_SCRIPT_SERVER_TIMEOUT 20000 #endif #define MAX_SCRIPT_HEIGHT 700 From 894eaa1456a8076844d93964a1deaf3637e6e15b Mon Sep 17 00:00:00 2001 From: ustk iMac Date: Wed, 22 Sep 2021 16:25:40 +0200 Subject: [PATCH 3/4] Fix sampleRateSelector was declared twice in Audio Settings --- hi_components/plugin_components/StandalonePopupComponents.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/hi_components/plugin_components/StandalonePopupComponents.cpp b/hi_components/plugin_components/StandalonePopupComponents.cpp index b40a098100..f5df21ef4c 100644 --- a/hi_components/plugin_components/StandalonePopupComponents.cpp +++ b/hi_components/plugin_components/StandalonePopupComponents.cpp @@ -134,7 +134,6 @@ CustomSettingsWindow::CustomSettingsWindow(MainController* mc_, bool buildMenus) addAndMakeVisible(deviceSelector = new ComboBox("Driver")); addAndMakeVisible(soundCardSelector = new ComboBox("Device")); addAndMakeVisible(outputSelector = new ComboBox("Output")); - addAndMakeVisible(sampleRateSelector = new ComboBox("Sample Rate")); addAndMakeVisible(bufferSelector = new ComboBox("Buffer Sizes")); addAndMakeVisible(sampleRateSelector = new ComboBox("Sample Rate")); From edca5907d7b7b23a67a6aed1729bcb53e53fa44c Mon Sep 17 00:00:00 2001 From: ustk iMac Date: Wed, 22 Sep 2021 16:29:08 +0200 Subject: [PATCH 4/4] Remove mouse drag threshold --- hi_core/hi_core/MiscComponents.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hi_core/hi_core/MiscComponents.cpp b/hi_core/hi_core/MiscComponents.cpp index 42a815a733..66489644ff 100644 --- a/hi_core/hi_core/MiscComponents.cpp +++ b/hi_core/hi_core/MiscComponents.cpp @@ -613,7 +613,7 @@ void MouseCallbackComponent::sendMessage(const MouseEvent &event, Action action, const bool isIn = getLocalBounds().contains(event.position.toInt()); e->setProperty(insideDrag, isIn ? 1: 0); - e->setProperty(drag, event.getDistanceFromDragStart() > 4); + e->setProperty(drag, event.getDistanceFromDragStart() > 0); e->setProperty(dragX, event.getDistanceFromDragStartX()); e->setProperty(dragY, event.getDistanceFromDragStartY()); }