arduino-audio-tools
|
AnalogAudioStream: A very fast DAC using DMA using the new dac_continuous API. More...
#include <AnalogDriverESP32V1.h>
Classes | |
class | FIFO |
Custom FIFO class. More... | |
class | IO16Bit |
Public Member Functions | |
AnalogDriverESP32V1 () | |
Default constructor. | |
virtual | ~AnalogDriverESP32V1 () |
Destructor. | |
int | available () override |
virtual int | availableForWrite () |
virtual bool | begin (AnalogConfig cfg)=0 |
bool | begin (AnalogConfigESP32V1 cfg) |
void | end () override |
size_t | readBytes (uint8_t *dest, size_t size_bytes) override |
size_t | write (const uint8_t *src, size_t size_bytes) override |
Protected Member Functions | |
bool | checkADCBitsPerSample () |
bool | checkADCBitWidth () |
bool | checkADCChannels () |
bool | checkADCSampleRate () |
bool | cleanup_rx () |
Cleanup Analog to Digital Converter. | |
bool | cleanup_tx () |
Cleanup dac. | |
bool | setup_rx () |
bool | setup_tx () |
bool | setupADCCalibration () |
Protected Attributes | |
bool | active = false |
bool | active_rx = false |
bool | active_tx = false |
adc_cali_handle_t | adc_cali_handle = nullptr |
adc_continuous_handle_t | adc_handle = nullptr |
ConverterAutoCenter | auto_center |
AnalogConfigESP32V1 | cfg |
NumberFormatConverterStream | converter {io} |
FIFO< ADC_DATA_TYPE > ** | fifo_buffers |
audio_tools::AnalogDriverESP32V1::IO16Bit | this |
AnalogAudioStream: A very fast DAC using DMA using the new dac_continuous API.
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineoverridevirtual |
Implements AnalogDriverBase.
|
inlineprotected |