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

Public Member Functions

void unassignAllClusterReasons (bool beingDestructed=false) override
 
int64_t getEndPos (bool forTimeStretching=false)
 
int64_t getDurationInSamples (bool forTimeStretching=false)
 
void beenClonedFrom (SampleHolder const *other, bool reversed)
 
virtual void claimClusterReasons (bool reversed, int32_t clusterLoadInstruction=CLUSTER_ENQUEUE)
 
int32_t getLengthInSamplesAtSystemSampleRate (bool forTimeStretching=false)
 
int32_t getLoopLengthAtSystemSampleRate (bool forTimeStretching=false)
 
void setAudioFile (AudioFile *newAudioFile, bool reversed=false, bool manuallySelected=false, int32_t clusterLoadInstruction=CLUSTER_ENQUEUE) override
 
- Public Member Functions inherited from AudioFileHolder
Error loadFile (bool reversed, bool manuallySelected, bool mayActuallyReadFile, int32_t clusterLoadInstruction=CLUSTER_ENQUEUE, FilePointer *filePointer=nullptr, bool makeWaveTableWorkAtAllCosts=false)
 

Public Attributes

uint64_t startPos
 
uint64_t endPos
 
int32_t waveformViewScroll
 
int32_t waveformViewZoom
 
int32_t neutralPhaseIncrement
 
ClusterclustersForStart [kNumClustersLoadedAhead]
 
- Public Attributes inherited from AudioFileHolder
String filePath
 
AudioFileaudioFile
 
AudioFileType audioFileType
 

Protected Member Functions

void claimClusterReasonsForMarker (Cluster **clusters, uint32_t startPlaybackAtByte, int32_t playDirection, int32_t clusterLoadInstruction)
 
virtual void sampleBeenSet (bool reversed, bool manuallySelected)
 

Member Function Documentation

◆ setAudioFile()

void SampleHolder::setAudioFile ( AudioFile * newAudioFile,
bool reversed = false,
bool manuallySelected = false,
int32_t clusterLoadInstruction = CLUSTER_ENQUEUE )
overridevirtual

Reimplemented from AudioFileHolder.

◆ unassignAllClusterReasons()

void SampleHolder::unassignAllClusterReasons ( bool beingDestructed = false)
overridevirtual

Reimplemented from AudioFileHolder.


The documentation for this class was generated from the following files: