Browse Source

Revert commit d0c238d: Use getParameterText to respond to AU's kAudioUnitProperty_ParameterStringFromValue

tags/2021-05-28
hogliux 9 years ago
parent
commit
1a40df99bc
1 changed files with 1 additions and 6 deletions
  1. +1
    -6
      modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm

+ 1
- 6
modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm View File

@@ -485,12 +485,7 @@ public:
if (AudioProcessorParameter* param = juceFilter->getParameters() [paramID])
text = param->getText (value, 0);
else
{
if (value == juceFilter->getParameter (paramID))
text = juceFilter->getParameterText (paramID);
else
text = (String) value;
}
text = String (value);
pv->outString = text.toCFString();
return noErr;


Loading…
Cancel
Save