fix typo that was causing soundfont loading to fail
This commit is contained in:
parent
f87ec7c8e4
commit
e772b4bcf0
|
@ -482,7 +482,7 @@ void JuicySFAudioProcessor::setStateInformation (const void* data, int sizeInByt
|
||||||
if (xmlElement) {
|
if (xmlElement) {
|
||||||
ValueTree tree{valueTreeState.state.getChildWithName("soundFont")};
|
ValueTree tree{valueTreeState.state.getChildWithName("soundFont")};
|
||||||
Value value{tree.getPropertyAsValue("path", nullptr)};
|
Value value{tree.getPropertyAsValue("path", nullptr)};
|
||||||
value = xmlState->getStringAttribute("path", value.getValue());
|
value = xmlElement->getStringAttribute("path", value.getValue());
|
||||||
}
|
}
|
||||||
|
|
||||||
// valueTreeState.getParameter("soundFontPath")->getValue()
|
// valueTreeState.getParameter("soundFontPath")->getValue()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user