Skip to content
Commit 9c85cfc3 authored by Rahul's avatar Rahul Committed by Dorin Drimus
Browse files

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
parent 43023f5f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment