FahlGrahn Audio v1.0.0
Loading...
Searching...
No Matches
CustomAudioParameterFloat.h
1#pragma once
2class CustomAudioParameterFloat : public juce::AudioParameterFloat
3{
4 public:
5 CustomAudioParameterFloat(const juce::ParameterID &parameterID, const juce::String &parameterName,
6 juce::NormalisableRange<float> normalisableRange, float defaultValue, int index = -1)
7 : juce::AudioParameterFloat(parameterID, parameterName, normalisableRange, defaultValue), mIndex(index)
8 {
9 }
10
11 int getIndex() const
12 {
13 return mIndex;
14 }
15
16 private:
17 int mIndex;
18};
Definition CustomAudioParameterFloat.h:3