3 #include "AudioTools/CoreAudio/AudioStreams.h"
30 int available()
override {
return DEFAULT_BUFFER_SIZE; }
32 size_t readBytes(uint8_t* data,
size_t len)
override {
34 return ::read(0, data, len);
37 int availableForWrite()
override {
return DEFAULT_BUFFER_SIZE; }
39 size_t write(
const uint8_t *data,
size_t len)
override {
43 return ::write(1, data, len);