Hi all
We are developing a audio box witch based on android system, as a audio box it need to be a reciver of the bluetooth to recive the music stream (a2dp sink) and play it (audio router?), we have worked on it weeks but it still didn't work, so anybody know about it and could help.
our current works:
1、packages/apps/Bluetooth/res/values/config.xml
<bool name="profile_supported_a2dp_sink">true</bool>
<bool name="profile_supported_hfpclient">true</bool>
2、external/bluetooth/bluedroid/include/bt_target.h
#define BTA_AV_SINK_INCLUDED TRUE
and some further infomation about it :
but seems not work.
after these works bluetooth worked seems , i can use a phone link to the audio box and play a music(use tcpdump can see the music stream data have send to the audio box),but the audio don't play in the box, it seems to the music stream data didn't route the audio system(AudioFlinger), we have worked on it weeks but still progress so anybody could help it.