play_mp3_example errors
Posted: Mon May 03, 2021 3:08 pm
In Visual Studio Code when building "play_mp3_example" if I have an error like an un-used variable it builds ok but I get a warning message about the un-used variable and another warning on the line:
ESP_LOGI(TAG, "[2.2] Create i2s stream to write data to codec chip");
i2s_stream_cfg_t i2s_cfg = I2S_STREAM_CFG_DEFAULT();
Warning:
'I2S_COMM_FORMAT_I2S' is deprecated [-Wdeprecated-declarations]
which I dont understand.
If I Build again both warnings disapear.
Any suggestions please?
ESP_LOGI(TAG, "[2.2] Create i2s stream to write data to codec chip");
i2s_stream_cfg_t i2s_cfg = I2S_STREAM_CFG_DEFAULT();
Warning:
'I2S_COMM_FORMAT_I2S' is deprecated [-Wdeprecated-declarations]
which I dont understand.
If I Build again both warnings disapear.
Any suggestions please?