FS-9958: [freeswitch-core,mod_local_stream] Add agc object and use it in mod_local_stream
This commit is contained in:
parent
5ce389db05
commit
77e7d1c216
|
@ -1416,6 +1416,7 @@ SWITCH_STANDARD_API(local_stream_function)
|
||||||
if (source->agc) {
|
if (source->agc) {
|
||||||
switch_agc_destroy(&source->agc);
|
switch_agc_destroy(&source->agc);
|
||||||
}
|
}
|
||||||
|
source->energy_avg = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue