esp32-audio-player 0.1.0
Audio player engine for ESP32
Loading...
Searching...
No Matches
audio_player.h
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
16#pragma once
17
19#include "audio_player/base.h"
20#include "audio_player/audio.h"
21#include "audio_player/events.h"
22#include "audio_player/stream.h"
24#include "audio_player/dsp.h"
26#include "audio_player/tags.h"
27#include "audio_player/text.h"
32#include "audio_player/sink.h"
33#include "audio_player/player.h"
34
35#if defined(ESP_PLATFORM)
36#include "audio_player/esp32.h"
38#endif
Audio formats and PCM conventions.
Base definitions shared by every core module: error codes, memory, logging, locks.
Compact collation for Russian + English (+ Latin with diacritics folded): case-insensitive,...
Audio decoders behind one interface.
Sound processing chain, float32 inside, Q31 in and out: ReplayGain -> preamp -> parametric EQ (<=10 b...
ESP32 runtime: connects the portable core to ESP-IDF and runs the player in its own task.
Events from the player to the application.
Folder browsing without the index: works right after inserting a card.
I2S DAC output for the player (ESP-IDF i2s_std driver, master, Philips format, 32-bit slots).
Music library index stored on the SD card (no LevelDB, no SQLite).
Playback engine: queue, gapless transitions, DSP, output negotiation, resume.
M3U/M3U8 playlists (read: relative/absolute paths, CP1251 or UTF-8 with or without BOM,...
Sample-rate conversion for the Bluetooth path (A2DP runs at 44.1 or 48 kHz).
Audio output interface.
Byte streams used by decoders and tag parsers.
Metadata readers: ID3v2.2/2.3/2.4 (+unsynchronisation, extended header), ID3v1, FLAC Vorbis comments ...
Text encodings and Unicode helpers.
Library version (semantic versioning).