MOV
8e34995944
fix: add frame buffering to NoAudioProcessor for ESP32-C5 ( #1766 )
...
* add: Moji 2 has built-in ESP32-C5 dual band Wi-Fi
* feat: PowerSaveTimer 160 >> 240
* fix(audio): add frame buffering to NoAudioProcessor
On chips where CONFIG_USE_AUDIO_PROCESSOR is unavailable (e.g., ESP32-C5,
which is excluded by Kconfig despite having PSRAM), NoAudioProcessor is used.
The original implementation passed through 160-sample chunks directly, but
the Opus encoder expects 960 samples (60ms @ 16kHz), resulting in frame size
mismatch errors, high CPU usage, and watchdog resets.
Added output_buffer_ to accumulate audio samples until reaching
frame_samples_ (960) before outputting, matching AfeAudioProcessor behavior.
other:
Turn off sleep mode (PowerSaveTimer)
2026-02-13 22:50:58 +08:00
..
2025-12-09 09:24:56 +08:00
2026-01-20 22:44:37 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2025-09-08 17:30:18 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2026-02-09 19:13:14 +08:00
2026-01-20 22:44:37 +08:00
2026-02-09 19:13:14 +08:00
2026-02-02 09:53:06 +08:00
2026-02-02 09:53:06 +08:00
2026-01-19 21:46:21 +08:00
2026-01-19 21:46:21 +08:00
2026-01-19 21:46:21 +08:00
2025-12-09 09:24:56 +08:00
2026-02-08 22:09:45 +08:00
2026-02-02 15:33:32 +08:00
2026-02-08 22:09:45 +08:00
2026-01-27 19:12:23 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2026-01-20 22:44:37 +08:00
2026-02-09 19:13:14 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2026-01-28 16:11:26 +08:00
2026-01-28 16:11:26 +08:00
2026-01-07 20:39:17 +08:00
2026-01-31 03:14:50 +08:00
2026-02-08 22:09:45 +08:00
2026-02-08 22:09:45 +08:00
2026-01-20 22:44:37 +08:00
2026-01-20 22:44:37 +08:00
2026-01-20 22:44:37 +08:00
2026-02-08 22:09:45 +08:00
2026-01-20 22:44:37 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2026-02-09 19:16:49 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2026-01-20 22:44:37 +08:00
2026-01-20 22:44:37 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2026-02-13 04:17:38 +08:00
2025-12-09 09:24:56 +08:00
2026-02-08 22:09:45 +08:00
2026-01-20 22:44:37 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2026-02-02 10:01:36 +08:00
2026-02-08 22:09:45 +08:00
2026-02-13 13:10:19 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2026-02-13 22:50:58 +08:00
2026-02-09 19:13:14 +08:00
2026-02-09 19:13:14 +08:00
2026-02-09 19:13:14 +08:00
2026-02-09 19:13:14 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2025-09-08 17:30:18 +08:00
2026-02-09 19:13:14 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2026-02-07 11:02:03 +08:00
2025-12-09 09:24:56 +08:00
2025-12-09 09:24:56 +08:00
2026-01-26 20:45:18 +08:00
2026-01-26 20:45:18 +08:00