#include <AudioFileManager.h>
|
| | AudioFileManager () |
| |
| void | init () |
| |
| AudioFile * | getAudioFileFromFilename (String *fileName, bool mayReadCard, uint8_t *error, FilePointer *filePointer, int type, bool makeWaveTableWorkAtAllCosts=false) |
| |
| Cluster * | allocateCluster (int type=CLUSTER_SAMPLE, bool shouldAddReasons=true, void *dontStealFromThing=NULL) |
| |
| int | enqueueCluster (Cluster *cluster, uint32_t priorityRating=0xFFFFFFFF) |
| |
| bool | loadCluster (Cluster *cluster, int minNumReasonsAfter=0) |
| |
| void | loadAnyEnqueuedClusters (int maxNum=128, bool mayProcessUserActionsBetween=false) |
| |
| void | addReasonToCluster (Cluster *cluster) |
| |
| void | removeReasonFromCluster (Cluster *cluster, char const *errorCode) |
| |
| void | testQueue () |
| |
| bool | ensureEnoughMemoryForOneMoreAudioFile () |
| |
| void | slowRoutine () |
| |
| void | deallocateCluster (Cluster *cluster) |
| |
| int | setupAlternateAudioFilePath (String *newPath, int dirPathLength, String *oldPath) |
| |
| int | setupAlternateAudioFileDir (String *newPath, char const *rootDir, String *songFilenameWithoutExtension) |
| |
| bool | loadingQueueHasAnyLowestPriorityElements () |
| |
| int | getUnusedAudioRecordingFilePath (String *filePath, String *tempFilePathForRecording, int folderID, uint32_t *getNumber) |
| |
| void | deleteAnyTempRecordedSamplesFromMemory () |
| |
| void | deleteUnusedAudioFileFromMemory (AudioFile *audioFile, int i) |
| |
| void | deleteUnusedAudioFileFromMemoryIndexUnknown (AudioFile *audioFile) |
| |
| bool | tryToDeleteAudioFileFromMemoryIfItExists (char const *filePath) |
| |
| void | thingBeginningLoading (int newThingType) |
| |
| void | thingFinishedLoading () |
| |
◆ AudioFileManager()
| AudioFileManager::AudioFileManager |
( |
| ) |
|
◆ addReasonToCluster()
| void AudioFileManager::addReasonToCluster |
( |
Cluster * |
cluster | ) |
|
◆ allocateCluster()
| Cluster * AudioFileManager::allocateCluster |
( |
int |
type = CLUSTER_SAMPLE, |
|
|
bool |
shouldAddReasons = true, |
|
|
void * |
dontStealFromThing = NULL |
|
) |
| |
◆ deallocateCluster()
| void AudioFileManager::deallocateCluster |
( |
Cluster * |
cluster | ) |
|
◆ deleteAnyTempRecordedSamplesFromMemory()
| void AudioFileManager::deleteAnyTempRecordedSamplesFromMemory |
( |
| ) |
|
◆ deleteUnusedAudioFileFromMemory()
| void AudioFileManager::deleteUnusedAudioFileFromMemory |
( |
AudioFile * |
audioFile, |
|
|
int |
i |
|
) |
| |
◆ deleteUnusedAudioFileFromMemoryIndexUnknown()
| void AudioFileManager::deleteUnusedAudioFileFromMemoryIndexUnknown |
( |
AudioFile * |
audioFile | ) |
|
◆ enqueueCluster()
| int AudioFileManager::enqueueCluster |
( |
Cluster * |
cluster, |
|
|
uint32_t |
priorityRating = 0xFFFFFFFF |
|
) |
| |
◆ ensureEnoughMemoryForOneMoreAudioFile()
| bool AudioFileManager::ensureEnoughMemoryForOneMoreAudioFile |
( |
| ) |
|
◆ getAudioFileFromFilename()
| AudioFile * AudioFileManager::getAudioFileFromFilename |
( |
String * |
fileName, |
|
|
bool |
mayReadCard, |
|
|
uint8_t * |
error, |
|
|
FilePointer * |
filePointer, |
|
|
int |
type, |
|
|
bool |
makeWaveTableWorkAtAllCosts = false |
|
) |
| |
◆ getUnusedAudioRecordingFilePath()
| int AudioFileManager::getUnusedAudioRecordingFilePath |
( |
String * |
filePath, |
|
|
String * |
tempFilePathForRecording, |
|
|
int |
folderID, |
|
|
uint32_t * |
getNumber |
|
) |
| |
◆ init()
| void AudioFileManager::init |
( |
| ) |
|
◆ loadAnyEnqueuedClusters()
| void AudioFileManager::loadAnyEnqueuedClusters |
( |
int |
maxNum = 128, |
|
|
bool |
mayProcessUserActionsBetween = false |
|
) |
| |
◆ loadCluster()
| bool AudioFileManager::loadCluster |
( |
Cluster * |
cluster, |
|
|
int |
minNumReasonsAfter = 0 |
|
) |
| |
◆ loadingQueueHasAnyLowestPriorityElements()
| bool AudioFileManager::loadingQueueHasAnyLowestPriorityElements |
( |
| ) |
|
◆ removeReasonFromCluster()
| void AudioFileManager::removeReasonFromCluster |
( |
Cluster * |
cluster, |
|
|
char const * |
errorCode |
|
) |
| |
◆ setupAlternateAudioFileDir()
| int AudioFileManager::setupAlternateAudioFileDir |
( |
String * |
newPath, |
|
|
char const * |
rootDir, |
|
|
String * |
songFilenameWithoutExtension |
|
) |
| |
◆ setupAlternateAudioFilePath()
| int AudioFileManager::setupAlternateAudioFilePath |
( |
String * |
newPath, |
|
|
int |
dirPathLength, |
|
|
String * |
oldPath |
|
) |
| |
◆ slowRoutine()
| void AudioFileManager::slowRoutine |
( |
| ) |
|
◆ testQueue()
| void AudioFileManager::testQueue |
( |
| ) |
|
◆ thingBeginningLoading()
| void AudioFileManager::thingBeginningLoading |
( |
int |
newThingType | ) |
|
◆ thingFinishedLoading()
| void AudioFileManager::thingFinishedLoading |
( |
| ) |
|
◆ tryToDeleteAudioFileFromMemoryIfItExists()
| bool AudioFileManager::tryToDeleteAudioFileFromMemoryIfItExists |
( |
char const * |
filePath | ) |
|
◆ alternateAudioFileLoadPath
| String AudioFileManager::alternateAudioFileLoadPath |
◆ alternateLoadDir
| DIR AudioFileManager::alternateLoadDir |
◆ alternateLoadDirStatus
| uint8_t AudioFileManager::alternateLoadDirStatus |
◆ audioFiles
◆ cardDisabled
| bool AudioFileManager::cardDisabled |
◆ cardEjected
| bool AudioFileManager::cardEjected |
◆ clusterBeingLoaded
| Cluster* AudioFileManager::clusterBeingLoaded |
◆ clusterObjectSize
| uint32_t AudioFileManager::clusterObjectSize |
◆ clusterSize
| uint32_t AudioFileManager::clusterSize |
◆ clusterSizeAtBoot
| uint32_t AudioFileManager::clusterSizeAtBoot |
◆ clusterSizeMagnitude
| int AudioFileManager::clusterSizeMagnitude |
◆ highestUsedAudioRecordingNumber
◆ highestUsedAudioRecordingNumberNeedsReChecking
◆ loadingQueue
◆ minNumReasonsForClusterBeingLoaded
| int AudioFileManager::minNumReasonsForClusterBeingLoaded |
◆ thingTypeBeingLoaded
| uint8_t AudioFileManager::thingTypeBeingLoaded |
The documentation for this class was generated from the following files: