summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Rahul <rahul.mohan@xperi.com> 2022-02-21 10:25:08 +0530
committer Dorin Drimus <dorindrimus@google.com> 2022-11-18 14:40:22 +0000
commit9c85cfc37e14abdb4709320970cdff48a308000e (patch)
treea7e204ae2017edff6aa06f5625e74f6b0bcca2a5 /api/api.go
parent43023f5f04ee841fd2517fcdaa575f1069ee82f6 (diff)
Audio: Add ENCODING_DTS_HD_MA, ENCODING_DTS_UHD_P2
The DTS codec capability in sink devices can be DTS Digital Surround, DTS HD, DTS HD Master Audio (Lossless), DTS:X Profile 1, or DTS:X Profile 2. The AudioFormat class already supports ENCODING_DTS, ENCODING_DTS_HD, and ENCODING_DTS_UHD compressed formats. To distinguish all the five categories of DTS codec capabilities, two more compressed formats need to be added in AudioFormat class. - The ENCODING_DTS_HD_MA format represents codec capability for DTS HD Master Audio (both w/core and coreless lossless) - The ENCODING_DTS_UHD_P1 format represents DTS:X Profile 1 codec capability and is the same as existing ENCODING_DTS_UHD - The ENCODING_DTS_UHD_P2 format represents DTS:X Profile 2 codec capability The codec capability represented by the existing formats are: - ENCODING_DTS is for DTS Digital Surround - ENCODING_DTS_HD is for DTS HD (DTS 8Ch Discrete, DTS High Resolution, DTS Express) - ENCODING_DTS_UHD is for DTS:X Profile 1 Test: atest AudioFormatTest Change-Id: Id4d332cc75beee40cfe8637a4ecef18a0d2a0908
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions