2 #include "AudioConfig.h"
3 #if defined(USE_ANALOG)
5 # include "AnalogConfigESP32.h"
6 # include "AnalogConfigESP32V1.h"
8 # include "AnalogConfigStd.h"
16 virtual void end() = 0;
17 virtual size_t write(
const uint8_t *src,
size_t size_bytes) {
return 0;}
18 virtual size_t readBytes(uint8_t *dest,
size_t size_bytes) = 0;
19 virtual int available() = 0;
20 virtual int availableForWrite() {
return DEFAULT_BUFFER_SIZE; }