mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 12:15:33 +01:00
Voice-Assistant: Start-order change for VAD disabled: start va-pipeline when microphon… (#6391)
This commit is contained in:
parent
142c4a87d2
commit
128fad57b3
@ -152,7 +152,7 @@ void VoiceAssistant::loop() {
|
|||||||
} else
|
} else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
this->set_state_(State::START_PIPELINE, State::START_MICROPHONE);
|
this->set_state_(State::START_MICROPHONE, State::START_PIPELINE);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this->high_freq_.stop();
|
this->high_freq_.stop();
|
||||||
@ -514,7 +514,7 @@ void VoiceAssistant::request_start(bool continuous, bool silence_detection) {
|
|||||||
} else
|
} else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
this->set_state_(State::START_PIPELINE, State::START_MICROPHONE);
|
this->set_state_(State::START_MICROPHONE, State::START_PIPELINE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user