esp32-audio-player 0.1.0
Audio player engine for ESP32
Loading...
Searching...
No Matches
audio_player_esp32_config_t Struct Reference

#include <esp32.h>

Collaboration diagram for audio_player_esp32_config_t:

Data Fields

audio_sink_t * sink
 output, may be NULL and set later with player_cmd_set_sink()
 
library_t * library
 optional music library index
 
const char * state_dir
 resume state and scrobble log directory, NULL = none
 
bool scrobble_log
 write a Rockbox-format .scrobbler.log into state_dir
 
float volume_default_db
 first volume when there is no saved state
 
float volume_max_db
 upper volume limit (hearing protection), <= 0
 
float volume_step_db
 player_cmd_volume_step() increment
 
uint32_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)
 
uint8_t task_priority
 FreeRTOS priority of the audio task.
 
int8_t task_core
 core to pin the audio task to, -1 = any
 
core_event_sink_t on_event
 optional: player events (called from the audio task)
 
void * on_event_user
 
core_log_level_t log_level
 

Field Documentation

◆ library

library_t* audio_player_esp32_config_t::library

optional music library index

◆ log_level

core_log_level_t audio_player_esp32_config_t::log_level

◆ on_event

core_event_sink_t audio_player_esp32_config_t::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

output, may be NULL and set later with player_cmd_set_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: