Browse Source

Comments and readme addition

master
xenakios 6 years ago
parent
commit
06ded7d011
2 changed files with 6 additions and 1 deletions
  1. +5
    -1
      Source/PluginEditor.cpp
  2. +1
    -0
      readme.txt

+ 5
- 1
Source/PluginEditor.cpp View File

@@ -1261,6 +1261,9 @@ void ParameterComponent::buttonClicked(Button * but)
} }
else else
{ {
// If we have the non-parameter state pointer, just set the target parameter to true.
// Logic in the AudioProcessor determines what should be done and it sets the parameter immediately back
// to false when it sees the parameter is true.
*boolpar = true; *boolpar = true;
} }
} }
@@ -1279,7 +1282,7 @@ void ParameterComponent::updateComponent()
m_slider->setValue(*intpar, dontSendNotification); m_slider->setValue(*intpar, dontSendNotification);
} }
AudioParameterBool* boolpar = dynamic_cast<AudioParameterBool*>(m_par); AudioParameterBool* boolpar = dynamic_cast<AudioParameterBool*>(m_par);
if (m_togglebut != nullptr) // && m_togglebut->getToggleState() != *boolpar)
if (m_togglebut != nullptr)
{ {
if (m_nonparamstate == nullptr) if (m_nonparamstate == nullptr)
{ {
@@ -1288,6 +1291,7 @@ void ParameterComponent::updateComponent()
} }
else else
{ {
// If we have the non-parameter state pointer, get the button toggle state from that
if (m_togglebut->getToggleState()!=*m_nonparamstate) if (m_togglebut->getToggleState()!=*m_nonparamstate)
m_togglebut->setToggleState(*m_nonparamstate, dontSendNotification); m_togglebut->setToggleState(*m_nonparamstate, dontSendNotification);
} }


+ 1
- 0
readme.txt View File

@@ -12,6 +12,7 @@ History :
-Added varispeed (resampling speed change) feature when spectral stretch engine is bypassed -Added varispeed (resampling speed change) feature when spectral stretch engine is bypassed
-Added shortcut key (may not work properly in all plugin formats and hosts) : -Added shortcut key (may not work properly in all plugin formats and hosts) :
"I" to open file import dialog "I" to open file import dialog
-Attempt to prevent capture enabled state from being recalled when undoing in the host
-Added VST3 version -Added VST3 version
-Removed VST2 version from binaries. :( It is still possible to build VST2 from source code, if the VST2 -Removed VST2 version from binaries. :( It is still possible to build VST2 from source code, if the VST2
SDK is available. (But distributing the binaries is likely not allowed if the distributor doesn't have SDK is available. (But distributing the binaries is likely not allowed if the distributor doesn't have


Loading…
Cancel
Save