|
|
@@ -480,10 +480,10 @@ void Application::Start() {
|
|
|
if (device_state_ == kDeviceStateSpeaking) {
|
|
|
background_task_->WaitForCompletion();
|
|
|
if (keep_listening_) {
|
|
|
- protocol_->SendStartListening(kListeningModeAutoStop);
|
|
|
- SetDeviceState(kDeviceStateListening);
|
|
|
+ // protocol_->SendStartListening(kListeningModeAutoStop);
|
|
|
+ // SetDeviceState(kDeviceStateListening);
|
|
|
} else {
|
|
|
- SetDeviceState(kDeviceStateIdle);
|
|
|
+ // SetDeviceState(kDeviceStateIdle);
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
@@ -829,7 +829,7 @@ void Application::SetDeviceState(DeviceState state) {
|
|
|
display->SetStatus(Lang::Strings::STANDBY);
|
|
|
display->SetEmotion("neutral");
|
|
|
#if CONFIG_USE_AUDIO_PROCESSOR
|
|
|
- // audio_processor_.Stop();
|
|
|
+ audio_processor_.Stop();
|
|
|
#endif
|
|
|
break;
|
|
|
case kDeviceStateConnecting:
|