Changed order of definitions in i2s_stream to be compatible with c++.
C++ requires define of struct to match the order.
We are getting errors like:
components/audio_stream/include/i2s_stream.h:232:1: error: designator order for field 'i2s_stream_cfg_t::transmit_mode' does not match declaration order in 'i2s_stream_cfg_t'
Changed order of definitions in i2s_stream to be compatible with c++. C++ requires define of struct to match the order.
We are getting errors like:
components/audio_stream/include/i2s_stream.h:232:1: error: designator order for field 'i2s_stream_cfg_t::transmit_mode' does not match declaration order in 'i2s_stream_cfg_t'
See issue: https://github.com/espressif/esp-adf/issues/1190