Browse Source

Import latest fixes from DISTRHO-Ports

Signed-off-by: falkTX <falktx@falktx.com>
v6.1.6-distrho
falkTX 2 years ago
parent
commit
93194c7a12
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
6 changed files with 13 additions and 11 deletions
  1. +5
    -5
      modules/juce_audio_plugin_client/LV2/juce_LV2_Wrapper.cpp
  2. +1
    -1
      modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp
  3. +2
    -0
      modules/juce_audio_plugin_client/utility/juce_IncludeModuleHeaders.h
  4. +3
    -3
      modules/juce_audio_plugin_client/utility/juce_PluginUtilities.cpp
  5. +1
    -1
      modules/juce_core/native/juce_posix_SharedCode.h
  6. +1
    -1
      modules/juce_core/system/juce_TargetPlatform.h

+ 5
- 5
modules/juce_audio_plugin_client/LV2/juce_LV2_Wrapper.cpp View File

@@ -571,7 +571,7 @@ public:
//==============================================================================
// Juce calls

void audioProcessorParameterChanged (AudioProcessor*, int index, float newValue)
void audioProcessorParameterChanged (AudioProcessor*, int index, float newValue) override
{
if (inParameterChangedCallback.get())
{
@@ -596,7 +596,7 @@ public:
}
}

void audioProcessorChanged (AudioProcessor*, const ChangeDetails& details)
void audioProcessorChanged (AudioProcessor*, const ChangeDetails& details) override
{
if (details.programChanged && filter != nullptr && programsHost != nullptr)
{
@@ -610,7 +610,7 @@ public:
}
}

void audioProcessorParameterChangeGestureBegin (AudioProcessor*, int parameterIndex)
void audioProcessorParameterChangeGestureBegin (AudioProcessor*, int parameterIndex) override
{
if (uiTouch == nullptr)
return;
@@ -629,7 +629,7 @@ public:
}
}

void audioProcessorParameterChangeGestureEnd (AudioProcessor*, int parameterIndex)
void audioProcessorParameterChangeGestureEnd (AudioProcessor*, int parameterIndex) override
{
if (uiTouch == nullptr)
return;
@@ -667,7 +667,7 @@ public:
}
}

void timerCallback()
void timerCallback() override
{
if (externalUI != nullptr && externalUI->isClosed())
{


+ 1
- 1
modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp View File

@@ -434,7 +434,7 @@ public:
{
const int numChannels = jmax (numIn, numOut);
AudioBuffer<FloatType> chans (tmpBuffers.channels, isMidiEffect ? 0 : numChannels, numSamples);
juce::AudioBuffer<FloatType> chans (tmpBuffers.channels, isMidiEffect ? 0 : numChannels, numSamples);
if (isBypassed && processor->getBypassParameter() == nullptr)
processor->processBlockBypassed (chans, midiEvents);


+ 2
- 0
modules/juce_audio_plugin_client/utility/juce_IncludeModuleHeaders.h View File

@@ -23,6 +23,8 @@
==============================================================================
*/
#pragma once
#include <juce_audio_plugin_client/juce_audio_plugin_client.h>
#include "juce_CreatePluginFilter.h"


+ 3
- 3
modules/juce_audio_plugin_client/utility/juce_PluginUtilities.cpp View File

@@ -54,9 +54,9 @@ namespace juce
const auto juce_strcat = [] (auto&& head, auto&&... tail) { strcat_s (head, numElementsInArray (head), tail...); };
const auto juce_sscanf = [] (auto&&... args) { sscanf_s (args...); };
#else
const auto juce_sprintf = [] (auto&&... args) { sprintf (args...); };
const auto juce_strcpy = [] (auto&&... args) { strcpy (args...); };
const auto juce_strcat = [] (auto&&... args) { strcat (args...); };
const auto juce_sprintf = [] (auto&& head, auto&&... args) { snprintf (head, numElementsInArray (head), args...); };
const auto juce_strcpy = [] (auto&& head, auto&& tail) { strncpy (head, tail, numElementsInArray (head)); };
const auto juce_strcat = [] (auto&& head, auto&& tail) { strncat (head, tail, numElementsInArray (head)); };
const auto juce_sscanf = [] (auto&&... args) { sscanf (args...); };
#endif


+ 1
- 1
modules/juce_core/native/juce_posix_SharedCode.h View File

@@ -28,7 +28,7 @@ CriticalSection::CriticalSection() noexcept
pthread_mutexattr_t atts;
pthread_mutexattr_init (&atts);
pthread_mutexattr_settype (&atts, PTHREAD_MUTEX_RECURSIVE);
#if ! JUCE_ANDROID
#if ! JUCE_ANDROID && ! JUCE_ARM
pthread_mutexattr_setprotocol (&atts, PTHREAD_PRIO_INHERIT);
#endif
pthread_mutex_init (&lock, &atts);


+ 1
- 1
modules/juce_core/system/juce_TargetPlatform.h View File

@@ -168,7 +168,7 @@
#define JUCE_BIG_ENDIAN 1
#endif
#if defined (__LP64__) || defined (_LP64) || defined (__arm64__)
#if defined (__LP64__) || defined (_LP64) || defined (__arm64__) || defined (__aarch64__)
#define JUCE_64BIT 1
#else
#define JUCE_32BIT 1


Loading…
Cancel
Save