#include <esp32.h>
◆ library
| library_t* audio_player_esp32_config_t::library |
optional music library index
◆ log_level
◆ on_event
optional: player events (called from the audio task)
◆ on_event_user
| void* audio_player_esp32_config_t::on_event_user |
◆ scrobble_log
| bool audio_player_esp32_config_t::scrobble_log |
write a Rockbox-format .scrobbler.log into state_dir
◆ sink
| audio_sink_t* audio_player_esp32_config_t::sink |
◆ state_dir
| const char* audio_player_esp32_config_t::state_dir |
resume state and scrobble log directory, NULL = none
◆ task_core
| int8_t audio_player_esp32_config_t::task_core |
core to pin the audio task to, -1 = any
◆ task_priority
| uint8_t audio_player_esp32_config_t::task_priority |
FreeRTOS priority of the audio task.
◆ task_stack
| uint32_t audio_player_esp32_config_t::task_stack |
bytes of internal RAM for the audio task; the MP3 decoder alone takes about 16 KB of it per frame (minimp3 scratch)
◆ volume_default_db
| float audio_player_esp32_config_t::volume_default_db |
first volume when there is no saved state
◆ volume_max_db
| float audio_player_esp32_config_t::volume_max_db |
upper volume limit (hearing protection), <= 0
◆ volume_step_db
| float audio_player_esp32_config_t::volume_step_db |
The documentation for this struct was generated from the following file: