From f18597cad496fc7279d4f4ff107e275e1732ed7e Mon Sep 17 00:00:00 2001 From: Jakub Tyszkowski Date: Fri, 21 Nov 2014 16:13:52 +0100 Subject: [PATCH] android/hal-ipc-api: Extend a2dp hal API with A2DP Sink role Android 5 adds audio configuration callback for the a2dp HAL. This callback is used only by newly introduced a2dp sink role. A2dp Sink uses the same HAL API as Source role does. Of course there is a sepparate HAL instance for Sink and just the interface is common with Source role. --- android/hal-ipc-api.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/android/hal-ipc-api.txt b/android/hal-ipc-api.txt index efcd3cf7e..01490fa8f 100644 --- a/android/hal-ipc-api.txt +++ b/android/hal-ipc-api.txt @@ -1058,9 +1058,11 @@ Notifications: Bluetooth Advanced Audio HAL (ID 6) -=================================== +Bluetooth Advanced Audio Sink HAL (ID 13) +========================================= Android HAL name: "a2dp" (BT_PROFILE_ADVANCED_AUDIO_ID) +Android HAL name: "a2dp_sink" (BT_PROFILE_ADVANCED_AUDIO__SINK_ID) Commands and responses: @@ -1101,6 +1103,14 @@ Notifications: 0x01 = Stopped 0x02 = Started + Opcode 0x83 - Audio Configuration notification + + Notification parameters: Remote address (6 octets) + Sample Rate in Hz (4 octets) + Channel Count (1 octet) + + Valid channel count: 0x01 = Mono + 0x02 = Stereo Bluetooth Health HAL (ID 7) =========================== -- 2.47.3