Android device as a receiver for A2DP profile

Since Android L the BlueDriod stack does support A2DP sink, but it is disabled by default. To enable it do the following: /* Enable bluetooth av sink. */ #define BTA_AV_SINK_INCLUDED TRUE in /external/bluetooth/bluedroid/include/bt_target.h. This enables sink support in the bluetooth stack. Also you have to do this change: <!– Enable sink support. –> <bool name=”profile_supported_a2dp_sink”>true</bool> … Read more