OSDN Git Service

Disable absolute volume control for AirPods 2
authorTed Wang <tedwang@google.com>
Thu, 23 May 2019 11:26:34 +0000 (19:26 +0800)
committerTed Wang <tedwang@google.com>
Mon, 27 May 2019 01:50:50 +0000 (01:50 +0000)
Volume of AirPods 2 start out extremely loud when absolute volume
enabled. Interim response from remote show normal when register volume
changed notification. Disable absolute volume control for AirPods 2 to
avoid volume start out extremely loud.

Bug: 129602489
Test: Play music with AirPods 2
Merged-In: I555576be1929a42ae8e01f661572a89d1993dee9
Change-Id: I555576be1929a42ae8e01f661572a89d1993dee9

device/include/interop_database.h

index c742309..1fa2a4d 100644 (file)
@@ -140,6 +140,9 @@ static const interop_addr_entry_t interop_addr_database[] = {
 
     // deepblue2 - cannot change smoothly the volume: b/37834035
     {{{0x0c, 0xa6, 0x94, 0, 0, 0}}, 3, INTEROP_DISABLE_ABSOLUTE_VOLUME},
+
+    // AirPods 2 - unacceptably loud volume
+    {{{0x94, 0x16, 0x25, 0, 0, 0}}, 3, INTEROP_DISABLE_ABSOLUTE_VOLUME},
 };
 
 typedef struct {