forked from xiaozhi/xiaozhi-esp32
v1.7.1: fix send audio (#771)
* screen -> display * Add AUDIO_CODEC_DEFAULT_MIC_GAIN * WebRTC -> NSNet * fix: send audio priority
This commit is contained in:
@@ -48,12 +48,10 @@ void EspWakeWord::OnWakeWordDetected(std::function<void(const std::string& wake_
|
||||
}
|
||||
|
||||
void EspWakeWord::StartDetection() {
|
||||
ESP_LOGI(TAG, "Start wake word detection");
|
||||
xEventGroupSetBits(event_group_, DETECTION_RUNNING_EVENT);
|
||||
}
|
||||
|
||||
void EspWakeWord::StopDetection() {
|
||||
ESP_LOGI(TAG, "Stop wake word detection");
|
||||
xEventGroupClearBits(event_group_, DETECTION_RUNNING_EVENT);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user