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: Kevin Rocard <krocard@google.com>
gugelfrei
Kevin Rocard 5 years ago committed by Mikhail Naganov
parent 00538f18b8
commit f22253bc9f

@ -16,6 +16,7 @@ cc_library_shared {
"libaudiohal@2.0",
"libaudiohal@4.0",
"libaudiohal@5.0",
"libaudiohal@6.0",
"libutils",
],

@ -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",
]
}

@ -34,6 +34,7 @@ namespace android {
* the preferred available impl.
*/
enum class AudioHALVersion {
V6_0,
V5_0,
V4_0,
V2_0,

Loading…
Cancel
Save