Hello, I am working on implementing sound filtering system using BLE Audio (with nrf5340 audio dk). This question is regarding the latest nRF5340 Audio application.
In the audio_datapath_i2s_blk_complete() function of the audio_datapath.c module, what is the datatype of the values inside the tx_buf and rx_buf_released buffer? From what I understand, they should be 16-bit int PCM data collected from BLE Host and I2S_audio modules, respectively. However, when I print them out as 16-bit int, I got one array of data mixed with zeros and another without. See the image attached below for printed data. Are these buffers in different data format?
We are trying to put processing code inside the function since it is when both I2S tx and rx blocks are ready, and this is where the sample application does the tone_mix processing.
Frey