Sean Bright
a4d533d132
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:21:57 -05:00
..
2020-03-31 11:47:57 -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:01 -06:00
2018-03-14 05:20:12 -04:00
2021-09-21 18:20:25 -05:00
2017-12-22 09:23:22 -05:00
2020-11-06 11:47:16 -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:12 -05:00
2017-12-22 09:23:22 -05:00
2018-03-14 05:20:12 -04:00
2021-09-10 11:47:28 -05:00
2017-12-22 09:23:22 -05:00
2021-08-09 07:49:21 -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 15:26:00 -05:00
2021-06-11 13:26:39 -05:00
2017-12-22 09:23:22 -05:00
2021-08-19 11:13:04 -05:00
2017-12-22 09:23:22 -05:00
2016-10-27 09:53:55 -04:00
2021-02-23 12:18:00 -06:00
2021-03-16 10:30:13 -05:00
2014-04-23 15:02:39 +00:00
2017-12-22 09:23:22 -05:00
2021-03-16 10:30:13 -05:00
2021-03-16 10:30:13 -05:00
2021-03-16 10:30:13 -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:45:29 -05:00
2021-08-19 09:54:20 -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 16:31:52 -05:00
2017-12-22 09:23:22 -05:00
2021-10-19 10:21:57 -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 10:49:23 -05:00
2021-05-26 11:25:07 -05:00
2018-05-11 09:48:58 -04:00