-
Notifications
You must be signed in to change notification settings - Fork 84
Conversions between enumeration and floating point #1
Copy link
Copy link
Open
Description
Greetings.
I was learning from your tutorial step-by-step on YouTube. Clear explanations.
However, some errors occurred when getting chain settings on my VS 2017:
simpleeq-master\source\pluginprocessor.cpp(241): note: Conversions between enumeration and floating point values are no longer allowed
I believe that this occurs because getRawParameterValue() returns a pointer to std::atomic float, and load() simply returns a float, which is no longer avaliable for enumeration indexing.
Add another casting such as
static_cast<Slope>((int)apvts.getRawParameterValue("LowCut` Slope")->load());
should help, just some humble opinion. (Tested on VS 2017, LGTM)
Thanks again for your outstanding project.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels