From ab91082e2cdda06dc335fd4447ba00c0f268f605 Mon Sep 17 00:00:00 2001 From: boblark Date: Wed, 7 May 2025 14:16:50 -0700 Subject: [PATCH] Fixed begin() and end() for sine --- synth_sine_f32.cpp | 3 +++ 1 file changed, 3 insertions(+) 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;