Skip to content

Commit

Permalink
ZamNoise: Fix uninitialised values
Browse files Browse the repository at this point in the history
  • Loading branch information
zamaudio committed Apr 27, 2024
1 parent 03ac3ca commit 7a1716c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/ZamNoise/Denoise.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ Denoise::Denoise(float srate) {
window_coef[k] = fft_window(k,FFT_SIZE, window_type);
prev_frame[k] = 0.0;
noise[k] = 0.0;
noise_max[k] = 0.0;
noise_min[k] = 0.0;
}
}

Expand Down

0 comments on commit 7a1716c

Please sign in to comment.