diff --git a/synth_sine_f32.cpp b/synth_sine_f32.cpp index 816a4f3..ee51f22 100644 --- a/synth_sine_f32.cpp +++ b/synth_sine_f32.cpp @@ -20,6 +20,9 @@ void AudioSynthWaveformSine_F32::update(void) { uint16_t index, i; float32_t a, b; + if(!enabled) + return; + blockS = AudioStream_F32::allocate_f32(); // Output blocks if (!blockS) return;