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

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2023-04-25 01:10:47 +02:00
parent 871c6dbaf4
commit 162e24f589
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
3 changed files with 6 additions and 4 deletions

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

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

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)