no setCurrentProgram on getCurrentSatte
This commit is contained in:
@@ -909,8 +909,6 @@ void JaySynthAudioProcessor::getCurrentProgramStateInformation (MemoryBlock& des
|
|||||||
ScopedPointer<XmlElement> xml = new XmlElement("JSynth");
|
ScopedPointer<XmlElement> xml = new XmlElement("JSynth");
|
||||||
patchEncodeXml(xml, currpatch);
|
patchEncodeXml(xml, currpatch);
|
||||||
|
|
||||||
setCurrentProgram(getCurrentProgram());
|
|
||||||
|
|
||||||
// then use this helper function to stuff it into the binary blob and return it..
|
// then use this helper function to stuff it into the binary blob and return it..
|
||||||
copyXmlToBinary (*xml, tmpBlock);
|
copyXmlToBinary (*xml, tmpBlock);
|
||||||
GZIPEnc.write(tmpBlock.getData(), tmpBlock.getSize());
|
GZIPEnc.write(tmpBlock.getData(), tmpBlock.getSize());
|
||||||
|
|||||||
Reference in New Issue
Block a user