qualify getPresets with global scope

This commit is contained in:
Armin 2026-08-11 23:10:13 +02:00
commit 0d3a3280e4

View file

@ -7,7 +7,7 @@ HorizontAudioProcessor::HorizontAudioProcessor()
.withInput ("Input", juce::AudioChannelSet::stereo(), true) .withInput ("Input", juce::AudioChannelSet::stereo(), true)
.withOutput ("Output", juce::AudioChannelSet::stereo(), true)), .withOutput ("Output", juce::AudioChannelSet::stereo(), true)),
apvts (*this, nullptr, "Parameters", createParameterLayout()), apvts (*this, nullptr, "Parameters", createParameterLayout()),
presets (getPresets()) presets (::getPresets())
{ {
lowCutParam = apvts.getRawParameterValue ("lowCut"); lowCutParam = apvts.getRawParameterValue ("lowCut");
highCutParam = apvts.getRawParameterValue ("highCut"); highCutParam = apvts.getRawParameterValue ("highCut");