Hello,
here are some clarifications that can help.
-PBP Sink project is using SAI peripheral for I²S generation through the BSP, (see stm32wba55g_discovery_audio.c)
In the header you can see that several DMA channels are reserved by this BSP :
-GPDMA1_Channel1 for audio IN : not used at sink
-GPDMA1_Channel2 for audio OUT : used
-GPDMA1_Channel3 for audio IN (PDM) ; not used
Note that GPDMA channel 0 and 7 are for the ST Link UART (logs, etc..)
Keep in mind that I²S is done for stereo, then both left and right channels are link to the same DMA handler. Additionally audio buffers are in stereo with channel Left and Right interleaved
You can add some processing, if CPU is not overloading, by two ways:
-Directly in CODEC_NotifyDataReady() that must be redefined (weak) and that is called after the LC3 processing
-Aligned on a DMA interrupt, when CODEC_ReceiveData() is called, but you may have to delay the signal to ensure that SAI, LC3, and application are still working on separated buffer
You can find some information related to audio data path here:
https://wiki.st.com/stm32mcu/wiki/Connectivity:Bluetooth_LE_Audio_-_STM32WBA_LC3_Codec
Best regards,