Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f22253bc authored by Kevin Rocard's avatar Kevin Rocard Committed by Mikhail Naganov
Browse files

Support Audio HAL V6



Test: push V6 to device and check audio works fine
Bug: 134940862
Change-Id: Ied5aeccdf8f1e9a085ed9cac9d696271b7a1bb63
Merged-In: Ied5aeccdf8f1e9a085ed9cac9d696271b7a1bb63
Signed-off-by: default avatarKevin Rocard <krocard@google.com>
parent 00538f18
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@ cc_library_shared {
        "libaudiohal@2.0",
        "libaudiohal@4.0",
        "libaudiohal@5.0",
        "libaudiohal@6.0",
        "libutils",
    ],

+17 −0
Original line number Diff line number Diff line
@@ -99,3 +99,20 @@ cc_library_shared {
        "-include common/all-versions/VersionMacro.h",
    ]
}

cc_library_shared {
    name: "libaudiohal@6.0",
    defaults: ["libaudiohal_default"],
    shared_libs: [
        "android.hardware.audio.common@6.0",
        "android.hardware.audio.common@6.0-util",
        "android.hardware.audio.effect@6.0",
        "android.hardware.audio@6.0",
    ],
    cflags: [
        "-DMAJOR_VERSION=6",
        "-DMINOR_VERSION=0",
        "-include common/all-versions/VersionMacro.h",
    ]
}
+1 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@ namespace android {
 * the preferred available impl.
 */
enum class AudioHALVersion {
    V6_0,
    V5_0,
    V4_0,
    V2_0,