[pulseaudio-discuss] [PATCH 5/5] echo-cancel: Fix uninitialized variable dotp_xf_xf of AEC struct
Peter Meerwald
pmeerw at pmeerw.net
Fri Feb 8 06:57:05 PST 2013
From: Peter Meerwald <p.meerwald at bct-electronic.com>
at least valgrind complains about it
Signed-off-by: Peter Meerwald <p.meerwald at bct-electronic.com>
---
src/modules/echo-cancel/adrian-aec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/modules/echo-cancel/adrian-aec.c b/src/modules/echo-cancel/adrian-aec.c
index 05a5d51..fcaf1d2 100644
--- a/src/modules/echo-cancel/adrian-aec.c
+++ b/src/modules/echo-cancel/adrian-aec.c
@@ -86,6 +86,7 @@ AEC* AEC_init(int RATE, int have_vector)
a->cutoff = FIR_HP_300Hz_init();
a->acMic = IIR_HP_init();
a->acSpk = IIR_HP_init();
+ a->dotp_xf_xf = 0.0;
a->aes_y2 = M0dB;
--
1.7.9.5
More information about the pulseaudio-discuss
mailing list