i2s_event_data_t::size field
The buffer size of DMA buffer when success to send or receive, also the buffer size that dropped when queue overflow. It is related to the dma_frame_num and data_bit_width, typically it is fixed when data_bit_width is not changed.
![]()
size_t size;
i2s_event_data_t::size is written by 2 functions:
![]()
i2s_event_data_t::size