1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 06:33:51 +00:00

Expose start to speaker interface (#5228)

This commit is contained in:
Jesse Hills
2023-08-11 16:21:44 +12:00
committed by GitHub
parent 283d9a0f5f
commit 3eef80506b
2 changed files with 3 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ class I2SAudioSpeaker : public Component, public speaker::Speaker, public I2SAud
#endif
void set_external_dac_channels(uint8_t channels) { this->external_dac_channels_ = channels; }
void start();
void start() override;
void stop() override;
size_t play(const uint8_t *data, size_t length) override;