Fixed unsorted bank files.
This commit is contained in:
parent
503df59b48
commit
1ceefd9d13
2 changed files with 12 additions and 8 deletions
|
@ -645,7 +645,7 @@ void ObxdAudioProcessorEditor::mouseUp(const MouseEvent& e)
|
|||
DirectoryIterator it(getFilter()->getSkinFolder(), false, "*", File::findDirectories);
|
||||
while (it.next())
|
||||
{
|
||||
skins.addUsingDefaultSort(it.getFile());r
|
||||
skins.addUsingDefaultSort(it.getFile());
|
||||
}
|
||||
|
||||
for (int i = 0; i < skins.size(); ++i)
|
||||
|
|
|
@ -752,7 +752,7 @@ void ObxdAudioProcessor::getStateInformation (MemoryBlock& destData)
|
|||
|
||||
copyXmlToBinary(xmlState,destData);
|
||||
}
|
||||
/*
|
||||
|
||||
void ObxdAudioProcessor::setStateInformation (const void* data, int sizeInBytes)
|
||||
{
|
||||
if (XmlElement* const xmlState = getXmlFromBinary(data,sizeInBytes))
|
||||
|
@ -782,6 +782,8 @@ void ObxdAudioProcessor::setStateInformation (const void* data, int sizeInBytes)
|
|||
}
|
||||
|
||||
setCurrentProgram(xmlState->getIntAttribute(S("currentProgram"), 0));
|
||||
|
||||
delete xmlState;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -799,9 +801,11 @@ void ObxdAudioProcessor::setCurrentProgramStateInformation(const void* data,int
|
|||
programs.currentProgramPtr->name = e->getStringAttribute(S("programName"), S("Default"));
|
||||
|
||||
setCurrentProgram(programs.currentProgram);
|
||||
|
||||
delete e;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
void ObxdAudioProcessor::getCurrentProgramStateInformation(MemoryBlock& destData)
|
||||
{
|
||||
XmlElement xmlState = XmlElement("Datsounds");
|
||||
|
|
Loading…
Reference in a new issue