![]() |
Deluge Firmware 1.3.0
Build date: 2026.08.16
|

Classes | |
| struct | ResampleConfig |
Public Member Functions | |
| Error | init (uint32_t newRate, uint32_t failIfThisSize=0, bool includeExtraSpace=true) |
| constexpr void | invalidate () |
| void | makeNativeRatePrecise () |
| void | makeNativeRatePreciseRelativeToOtherBuffer (const DelayBuffer &otherBuffer) |
| void | discard () |
| template<typename C> | |
| constexpr int32_t | advance (C callback) |
| template<typename C> | |
| constexpr int32_t | retreat (C callback) |
| void | setupForRender (int32_t rate) |
| constexpr bool | isActive () const |
| bool | clearAndMoveOn () |
| bool | moveOn () |
| bool | moveBack () |
| void | writeNative (StereoSample toDelay) |
| void | writeNativeAndMoveOn (StereoSample toDelay, StereoSample **writePos) |
| void | write (StereoSample toDelay, int32_t strength1, int32_t strength2) |
| void | writeResampled (StereoSample toDelay, int32_t strength1, int32_t strength2) |
| constexpr bool | isNative () const |
| constexpr bool | resampling () const |
| constexpr uint32_t | nativeRate () const |
| constexpr StereoSample & | current () const |
| constexpr StereoSample * | begin () const |
| constexpr StereoSample * | end () const |
| constexpr size_t | size () const |
| void | clear () |
| constexpr void | setCurrent (StereoSample *sample) |
Static Public Member Functions | |
| static std::pair< int32_t, bool > | getIdealBufferSizeFromRate (uint32_t rate) |
Public Attributes | |
| uint32_t | longPos |
| uint8_t | lastShortPos |
| size_t | sizeIncludingExtra |
| std::optional< ResampleConfig > | resample_config_ {} |
Static Public Attributes | |
| static constexpr size_t | kMaxSize = 88200 |
| static constexpr size_t | kMinSize = 1 |
| static constexpr size_t | kNeutralSize = 16384 |
Private Member Functions | |
| void | setupResample () |
Private Attributes | |
| uint32_t | native_rate_ = 0 |
| StereoSample * | start_ = nullptr |
| StereoSample * | end_ |
| StereoSample * | current_ |
| size_t | size_ |