浏览代码

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()
{ {

正在加载...
取消
保存