FastLED 3.9.15
Loading...
Searching...
No Matches

◆ SynthEngineImpl() [1/2]

fl::audio::SynthEngineImpl::SynthEngineImpl ( i32 width,
i32 oversample )

Definition at line 106 of file synth.cpp.hpp.

107 : mWidth(width), mOversample(oversample) {
108 // Clamp width to valid range
109 if (mWidth < 4) mWidth = 4;
111
112 // Clamp oversample to minimum
113 if (mOversample < 2) mOversample = 2;
114
115 mEngine = hw::hexwave_engine_create(mWidth, mOversample, nullptr);
116}
hw::HexWaveEngine * mEngine
Definition synth.cpp.hpp:44
u8 width
Definition blur.h:186
#define FL_STB_HEXWAVE_MAX_BLEP_LENGTH
Definition stb_hexwave.h:67

References FL_STB_HEXWAVE_MAX_BLEP_LENGTH, mEngine, mOversample, mWidth, and fl::width.

Referenced by SynthEngineImpl(), and operator=().

+ Here is the caller graph for this function: