diff --git a/src/AudioOutputI2SDAC.cpp b/src/AudioOutputI2SDAC.cpp index 1af3e9a..c25c67b 100644 --- a/src/AudioOutputI2SDAC.cpp +++ b/src/AudioOutputI2SDAC.cpp @@ -39,7 +39,8 @@ i2s_config_t i2s_config_dac = { .communication_format = (i2s_comm_format_t)(I2S_COMM_FORMAT_I2S | I2S_COMM_FORMAT_I2S_MSB), .intr_alloc_flags = ESP_INTR_FLAG_LEVEL1, // high interrupt priority .dma_buf_count = 8, - .dma_buf_len = 64 //Interrupt level 1 + .dma_buf_len = 64, //Interrupt level 1 + .use_apll = true // Use audio PLL }; i2s_pin_config_t pin_config_dac = { diff --git a/src/libmad/layer3.c b/src/libmad/layer3.c index 02cb84e..5a62644 100644 --- a/src/libmad/layer3.c +++ b/src/libmad/layer3.c @@ -2216,7 +2216,7 @@ void III_imdct_s(mad_fixed_t const X[18], mad_fixed_t z[36]) register mad_fixed64hi_t hi; register mad_fixed64lo_t lo; // MAD_F_MLA may produce non-32b aligned reads, so copy from progmem to stack and work from there... - mad_fixed_t const imdct_s_lcl[6][6]; + mad_fixed_t imdct_s_lcl[6][6]; memcpy_P(imdct_s_lcl, imdct_s, sizeof(imdct_s)); stack(__FUNCTION__, __FILE__, __LINE__);