Deluge Firmware 1.3.0
Build date: 2026.02.12
Loading...
Searching...
No Matches
AudioFile Class Reference
Inheritance diagram for AudioFile:
Collaboration diagram for AudioFile:

Public Member Functions

 AudioFile (AudioFileType newType)
Error loadFile (AudioFileReader *reader, bool isAiff, bool makeWaveTableWorkAtAllCosts)
virtual void finalizeAfterLoad (uint32_t fileSize)
void addReason ()
void removeReason (char const *errorCode)
bool mayBeStolen (void *thingNotToStealFrom=NULL) final
void steal (char const *errorCode) final
StealableQueue getAppropriateQueue () override
Public Member Functions inherited from BidirectionalLinkedListNode
void remove ()
void insertOtherNodeBefore (BidirectionalLinkedListNode *otherNode)
bool isLast ()

Static Public Member Functions

static constexpr bool isSample (const AudioFile *file)
static constexpr bool isWaveTable (const AudioFile *file)

Public Attributes

String filePath
const AudioFileType type
uint8_t numChannels {}
String loadedFromAlternatePath
int32_t numReasonsToBeLoaded {}
Public Attributes inherited from Stealable
uint32_t lastTraversalNo = 0xFFFFFFFF
Public Attributes inherited from BidirectionalLinkedListNode
BidirectionalLinkedListNodenext
BidirectionalLinkedListNode ** prevPointer
BidirectionalLinkedListlist

Protected Member Functions

virtual void numReasonsIncreasedFromZero ()
virtual void numReasonsDecreasedToZero (char const *errorCode)

Member Function Documentation

◆ getAppropriateQueue()

StealableQueue AudioFile::getAppropriateQueue ( )
overridevirtual

Implements Stealable.

◆ mayBeStolen()

bool AudioFile::mayBeStolen ( void * thingNotToStealFrom = NULL)
finalvirtual

Implements Stealable.

◆ steal()

void AudioFile::steal ( char const * errorCode)
finalvirtual

Implements Stealable.


The documentation for this class was generated from the following files:
  • src/deluge/storage/audio/audio_file.h
  • src/deluge/storage/audio/audio_file.cpp