Add audio debugger

This commit is contained in:
Terrence
2025-06-06 20:24:00 +08:00
parent 24ede22197
commit 7bc5f7bb0c
11 changed files with 170 additions and 5 deletions

View File

@@ -22,6 +22,7 @@
#include "background_task.h"
#include "audio_processor.h"
#include "wake_word.h"
#include "audio_debugger.h"
#define SCHEDULE_EVENT (1 << 0)
#define SEND_AUDIO_EVENT (1 << 1)
@@ -86,6 +87,7 @@ private:
std::unique_ptr<WakeWord> wake_word_;
std::unique_ptr<AudioProcessor> audio_processor_;
std::unique_ptr<AudioDebugger> audio_debugger_;
Ota ota_;
std::mutex mutex_;
std::list<std::function<void()>> main_tasks_;