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