Sean Bright
886983b114
func_talkdetect.c: Fix logical errors in silence detection.
...
There are 3 separate changes here:
1. The documentation erroneously stated that the dsp_talking_threshold
argument was a number of milliseconds when it is actually an energy
level used by the DSP code to classify talking vs. silence.
2. Fixes a copy paste error in the argument handling code.
3. Don't erroneously switch to the talking state if we aren't actively
handling a frame we've classified as talking.
Patch inspired by one provided by Moritz Fain (License #6961 ).
ASTERISK-27816 #close
Change-Id: I5953fd570b98b49c41cee55bfe3b941753fb2511
2021-10-19 10:24:52 -05:00
..
2020-03-31 12:07:23 -05:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2018-03-14 05:20:12 -04:00
2021-03-10 08:57:27 -06:00
2018-03-14 05:20:12 -04:00
2021-09-22 09:13:57 -05:00
2017-12-22 09:23:22 -05:00
2020-11-06 12:39:03 -06:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2018-11-21 09:56:16 -05:00
2017-12-22 09:23:22 -05:00
2018-03-14 05:20:12 -04:00
2021-09-10 11:48:10 -05:00
2017-12-22 09:23:22 -05:00
2021-08-09 07:59:09 -05:00
2018-04-17 10:30:23 -06:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2016-10-27 09:53:55 -04:00
2017-04-12 15:57:21 -06:00
2017-12-22 09:23:22 -05:00
2019-09-18 20:22:50 +00:00
2021-06-11 13:26:50 -05:00
2017-12-22 09:23:22 -05:00
2021-08-19 11:13:39 -05:00
2017-12-22 09:23:22 -05:00
2016-10-27 09:53:55 -04:00
2021-02-23 12:18:28 -06:00
2021-03-16 10:30:43 -05:00
2014-04-23 15:02:39 +00:00
2017-12-22 09:23:22 -05:00
2021-03-16 10:30:43 -05:00
2021-03-16 10:30:43 -05:00
2021-03-16 10:30:43 -05:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2018-06-19 10:56:33 -06:00
2021-09-10 11:46:03 -05:00
2021-08-19 09:48:41 -05:00
2017-12-22 09:23:22 -05:00
2017-08-30 18:43:38 +00:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2021-09-10 15:53:25 -05:00
2017-12-22 09:23:22 -05:00
2021-10-19 10:24:52 -05:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2021-09-22 14:30:38 -05:00
2021-05-26 11:19:00 -05:00
2018-05-11 09:48:58 -04:00