Up number of thumbnails in cache. Formatting fix.

This commit is contained in:
xenakios 2018-02-06 17:04:36 +02:00
parent ac18c12ae7
commit ff130c6c29
2 changed files with 10 additions and 10 deletions

View File

@ -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");*/ }
}; };

View File

@ -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);
} }