Are you using HFP or A2DP? The PCM samples can be routed to I2S or to APP. Refer to the A2DP_sink example or headset example.
I'm using the HFP. It is a secure encryption project. I need encrypt audio pcm data or decrypt the data.so I need get the pcm audio data
2 of 2 people found this helpful
Refer to hci_handsfree example. You can use the wiced_bt_sco_setup_voice_path() API and set path to WICED_BT_SCO_OVER_APP_CB and provide the data callback. In this callback, you can modify the data samples as required.