Browse Source

FLASHMEM instead of PROGMEM for functions

dds
awalch6679 4 years ago
parent
commit
84da392ddd
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      async_input_spdif3.cpp

+ 2
- 2
async_input_spdif3.cpp View File

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…
Cancel
Save