27 SampleCache(
Sample* newSample, int32_t newNumClusters, int32_t newWaveformLengthBytes, int32_t newPhaseIncrement,
28 int32_t newTimeStretchRatio, int32_t newSkipSamplesAtStart,
bool newReversed);
30 void clusterStolen(int32_t clusterIndex);
31 bool setupNewCluster(int32_t cachedClusterIndex);
32 Cluster* getCluster(int32_t clusterIndex);
33 void setWriteBytePos(int32_t newWriteBytePos);
36#if ALPHA_OR_BETA_VERSION
39 int32_t waveformLengthBytes;
41 int32_t phaseIncrement;
42 int32_t timeStretchRatio;
43 int32_t skipSamplesAtStart;
47 void unlinkClusters(int32_t startAtIndex,
bool beingDestructed);
48 int32_t getNumExistentClusters(int32_t thisWriteBytePos);
49 void prioritizeNotStealingCluster(int32_t clusterIndex);