|
ESPHome 2026.3.0-dev
|
Data Structures | |
| class | MediaSource |
| Abstract base class for media sources MediaSource provides audio data to an orchestrator via the MediaSourceListener interface. More... | |
| class | MediaSourceListener |
| Callbacks from a MediaSource to its orchestrator. More... | |
Enumerations | |
| enum class | MediaSourceState : uint8_t { IDLE , PLAYING , PAUSED , ERROR } |
| enum class | MediaSourceCommand : uint8_t { PLAY , PAUSE , STOP , NEXT , PREVIOUS , CLEAR_PLAYLIST , REPEAT_ALL , REPEAT_ONE , REPEAT_OFF , SHUFFLE , UNSHUFFLE } |
| Commands that are sent from the orchestrator to a media source. More... | |
|
strong |
Commands that are sent from the orchestrator to a media source.
| Enumerator | |
|---|---|
| PLAY | |
| PAUSE | |
| STOP | |
| NEXT | |
| PREVIOUS | |
| CLEAR_PLAYLIST | |
| REPEAT_ALL | |
| REPEAT_ONE | |
| REPEAT_OFF | |
| SHUFFLE | |
| UNSHUFFLE | |
Definition at line 19 of file media_source.h.
|
strong |
| Enumerator | |
|---|---|
| IDLE | |
| PLAYING | |
| PAUSED | |
| ERROR | |
Definition at line 11 of file media_source.h.