瀏覽代碼

Allow 2.4 second delay effect on Teensy 4.0

dds
PaulStoffregen 5 年之前
父節點
當前提交
9712139aed
共有 1 個檔案被更改,包括 4 行新增1 行删除
  1. +4
    -1
      effect_delay.h

+ 4
- 1
effect_delay.h 查看文件

#include "AudioStream.h" #include "AudioStream.h"
#include "utility/dspinst.h" #include "utility/dspinst.h"


#if defined(__MK66FX1M0__)
#if defined(__IMXRT1062__)
// 2.41 second maximum on Teensy 4.0
#define DELAY_QUEUE_SIZE (106496 / AUDIO_BLOCK_SAMPLES)
#elif defined(__MK66FX1M0__)
// 2.41 second maximum on Teensy 3.6 // 2.41 second maximum on Teensy 3.6
#define DELAY_QUEUE_SIZE (106496 / AUDIO_BLOCK_SAMPLES) #define DELAY_QUEUE_SIZE (106496 / AUDIO_BLOCK_SAMPLES)
#elif defined(__MK64FX512__) #elif defined(__MK64FX512__)

Loading…
取消
儲存