Browse Source

CI tweaks, give up on old macOS versions, min 10.15

Signed-off-by: falkTX <falktx@falktx.com>
tags/23.07
falkTX 2 years ago
parent
commit
162e24f589
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
3 changed files with 6 additions and 4 deletions
  1. +1
    -1
      .github/workflows/build.yml
  2. +1
    -1
      jucewrapper/CardinalWrapper.cpp
  3. +4
    -2
      plugins/Cardinal/src/AIDA-X.cpp

+ 1
- 1
.github/workflows/build.yml View File

@@ -172,7 +172,7 @@ jobs:
macos:
strategy:
matrix:
target: [intel, universal]
target: [universal-10.15]
runs-on: macos-11
steps:
- uses: actions/checkout@v3


+ 1
- 1
jucewrapper/CardinalWrapper.cpp View File

@@ -18,7 +18,7 @@
#include <juce_audio_processors/juce_audio_processors.h>

#include <AvailabilityMacros.h>
#if MAC_OS_X_VERSION_MAX_ALLOWED > 101200
#if MAC_OS_X_VERSION_MAX_ALLOWED > 101500
#error unwanted macOS version, too new
#endif



+ 4
- 2
plugins/Cardinal/src/AIDA-X.cpp View File

@@ -18,6 +18,9 @@
# include "ghc/filesystem.hpp"
#endif

template class RTNeural::Model<float>;
template class RTNeural::Layer<float>;

// --------------------------------------------------------------------------------------------------------------------

/* Define a constexpr for converting a gain in dB to a coefficient */
@@ -169,6 +172,7 @@ struct AidaPluginModule : Module {
configParam(PARAM_INPUT_LEVEL, -12.f, 12.f, 0.f, "Input level", " dB");
configParam(PARAM_OUTPUT_LEVEL, -12.f, 12.f, 0.f, "Output level", " dB");

in_lpf.setFc(MAP(66.216f, 0.0f, 100.0f, INLPF_MAX_CO, INLPF_MIN_CO));
inlevel.setTau(1 / 30.f);
outlevel.setTau(1 / 30.f);
}
@@ -335,8 +339,6 @@ struct AidaPluginModule : Module {
void onSampleRateChange(const SampleRateChangeEvent& e) override
{
dc_blocker.setFc(35.0f / e.sampleRate);

in_lpf.setFc(MAP(66.216f, 0.0f, 100.0f, INLPF_MAX_CO, INLPF_MIN_CO));
}

DISTRHO_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(AidaPluginModule)


Loading…
Cancel
Save