#ifndef _RINGCONFIG_H_ #define _RINGCONFIG_H_ // <<< Use Configuration Wizard in Context Menu >>> // Audio Configuration // Sampling Frequency <8000=> 8000 kHz <16000=> 16000 kHz // <44100=> 44100 kHz <48000=> 48000 kHz #ifndef AUDIO_SAMPLINGFREQUENCY #define AUDIO_SAMPLINGFREQUENCY 16000 #endif // Number of samples <100-3000> // Must be consistent with the settings of the Audio source #ifndef AUDIO_NBSAMPLES #define AUDIO_NBSAMPLES 1600 #endif // Number of channels <1=> Mono <2=> Stereo #ifndef AUDIO_NBCHANNELS #define AUDIO_NBCHANNELS 1U #endif // Channel encoding <2=> 16 Bits #ifndef AUDIO_CHANNEL_ENCODING #define AUDIO_CHANNEL_ENCODING 2U #endif // RX_ENABLED: Enable RX #define RX_ENABLED 1 // TX_ENABLED: Enable TX #define TX_ENABLED 1 // // Ring Buffer Configuration // Number of buffers <2-32> #ifndef RING_NBBUFS #define RING_NBBUFS 2 #endif // // <<< end of configuration section >>> #define RING_BUFSIZE (AUDIO_NBSAMPLES * AUDIO_NBCHANNELS * AUDIO_CHANNEL_ENCODING) #endif