Igor Goncharovsky
f12e1e487e
app_waitforsilence.c: Use milliseconds to calculate timeout time
...
The functions WaitForNoise() and WaitForSilence() use the time()
functions to calculate elapsed time, which causes the timer to fire on
a whole second boundary, and the actual function execution time to fire
the timer may be 1 second less than expected. This fix replaces time()
with ast_tvnow().
Fixes : #1401
(cherry picked from commit 2e95a334a5
)
2025-09-17 13:36:51 -06:00
..
2025-05-01 12:41:17 +00:00
2025-03-20 18:29:20 +00:00
2025-09-17 13:36:50 -06:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-05-01 12:41:17 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-05-01 12:41:17 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-09-17 13:36:51 -06:00
2025-05-01 12:41:17 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-09-17 13:36:51 -06:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-01-23 18:39:42 +00:00
2025-03-20 18:29:20 +00:00
2025-05-01 12:41:17 +00:00
2025-03-20 18:29:20 +00:00
2025-05-01 12:41:17 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-05-01 12:41:17 +00:00
2025-05-01 12:41:17 +00:00
2025-01-23 18:39:42 +00:00
2025-03-20 18:29:20 +00:00
2025-05-01 12:41:17 +00:00
2025-09-17 13:36:50 -06:00
2025-05-01 12:41:17 +00:00
2025-05-01 12:41:17 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-09-17 13:36:51 -06:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-09-17 13:36:24 -06:00
2025-01-23 18:39:42 +00:00
2025-05-01 12:41:17 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2022-04-26 17:40:39 -05:00
2025-03-20 18:29:20 +00:00
2025-05-01 12:41:17 +00:00
2025-05-01 12:41:17 +00:00
2025-09-17 13:36:24 -06:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:21 +00:00
2025-09-17 13:36:24 -06:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2019-06-28 07:32:03 -06:00
2019-06-28 07:32:03 -06:00
2019-06-28 07:32:03 -06:00
2019-06-28 07:32:03 -06:00
2025-05-01 12:41:17 +00:00
2012-06-15 15:33:41 +00:00
2025-01-23 18:39:42 +00:00
2025-03-20 18:29:20 +00:00
2025-09-17 13:36:51 -06:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2025-03-20 18:29:20 +00:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2025-09-17 13:36:23 -06:00