|
void | init () |
std::expected< AudioFile *, Error > | getAudioFileFromFilename (String &fileName, bool mayReadCard, FilePointer *filePointer, AudioFileType type, bool makeWaveTableWorkAtAllCosts=false) |
bool | loadCluster (Cluster &cluster, int32_t minNumReasonsAfter=0) |
void | loadAnyEnqueuedClusters (int32_t maxNum=128, bool mayProcessUserActionsBetween=false) |
void | removeReasonFromCluster (Cluster &cluster, char const *errorCode, bool deletingSong=false) |
void | slowRoutine () |
std::expected< void, Error > | setupAlternateAudioFilePath (String &newPath, int32_t dirPathLength, String &oldPath) |
std::expected< void, Error > | setupAlternateAudioFileDir (String &newPath, char const *rootDir, String &songFilenameWithoutExtension) |
bool | loadingQueueHasAnyLowestPriorityElements () |
Error | getUnusedAudioRecordingFilePath (String &filePath, String *tempFilePathForRecording, AudioRecordingFolder folder, uint32_t *getNumber, const char *channelName, String *songName) |
void | deleteAnyTempRecordedSamplesFromMemory () |
void | releaseFile (Sample &sample) |
void | releaseFile (WaveTable &wavetable) |
bool | releaseSampleAtFilePath (String &filePath) |
void | releaseAllUnused () |
| release unused sapmles and wavetables
|
void | thingBeginningLoading (ThingType newThingType) |
void | thingFinishedLoading () |
void | setCardRead () |
void | setCardEjected () |
void | firstCardRead () |
|
deluge::fast_map< String *, Sample *, StringLessThan > | sampleFiles |
deluge::fast_map< String *, WaveTable *, StringLessThan > | wavetableFiles |
ClusterPriorityQueue | loadingQueue |
Cluster * | clusterBeingLoaded |
int32_t | minNumReasonsForClusterBeingLoaded |
String | alternateAudioFileLoadPath |
AlternateLoadDirStatus | alternateLoadDirStatus = AlternateLoadDirStatus::NONE_SET |
ThingType | thingTypeBeingLoaded = ThingType::NONE |
DIR | alternateLoadDir |
std::array< int32_t, kNumAudioRecordingFolders > | highestUsedAudioRecordingNumber |
std::bitset< kNumAudioRecordingFolders > | highestUsedAudioRecordingNumberNeedsReChecking |