瀏覽代碼

FLASHMEM instead of PROGMEM for functions

dds
awalch6679 5 年之前
父節點
當前提交
84da392ddd
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      async_input_spdif3.cpp

+ 2
- 2
async_input_spdif3.cpp 查看文件

delete quantizer[1]; delete quantizer[1];
} }


PROGMEM
FLASHMEM
AsyncAudioInputSPDIF3::AsyncAudioInputSPDIF3(bool dither, bool noiseshaping,float attenuation, int32_t minHalfFilterLength, int32_t maxHalfFilterLength): AsyncAudioInputSPDIF3::AsyncAudioInputSPDIF3(bool dither, bool noiseshaping,float attenuation, int32_t minHalfFilterLength, int32_t maxHalfFilterLength):
AudioStream(0, NULL), AudioStream(0, NULL),
_resampler(attenuation, minHalfFilterLength, maxHalfFilterLength) _resampler(attenuation, minHalfFilterLength, maxHalfFilterLength)
quantizer[1]->configure(noiseshaping, dither, factor); quantizer[1]->configure(noiseshaping, dither, factor);
begin(); begin();
} }
PROGMEM
FLASHMEM
void AsyncAudioInputSPDIF3::begin() void AsyncAudioInputSPDIF3::begin()
{ {

Loading…
取消
儲存