Jun 8, 2013 at 5:10 AM
Edited Jun 8, 2013 at 5:12 AM
Basically I have tried to do this also.
You shouldn't have to do actually much with the audio. Once the device is paired
connected on via A2DP, all phone audio should just play. i.e. you won't need to actually deal with the raw audio. The stack should just handle all of that automatically assuming it supports A2DP.
My problem was (well still is)
1) Forcing the PC to connect to the phone (with a device that was previously paired) for A2DP streaming
2) Connecting via AVRCP for both metadata information and control (play/pause/next etc).
I have been completely unsuccessful in just getting this basic functionality to work.
If I connect manually from my phone or PC it works just fine but I want it to be automatic for an in car PC and then want metadata access.