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