3 #include "AudioConfig.h"
4 #if defined(USE_ANALOG_ARDUINO) || defined(DOXYGEN)
7 #include "AudioTools/CoreAudio/AudioAnalog/AnalogAudioArduino.h"
8 #include "AudioTools/CoreAudio/AudioTimer/AudioTimer.h"
9 #include "AudioTools/CoreAudio/AudioStreams.h"
10 #include "AudioTools/CoreAudio/AudioTypes.h"
11 #include "AudioTools/CoreAudio/Buffers.h"
29 void end()
override { drv.end(); }
31 int available()
override {
return drv.available(); };
34 size_t readBytes(uint8_t *data,
size_t len)
override {
35 return drv.write(data, len);
38 int availableForWrite()
override {
return drv.availableForWrite(); }
40 size_t write(
const uint8_t *data,
size_t len)
override {
41 return drv.write(data, len);
45 AnalogAudioArduino drv;