31 PatchCable() =
default;
32 void setup(PatchSource newFrom, uint8_t newTo, int32_t newAmount);
34 void initAmount(int32_t value);
37 [[gnu::always_inline]] [[nodiscard]] int32_t applyRangeAdjustment(int32_t value)
const {
38 int32_t small = multiply_32x32_rshift32(value, *this->rangeAdjustmentPointer);
39 return signed_saturate<32 - 5>(small) << 3;
45 int32_t
const* rangeAdjustmentPointer =
nullptr;