Search found 2 matches

by ims67-fdc
Thu Oct 28, 2021 4:27 pm
Forum: ESP-ADF
Topic: how to set esp32 i2s to 24bit?
Replies: 1
Views: 13557

Re: how to set esp32 i2s to 24bit?

Have you tried to set

Code: Select all

i2s_cfg.i2s_config.bits_per_sample = I2S_BITS_PER_SAMPLE_24BIT;
after calling

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.
by ims67-fdc
Sat May 15, 2021 4:24 pm
Forum: ESP-ADF
Topic: I2S select audio channel
Replies: 2
Views: 5752

Re: I2S select audio channel

Hi, I had a similar issue with play_mp3 example. After starting the audio pipeline, when happen the event AEL_MSG_CMD_REPORT_MUSIC_INFO, the i2s_stream config is updated with info from mp3 decoder. The call audio_element_setinfo(i2s_stream_writer, &music_info); overwrite the initial config of i2s_st...