|
ESPHome 2026.3.0
|
Data Structures | |
| class | AudioFileMediaSource |
| struct | NamedAudioFile |
Enumerations | |
| enum | EventGroupBits : uint32_t { REQUEST_START = (1 << 0) , COMMAND_STOP = (1 << 1) , COMMAND_PAUSE = (1 << 2) , TASK_STARTING = (1 << 7) , TASK_RUNNING = (1 << 8) , TASK_STOPPING = (1 << 9) , TASK_STOPPED = (1 << 10) , TASK_ERROR = (1 << 11) , TASK_PAUSED = (1 << 12) , ALL_BITS = 0x00FFFFFF } |
| enum class | AudioFileDecodingState : uint8_t { START_TASK , DECODING , IDLE } |
Functions | |
| void | add_named_audio_file (audio::AudioFile *file, const char *file_id) |
| const StaticVector< NamedAudioFile, AUDIO_FILE_MAX_FILES > & | get_named_audio_files () |
Variables | |
| StaticVector< NamedAudioFile, AUDIO_FILE_MAX_FILES > | named_audio_files |
|
strong |
| Enumerator | |
|---|---|
| START_TASK | |
| DECODING | |
| IDLE | |
Definition at line 18 of file audio_file_media_source.h.
| Enumerator | |
|---|---|
| REQUEST_START | |
| COMMAND_STOP | |
| COMMAND_PAUSE | |
| TASK_STARTING | |
| TASK_RUNNING | |
| TASK_STOPPING | |
| TASK_STOPPED | |
| TASK_ERROR | |
| TASK_PAUSED | |
| ALL_BITS | |
Definition at line 30 of file audio_file_media_source.cpp.
|
inline |
Definition at line 20 of file audio_file.h.
|
inline |
Definition at line 24 of file audio_file.h.
|
inline |
Definition at line 18 of file audio_file.h.