FS-9958: [freeswitch-core,mod_local_stream] Add agc object and use it in mod_local_stream

This commit is contained in:
Anthony Minessale 2017-05-03 13:50:49 -05:00
parent 5ce389db05
commit 77e7d1c216
1 changed files with 1 additions and 0 deletions

View File

@ -1416,6 +1416,7 @@ SWITCH_STANDARD_API(local_stream_function)
if (source->agc) {
switch_agc_destroy(&source->agc);
}
source->energy_avg = 0;
}
}