@@ -33,9 +33,15 @@ | |||
#include "Arduino.h" | |||
#if defined(KINETISK) | |||
#define AUDIO_BLOCK_SAMPLES 128 | |||
#define AUDIO_SAMPLE_RATE 44117.64706 | |||
#define AUDIO_SAMPLE_RATE_EXACT 44117.64706 // 48 MHz / 1088, or 96 MHz * 2 / 17 / 256 | |||
#elif defined(KINETISL) | |||
#define AUDIO_BLOCK_SAMPLES 64 | |||
#define AUDIO_SAMPLE_RATE 22058.82353 | |||
#define AUDIO_SAMPLE_RATE_EXACT 22058.82353 // 48 MHz / 2176, or 96 MHz * 1 / 17 / 256 | |||
#endif | |||
class AudioStream; | |||
class AudioConnection; |