Store and recall the number of harmonics parameter. Seriously, have to make this stuff work in a more robust manner...
This commit is contained in:
parent
d76ac6118a
commit
104d1bfd2e
@ -204,6 +204,7 @@ ValueTree PaulstretchpluginAudioProcessor::getStateTree(bool ignoreoptions, bool
|
||||
{
|
||||
storeToTreeProperties(paramtree, nullptr, getFloatParameter(i));
|
||||
}
|
||||
storeToTreeProperties(paramtree, nullptr, getIntParameter(cpi_numharmonics));
|
||||
storeToTreeProperties(paramtree, nullptr, m_outchansparam);
|
||||
storeToTreeProperties(paramtree, nullptr, m_inchansparam);
|
||||
storeToTreeProperties(paramtree, nullptr, getBoolParameter(cpi_bypass_stretch));
|
||||
@ -253,6 +254,7 @@ void PaulstretchpluginAudioProcessor::setStateFromTree(ValueTree tree)
|
||||
{
|
||||
getFromTreeProperties(tree,getFloatParameter(i));
|
||||
}
|
||||
getFromTreeProperties(tree, getIntParameter(cpi_numharmonics));
|
||||
getFromTreeProperties(tree, m_outchansparam);
|
||||
getFromTreeProperties(tree, m_inchansparam);
|
||||
getFromTreeProperties(tree, getBoolParameter(cpi_bypass_stretch));
|
||||
|
Loading…
Reference in New Issue
Block a user