mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:09:42 +00:00
[Master port]audio: add new audio formats
This patch ports a change to the HAL interfaces done in master in order to have the same Audio common HAL interface in both AOSP and master. This is needed as the Bluetooth HAL uses the audio common HAL and needs to be frozen in the same state in both AOSP and MASTER. Add AAC_LATM*, CELT and APTX_ADAPTIVE to the list of audio formats. Bug: 124247199 Bug: 123082414 Test: make Change-Id: Id75e1f5016929d5a67e777774aaa892df6f91e78 Merged-In: Id75e1f5016929d5a67e777774aaa892df6f91e78
This commit is contained in:
committed by
Kevin Rocard
parent
c32a993999
commit
36274db4e5
@@ -235,6 +235,10 @@ enum AudioFormat : uint32_t {
|
||||
LDAC = 0x23000000UL,
|
||||
/** Dolby Metadata-enhanced Audio Transmission */
|
||||
MAT = 0x24000000UL,
|
||||
AAC_LATM = 0x25000000UL,
|
||||
CELT = 0x26000000UL,
|
||||
APTX_ADAPTIVE = 0x27000000UL,
|
||||
|
||||
/** Deprecated */
|
||||
MAIN_MASK = 0xFF000000UL,
|
||||
SUB_MASK = 0x00FFFFFFUL,
|
||||
@@ -306,6 +310,9 @@ enum AudioFormat : uint32_t {
|
||||
MAT_1_0 = (MAT | MAT_SUB_1_0),
|
||||
MAT_2_0 = (MAT | MAT_SUB_2_0),
|
||||
MAT_2_1 = (MAT | MAT_SUB_2_1),
|
||||
AAC_LATM_LC = (AAC_LATM | AAC_SUB_LC),
|
||||
AAC_LATM_HE_V1 = (AAC_LATM | AAC_SUB_HE_V1),
|
||||
AAC_LATM_HE_V2 = (AAC_LATM | AAC_SUB_HE_V2),
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user