no setCurrentProgram on getCurrentSatte

This commit is contained in:
2026-05-10 13:55:47 +02:00
parent 17b12fe3f1
commit f72a89ed61
-2
View File
@@ -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());