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

Classes

struct  State
 

Public Member Functions

 Delay (const Delay &other)=delete
 
Delayoperator= (const Delay &rhs)
 
constexpr bool isActive () const
 
void informWhetherActive (bool newActive, int32_t userDelayRate=0)
 
void copySecondaryToPrimary ()
 
void copyPrimaryToSecondary ()
 
void initializeSecondaryBuffer (int32_t newNativeRate, bool makeNativeRatePreciseRelativeToOtherBuffer)
 
void setupWorkingState (State &workingState, uint32_t timePerInternalTickInverse, bool anySoundComingIn=true)
 
void discardBuffers ()
 
void setTimeToAbandon (const State &workingState)
 
void hasWrapped ()
 
void process (std::span< StereoSample > buffer, const State &delayWorkingState)
 

Public Attributes

DelayBuffer primaryBuffer
 
DelayBuffer secondaryBuffer
 
ImpulseResponseProcessor ir_processor
 
uint32_t countCyclesWithoutChange
 
int32_t userRateLastTime
 
bool pingPong = true
 
bool analog = false
 
SyncType syncType = SYNC_TYPE_EVEN
 
SyncLevel syncLevel = SYNC_LEVEL_16TH
 
int32_t sizeLeftUntilBufferSwap
 
int32_t postLPFL
 
int32_t postLPFR
 
int32_t prevFeedback = 0
 
uint8_t repeatsUntilAbandon = 0
 

Private Member Functions

void prepareToBeginWriting ()
 
constexpr int32_t getAmountToWriteBeforeReadingBegins () const
 

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