Up number of thumbnails in cache. Formatting fix.
This commit is contained in:
parent
ac18c12ae7
commit
ff130c6c29
@ -86,7 +86,7 @@ public:
|
|||||||
class MyThumbCache : public AudioThumbnailCache
|
class MyThumbCache : public AudioThumbnailCache
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
MyThumbCache() : AudioThumbnailCache(100) { /*Logger::writeToLog("Constructed AudioThumbNailCache");*/ }
|
MyThumbCache() : AudioThumbnailCache(200) { /*Logger::writeToLog("Constructed AudioThumbNailCache");*/ }
|
||||||
~MyThumbCache() { /*Logger::writeToLog("Destructed AudioThumbNailCache");*/ }
|
~MyThumbCache() { /*Logger::writeToLog("Destructed AudioThumbNailCache");*/ }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -65,15 +65,15 @@ public:
|
|||||||
|
|
||||||
PropertiesFile::Options poptions;
|
PropertiesFile::Options poptions;
|
||||||
poptions.applicationName = "PaulXStretch3";
|
poptions.applicationName = "PaulXStretch3";
|
||||||
poptions.folderName = "PaulXStretch3";
|
poptions.folderName = "PaulXStretch3";
|
||||||
poptions.commonToAllUsers = false;
|
poptions.commonToAllUsers = false;
|
||||||
poptions.doNotSave = false;
|
poptions.doNotSave = false;
|
||||||
poptions.storageFormat = PropertiesFile::storeAsXML;
|
poptions.storageFormat = PropertiesFile::storeAsXML;
|
||||||
poptions.millisecondsBeforeSaving = 1000;
|
poptions.millisecondsBeforeSaving = 1000;
|
||||||
poptions.ignoreCaseOfKeyNames = false;
|
poptions.ignoreCaseOfKeyNames = false;
|
||||||
poptions.processLock = nullptr;
|
poptions.processLock = nullptr;
|
||||||
poptions.filenameSuffix = ".xml";
|
poptions.filenameSuffix = ".xml";
|
||||||
poptions.osxLibrarySubFolder = "Application Support";
|
poptions.osxLibrarySubFolder = "Application Support";
|
||||||
m_props_file = std::make_unique<PropertiesFile>(poptions);
|
m_props_file = std::make_unique<PropertiesFile>(poptions);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user