How to extract audio data from Bluetooth's music_sink? Any tips? Have been researching for several days.

How to extract audio data from Bluetooth’s music_sink? Any tips? I’ve been researching this for several days.

What audio data exactly is being extracted—the received A2DP packets, the decoded data, or the data played by the speaker?

1 Like

It’s the decoded data; you need to send the audio sample data to a hardware device for playback.

Is there any way to retrieve it? I couldn’t find anything like a data callback.

I found audio_register_10ms_tx_dma_callback, but it seems I can’t retrieve the data