2 #include "AudioConfig.h"
3 #include "AudioTools/CoreAudio/AudioTypes.h"
5 #ifndef PIN_ANALOG_START
6 # define PIN_ANALOG_START -1
10 # define ANALOG_BUFFERS 10
13 #ifndef ANALOG_MAX_OUT_CHANNELS
14 # define ANALOG_MAX_OUT_CHANNELS 10
20 class AnalogAudioArduino;
32 int buffer_count = ANALOG_BUFFERS;
33 int buffer_size = ANALOG_BUFFER_SIZE;
35 bool is_blocking_write =
true;
36 bool is_auto_center_read =
true;
37 int max_sample_rate = ANALOG_MAX_SAMPLE_RATE;
38 int start_pin = PIN_ANALOG_START;
42 rx_tx_mode = rxtxMode;
46 template <
typename T,
int N>
50 for (
int i = 0; i < N; ++i) {
66 if (pins_data.size() == 0 && start_pin >= 0) {
69 pins_data[j] = start_pin + j;
82 using AnalogConfig = AnalogConfigStd;
RxTxMode
The Microcontroller is the Audio Source (TX_MODE) or Audio Sink (RX_MODE). RXTX_MODE is Source and Si...
Definition: AudioTypes.h:28