From 68dd4e2f545703db98047357ada883f9ab14cb45 Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Sat, 3 Oct 2026 14:38:59 -0400 Subject: [PATCH] wdsp/osctrl: Initialize output envelope Initialize env_out in the OSCTRL constructor. Found by cppcheck. Signed-off-by: Robin Getz --- wdsp/osctrl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wdsp/osctrl.cpp b/wdsp/osctrl.cpp index de2cfee84..a865f0b04 100644 --- a/wdsp/osctrl.cpp +++ b/wdsp/osctrl.cpp @@ -61,7 +61,8 @@ OSCTRL::OSCTRL( inbuff(_inbuff), outbuff(_outbuff), rate(_rate), - osgain(_osgain) + osgain(_osgain), + env_out(0) { bw = 3000.0; calc();