From 31829a7baf5560a916b8d70ceed35587b935386b Mon Sep 17 00:00:00 2001 From: "kma@webrtc.org" Date: Tue, 19 Mar 2013 00:25:01 +0000 Subject: [PATCH] Fixed initialization of SPL in echo_control_mobile. BUG=8403556 (a possible fix) Review URL: https://webrtc-codereview.appspot.com/1220004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3687 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/modules/audio_processing/aecm/echo_control_mobile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webrtc/modules/audio_processing/aecm/echo_control_mobile.c b/webrtc/modules/audio_processing/aecm/echo_control_mobile.c index 881f7a55e..7716567fc 100644 --- a/webrtc/modules/audio_processing/aecm/echo_control_mobile.c +++ b/webrtc/modules/audio_processing/aecm/echo_control_mobile.c @@ -95,6 +95,8 @@ WebRtc_Word32 WebRtcAecm_Create(void **aecmInst) return -1; } + WebRtcSpl_Init(); + if (WebRtcAecm_CreateCore(&aecm->aecmCore) == -1) { WebRtcAecm_Free(aecm); @@ -111,8 +113,6 @@ WebRtc_Word32 WebRtcAecm_Create(void **aecmInst) return -1; } - WebRtcSpl_Init(); - aecm->initFlag = 0; aecm->lastError = 0;