浏览代码

FLASHMEM instead of PROGMEM for functions

dds
awalch6679 4 年前
父节点
当前提交
84da392ddd
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      async_input_spdif3.cpp

+ 2
- 2
async_input_spdif3.cpp 查看文件

@@ -64,7 +64,7 @@ AsyncAudioInputSPDIF3::~AsyncAudioInputSPDIF3(){
delete quantizer[1];
}

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

正在加载...
取消
保存