diff --git a/source/PluginProcessor.cpp b/source/PluginProcessor.cpp index ec5f65b..0bbb85e 100755 --- a/source/PluginProcessor.cpp +++ b/source/PluginProcessor.cpp @@ -293,7 +293,7 @@ void PluginProcessor::setStateChangeCallbacks() { DBG ("State changed: " + whatChanged.toString() + " " + state.getType().toString() + " chan" + juce::String (chanNum)); auto pathFallbackValue = juce::String ("/" + juce::String (chanNum) + "/value"); - auto newPath = state.getProperty (pathIdentifier, pathFallbackValue); + auto newPath = state.getProperty (pathIdentifier, pathFallbackValue).toString(); auto newInMin = state.getProperty (inMinIdentifier, 0.0f); auto newInMax = state.getProperty (inMaxIdentifier, 1.0f); diff --git a/source/gui/OSCBridgeChannelEditor.h b/source/gui/OSCBridgeChannelEditor.h index 80204dd..951b63d 100644 --- a/source/gui/OSCBridgeChannelEditor.h +++ b/source/gui/OSCBridgeChannelEditor.h @@ -60,12 +60,12 @@ class OSCBridgeChannelEditor : public juce::Component pathEditor.setText (path); } - void setInMin (auto min) + void setInMin (float min) { inputMinEditor.setText (juce::String (min)); } - void setInMax (auto max) + void setInMax (float max) { inputMaxEditor.setText (juce::String (max)); } @@ -95,7 +95,7 @@ class OSCBridgeChannelEditor : public juce::Component activityIndicator.addValue (chan.getNormalizedValue()); } - void addActivity (auto newValue) + void addActivity (float newValue) { activityIndicator.addValue (newValue); }