forked from xiaozhi/xiaozhi-esp32
支持分别关闭降噪和唤醒功能
This commit is contained in:
@@ -18,8 +18,10 @@
|
||||
#include "ota.h"
|
||||
#include "background_task.h"
|
||||
|
||||
#if CONFIG_USE_AUDIO_PROCESSING
|
||||
#if CONFIG_USE_WAKE_WORD_DETECT
|
||||
#include "wake_word_detect.h"
|
||||
#endif
|
||||
#if CONFIG_USE_AUDIO_PROCESSOR
|
||||
#include "audio_processor.h"
|
||||
#endif
|
||||
|
||||
@@ -72,8 +74,10 @@ private:
|
||||
Application();
|
||||
~Application();
|
||||
|
||||
#if CONFIG_USE_AUDIO_PROCESSING
|
||||
#if CONFIG_USE_WAKE_WORD_DETECT
|
||||
WakeWordDetect wake_word_detect_;
|
||||
#endif
|
||||
#if CONFIG_USE_AUDIO_PROCESSOR
|
||||
AudioProcessor audio_processor_;
|
||||
#endif
|
||||
Ota ota_;
|
||||
|
||||
Reference in New Issue
Block a user