mirror of
https://github.com/esphome/esphome.git
synced 2025-09-24 06:02:21 +01:00
Implement Media Player and I2S Media player (#3487)
This commit is contained in:
@@ -62,6 +62,9 @@ class ComponentIterator {
|
||||
#endif
|
||||
#ifdef USE_LOCK
|
||||
virtual bool on_lock(lock::Lock *a_lock) = 0;
|
||||
#endif
|
||||
#ifdef USE_MEDIA_PLAYER
|
||||
virtual bool on_media_player(media_player::MediaPlayer *media_player);
|
||||
#endif
|
||||
virtual bool on_end();
|
||||
|
||||
@@ -110,6 +113,9 @@ class ComponentIterator {
|
||||
#endif
|
||||
#ifdef USE_LOCK
|
||||
LOCK,
|
||||
#endif
|
||||
#ifdef USE_MEDIA_PLAYER
|
||||
MEDIA_PLAYER,
|
||||
#endif
|
||||
MAX,
|
||||
} state_{IteratorState::NONE};
|
||||
|
Reference in New Issue
Block a user