Skip to content

Commit ab91082

Browse files
committed
Fixed begin() and end() for sine
1 parent 4a0477a commit ab91082

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

synth_sine_f32.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ void AudioSynthWaveformSine_F32::update(void) {
2020
uint16_t index, i;
2121
float32_t a, b;
2222

23+
if(!enabled)
24+
return;
25+
2326
blockS = AudioStream_F32::allocate_f32(); // Output blocks
2427
if (!blockS) return;
2528

0 commit comments

Comments
 (0)