CI tweaks, give up on old macOS versions, min 10.15
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
871c6dbaf4
commit
162e24f589
3 changed files with 6 additions and 4 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -172,7 +172,7 @@ jobs:
|
||||||
macos:
|
macos:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
target: [intel, universal]
|
target: [universal-10.15]
|
||||||
runs-on: macos-11
|
runs-on: macos-11
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
#include <juce_audio_processors/juce_audio_processors.h>
|
#include <juce_audio_processors/juce_audio_processors.h>
|
||||||
|
|
||||||
#include <AvailabilityMacros.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
|
#error unwanted macOS version, too new
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,9 @@
|
||||||
# include "ghc/filesystem.hpp"
|
# include "ghc/filesystem.hpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
template class RTNeural::Model<float>;
|
||||||
|
template class RTNeural::Layer<float>;
|
||||||
|
|
||||||
// --------------------------------------------------------------------------------------------------------------------
|
// --------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
/* Define a constexpr for converting a gain in dB to a coefficient */
|
/* 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_INPUT_LEVEL, -12.f, 12.f, 0.f, "Input level", " dB");
|
||||||
configParam(PARAM_OUTPUT_LEVEL, -12.f, 12.f, 0.f, "Output 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);
|
inlevel.setTau(1 / 30.f);
|
||||||
outlevel.setTau(1 / 30.f);
|
outlevel.setTau(1 / 30.f);
|
||||||
}
|
}
|
||||||
|
@ -335,8 +339,6 @@ struct AidaPluginModule : Module {
|
||||||
void onSampleRateChange(const SampleRateChangeEvent& e) override
|
void onSampleRateChange(const SampleRateChangeEvent& e) override
|
||||||
{
|
{
|
||||||
dc_blocker.setFc(35.0f / e.sampleRate);
|
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)
|
DISTRHO_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(AidaPluginModule)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue