1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-28 05:33:53 +00:00

Voice Assistant improvements (#5827)

This commit is contained in:
Jesse Hills
2023-11-27 13:45:26 +13:00
committed by GitHub
parent 0a7d3c367b
commit 1324d9e39a
5 changed files with 78 additions and 39 deletions

View File

@@ -18,6 +18,8 @@ class Speaker {
virtual void start() = 0;
virtual void stop() = 0;
virtual bool has_buffered_data() const = 0;
bool is_running() const { return this->state_ == STATE_RUNNING; }
protected: