esp-adf
esp-adf copied to clipboard
i2s_stream_idf5.i2s_driver_startup uses get_i2s_pins and is not using information from i2s_cfg->std_cfg.gpio_cfg (AUD-6111)
i2s_stream_idf5.i2s_driver_startup ... board_i2s_pin_t board_i2s_pin = { 0 }; get_i2s_pins(i2s_port, &board_i2s_pin); ...
There is no use of i2s_cfg->std_cfg.gpio_cfg to set the pins dynamically from the provided configuration.
Hi @rwrozelle We will copy the config_instance of type i2s_std_x_gpio_config_t to i2s_key_slot[i2s->port].x_std_cfg, then call the i2s_channel_init_std_mode function.