Naveen Albert
71a748363d
dsp.c: Improve debug logging in tone_detect().
...
The debug logging during DSP processing has always been kind
of overwhelming and annoying to troubleshoot. Simplify and
improve the logging in a few ways to aid DSP debugging:
* If we had a DSP hit, don't also emit the previous debug message that
was always logged. It is duplicated by the hit message, so this can
reduce the number of debug messages during detection by 50%.
* Include the hit count and required number of hits in the message so
on partial detections can be more easily troubleshot.
* Use debug level 9 for hits instead of 10, so we can focus on hits
without all the noise from the per-frame debug message.
* 1-index the hit count in the debug messages. On the first hit, it
currently logs '0', just as when we are not detecting anything,
which can be confusing.
Resolves : #1375
2025-08-18 16:25:59 +00:00
..
2025-02-20 21:46:28 +00:00
2021-11-15 17:33:27 -06:00
2025-02-20 21:46:28 +00:00
2017-12-22 09:23:22 -05:00
2018-12-07 09:06:08 -05:00
2025-02-20 21:46:28 +00:00
2024-06-24 15:33:11 +00:00
2025-02-20 21:46:28 +00:00
2023-12-08 13:11:54 +00:00
2023-04-03 07:58:23 -05:00
2025-02-20 21:46:28 +00:00
2023-12-08 13:11:54 +00:00
2025-07-30 16:03:56 +00:00
2023-01-13 08:32:33 -06:00
2020-06-02 11:35:07 -05:00
2024-09-25 18:27:18 +00:00
2025-02-20 21:46:28 +00:00
2021-12-02 15:02:09 -06:00
2025-02-20 21:46:28 +00:00
2019-09-23 07:35:48 -04:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2025-07-02 14:34:36 +00:00
2024-09-09 23:17:18 +00:00
2020-04-06 10:23:20 -05:00
2021-12-02 15:02:09 -06:00
2025-02-20 21:46:28 +00:00
2025-02-20 21:46:28 +00:00
2021-12-02 15:02:09 -06:00
2025-08-15 15:59:23 +00:00
2025-01-16 15:32:52 +00:00
2025-02-20 21:46:28 +00:00
2025-02-20 21:46:28 +00:00
2025-08-06 15:37:47 +00:00
2025-08-11 13:52:24 +00:00
2025-05-07 16:47:02 +00:00
2025-05-07 16:47:02 +00:00
2025-08-15 16:47:48 +00:00
2025-07-08 15:22:39 +00:00
2025-08-07 14:58:27 +00:00
2025-07-01 14:02:33 +00:00
2025-08-07 14:58:27 +00:00
2025-07-08 15:22:39 +00:00
2018-03-01 13:13:55 -06:00
2025-07-30 16:03:56 +00:00
2023-09-22 16:10:11 +00:00
2024-02-12 18:46:32 +00:00
2025-02-20 21:46:28 +00:00
2025-07-30 15:38:26 +00:00
2022-03-23 17:13:03 -05:00
2025-02-20 21:46:28 +00:00
2024-10-17 15:20:39 +00:00
2021-12-02 15:02:09 -06:00
2020-04-15 13:56:40 -05:00
2022-07-07 08:19:14 -05:00
2025-02-20 21:46:28 +00:00
2025-02-20 21:46:28 +00:00
2023-01-10 14:07:44 -06:00
2024-09-05 16:32:25 +00:00
2021-12-02 15:02:09 -06:00
2021-12-02 10:37:38 -06:00
2020-06-10 09:33:28 -05:00
2021-12-02 15:02:09 -06:00
2021-12-02 10:37:38 -06:00
2020-04-28 13:05:55 -05:00
2025-02-20 21:46:28 +00:00
2024-10-10 15:34:28 +00:00
2025-08-18 16:25:59 +00:00
2019-03-11 11:39:35 -03:00
2025-02-20 21:46:28 +00:00
2024-08-12 15:21:35 +00:00
2025-02-20 21:46:28 +00:00
2018-03-14 05:20:12 -04:00
2025-08-15 15:59:23 +00:00
2025-08-11 13:53:15 +00:00
2025-02-20 21:46:28 +00:00
2024-02-12 18:46:32 +00:00
2021-12-02 15:02:09 -06:00
2021-01-04 05:00:58 -06:00
2024-02-12 18:46:32 +00:00
2025-05-20 13:54:01 +00:00
2021-11-15 17:33:27 -06:00
2021-11-15 17:33:27 -06:00
2017-12-22 09:23:22 -05:00
2018-03-01 13:13:55 -06:00
2018-03-01 13:13:55 -06:00
2025-04-21 13:29:28 +00:00
2024-02-12 18:46:32 +00:00
2024-02-12 18:46:32 +00:00
2021-12-02 15:02:09 -06:00
2024-04-29 13:24:07 +00:00
2017-12-20 12:40:01 -05:00
2025-04-02 12:16:36 +00:00
2018-05-20 13:55:26 +02:00
2025-07-30 16:03:56 +00:00
2025-01-29 14:18:18 +00:00
2020-10-02 12:58:18 -05:00
2025-01-29 14:18:18 +00:00
2025-01-23 17:39:06 +00:00
2025-05-07 16:47:02 +00:00
2025-01-29 14:18:18 +00:00
2025-02-20 21:46:28 +00:00
2025-02-20 21:46:28 +00:00
2017-12-22 09:23:22 -05:00
2025-01-29 14:18:18 +00:00
2017-12-19 09:42:19 -05:00
2025-07-30 16:03:56 +00:00
2025-04-21 13:29:28 +00:00
2021-12-02 15:02:09 -06:00
2019-01-28 12:26:58 -07:00
2025-02-20 21:46:28 +00:00
2021-12-02 15:02:09 -06:00
2025-01-29 14:18:18 +00:00
2017-12-30 13:20:16 -05:00
2018-05-21 11:03:10 -05:00
2021-12-02 10:37:38 -06:00
2025-07-30 16:03:56 +00:00
2019-03-11 11:39:35 -03:00
2025-02-20 21:46:28 +00:00
2025-03-18 15:11:52 +00:00
2025-02-20 21:46:28 +00:00
2021-12-02 15:02:09 -06:00
2021-08-06 09:04:28 -05:00
2017-12-22 09:23:22 -05:00
2021-12-02 15:02:09 -06:00
2025-01-29 14:18:18 +00:00
2025-07-30 16:03:56 +00:00
2025-02-20 21:46:28 +00:00
2025-07-30 16:03:56 +00:00
2017-12-22 09:23:22 -05:00
2025-01-29 14:18:18 +00:00
2025-02-11 22:05:26 +00:00
2025-02-20 21:46:28 +00:00
2025-02-20 21:46:28 +00:00
2022-01-21 10:06:57 -06:00
2017-12-22 09:23:22 -05:00
2025-01-29 14:18:18 +00:00
2019-11-18 11:05:24 -05:00
2021-12-02 15:02:09 -06:00
2021-11-15 17:33:27 -06:00
2024-04-22 12:55:45 +00:00
2019-02-04 14:40:35 -06:00
2021-12-02 15:02:09 -06:00
2025-03-07 16:53:13 +00:00
2019-03-11 11:39:35 -03:00
2021-11-18 14:46:42 -06:00
2025-03-07 16:53:13 +00:00
2025-01-29 14:18:18 +00:00
2021-12-02 10:37:38 -06:00
2023-06-09 18:19:53 +00:00
2022-05-09 08:20:46 -05:00
2025-01-29 14:18:18 +00:00
2025-02-20 21:46:28 +00:00
2020-05-08 13:44:08 -05:00
2024-10-17 15:20:39 +00:00
2018-03-13 16:24:06 -04:00
2025-06-02 16:35:28 +00:00
2025-02-20 21:46:28 +00:00
2025-02-20 21:46:28 +00:00
2025-04-21 13:29:28 +00:00
2021-12-02 15:02:09 -06:00
2021-09-08 19:10:54 -05:00
2025-01-02 14:52:16 +00:00
2021-12-02 15:02:09 -06:00
2017-12-22 09:23:22 -05:00
2022-03-24 12:00:58 -05:00
2018-01-03 17:23:36 -05:00
2024-02-28 13:03:26 +00:00
2025-02-20 21:46:28 +00:00
2017-12-22 09:23:22 -05:00
2023-11-14 20:51:40 +00:00
2023-03-01 09:50:02 -06:00
2025-02-20 21:46:28 +00:00
2021-12-02 15:02:09 -06:00
2025-02-20 21:46:28 +00:00
2025-08-15 16:48:12 +00:00