try to correctly modify value tree and listen for changes

This commit is contained in:
Alex Birch
2019-07-14 17:45:08 +01:00
parent 8c1be957fe
commit 11d7296813
5 changed files with 29 additions and 13 deletions

View File

@ -388,7 +388,7 @@ void JuicySFAudioProcessor::getStateInformation (MemoryBlock& destData)
// XmlElement xml{"MYPLUGINSETTINGS"};
// sharedParams->setAttributesOnXml(xml);
auto state{valueTreeState.copyState()};
shared_ptr<XmlElement> xml{state.createXml()};
unique_ptr<XmlElement> xml{state.createXml()};
// sharedParams.setAttributesOnXml(xml);
// list<StateChangeSubscriber*>::iterator p;