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