Code: Select all
i2s_cfg.i2s_config.bits_per_sample = I2S_BITS_PER_SAMPLE_24BIT;
Code: Select all
i2s_stream_cfg_t i2s_cfg = I2S_STREAM_CFG_DEFAULT();
You should also check if the I2S input stream format is 24 bit/sample.
Code: Select all
i2s_cfg.i2s_config.bits_per_sample = I2S_BITS_PER_SAMPLE_24BIT;
Code: Select all
i2s_stream_cfg_t i2s_cfg = I2S_STREAM_CFG_DEFAULT();