Deluge Firmware 1.3.0
Build date: 2025.09.12
Loading...
Searching...
No Matches
SampleCache Class Reference
Collaboration diagram for SampleCache:

Public Member Functions

 SampleCache (Sample *newSample, int32_t newNumClusters, int32_t newWaveformLengthBytes, int32_t newPhaseIncrement, int32_t newTimeStretchRatio, int32_t newSkipSamplesAtStart, bool newReversed)
void clusterStolen (int32_t clusterIndex)
bool setupNewCluster (int32_t cachedClusterIndex)
ClustergetCluster (int32_t clusterIndex)
void setWriteBytePos (int32_t newWriteBytePos)

Public Attributes

int32_t writeBytePos
int32_t waveformLengthBytes
Samplesample
int32_t phaseIncrement
int32_t timeStretchRatio
int32_t skipSamplesAtStart
bool reversed

Private Member Functions

void unlinkClusters (int32_t startAtIndex, bool beingDestructed)
int32_t getNumExistentClusters (int32_t thisWriteBytePos)
void prioritizeNotStealingCluster (int32_t clusterIndex)

Private Attributes

Clusterclusters [1]

The documentation for this class was generated from the following files:
  • src/deluge/model/sample/sample_cache.h
  • src/deluge/model/sample/sample_cache.cpp