Hi, On 11/19/2014 02:10 PM, Jakub Tyszkowski wrote:
Android 5 adds audio configuration callback. --- android/hal-ipc-api.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/android/hal-ipc-api.txt b/android/hal-ipc-api.txt index a5ec44b..9502a15 100644 --- a/android/hal-ipc-api.txt +++ b/android/hal-ipc-api.txt @@ -1098,6 +1098,15 @@ 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) ===========================
Please ignore this whole set as it turn out that new callback is for sink role only and sink role is implementing the same HAL interface.
This case requires more elaborate documentation and different IPC code. Regards, Jakub -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html