Browse Source

wdsp/osctrl: Initialize output envelope

Initialize env_out in the OSCTRL constructor.

Found by cppcheck.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
chirpmodem-v8.0.0
Robin Getz 2 months ago
parent
commit
68dd4e2f54
No known key found for this signature in database
GPG Key ID: 51C7231FFED0E060
  1. 3
      wdsp/osctrl.cpp

3
wdsp/osctrl.cpp

@ -61,7 +61,8 @@ OSCTRL::OSCTRL( @@ -61,7 +61,8 @@ OSCTRL::OSCTRL(
inbuff(_inbuff),
outbuff(_outbuff),
rate(_rate),
osgain(_osgain)
osgain(_osgain),
env_out(0)
{
bw = 3000.0;
calc();

Loading…
Cancel
Save