|
esp32-audio-player 0.1.0
Audio player engine for ESP32
|
Audio output interface. More...
#include "audio_player/audio.h"

Go to the source code of this file.
Data Structures | |
| struct | audio_sink_t |
Enumerations | |
| enum | { SINK_CAP_HW_VOLUME = 1u << 0 , SINK_CAP_DOP = 1u << 1 , SINK_CAP_BITPERFECT = 1u << 2 , SINK_CAP_RATE_SWITCH = 1u << 3 , SINK_CAP_DITHERS = 1u << 4 } |
| Output resolution. More... | |
Audio output interface.
Implemented by the ESP32 port (I2S DAC, Bluetooth through esp32-a2dp-xq), by tests (memory/WAV writer) or by the application (any other output).
| anonymous enum |
Output resolution.
The negotiated bits describe the format for the bit-perfect check; the capabilities say how many bits of each Q31 sample really reach the DAC, which sets the DSP dither: SINK_CAP_DITHERS -> no DSP dither (Q31 out), SINK_CAP_BITPERFECT -> at least 24 bits, neither -> the negotiated bits.