FastLED 3.10.8
Loading...
Searching...
No Matches

◆ create()

ISynthEnginePtr fl::audio::ISynthEngine::create ( i32 width = 32,
i32 oversample = 16 )
static

Factory function to create an engine with the specified quality settings.

Parameters
widthBLEP width (4..64), larger = better quality, more CPU
oversampleOversampling factor (2+), larger = less noise
Returns
Shared pointer to the engine

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

98 {
99 return fl::make_shared<SynthEngineImpl>(width, oversample);
100}
shared_ptr< T > make_shared(Args &&... args) FL_NO_EXCEPT
Definition shared_ptr.h:423
u8 width
Definition blur.h:186

References fl::FL_NO_EXCEPT, fl::adl_barrier::make_shared(), and fl::width.

+ Here is the call graph for this function: