Hi I'm working on an a2dp project and having trouble setting the i2s bits on the esp32 to 24 bit. The example I am using(pipeline_a2dp_source_stream) has it set to 16 and I cant find where to change it. My codec needs 24 bit
Thank you
how to set esp32 i2s to 24bit?
Re: how to set esp32 i2s to 24bit?
Have you tried to set
after calling
?
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();
You should also check if the I2S input stream format is 24 bit/sample.
Who is online
Users browsing this forum: No registered users and 19 guests