i2s_channel_get_info() function
Get I2S channel information
Arguments
handle
I2S channel handler
chan_info
I2S channel basic information
Return value
- ESP_OK Get I2S channel information success - ESP_ERR_NOT_FOUND The input handle doesn't match any registered I2S channels, it may not an I2S channel handle or not available any more - ESP_ERR_INVALID_ARG The input handle or chan_info pointer is NULL