From: Anthony Minessale Date: Wed, 3 May 2017 18:50:49 +0000 (-0500) Subject: FS-9958: [freeswitch-core,mod_local_stream] Add agc object and use it in mod_local_stream X-Git-Tag: v1.8.0~537 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77e7d1c21687ed29f183237a79fb533306230fc2;p=thirdparty%2Ffreeswitch.git FS-9958: [freeswitch-core,mod_local_stream] Add agc object and use it in mod_local_stream --- diff --git a/src/mod/formats/mod_local_stream/mod_local_stream.c b/src/mod/formats/mod_local_stream/mod_local_stream.c index 5f9dd2484d..1a0d015d12 100644 --- a/src/mod/formats/mod_local_stream/mod_local_stream.c +++ b/src/mod/formats/mod_local_stream/mod_local_stream.c @@ -1416,6 +1416,7 @@ SWITCH_STANDARD_API(local_stream_function) if (source->agc) { switch_agc_destroy(&source->agc); } + source->energy_avg = 0; } }