audiohal: Improve ac3 playback test command. [1/1]
PD#SWPL-36186
Problem:
1. The ac3 test data has an inverted endian which
works with MS12 but is not supported by passthrough
output with SPDIF encoder.
2. halplay command has DD and DDP format mixed
but for passthrough output w/o MS12 need separation.
Solution:
1. Fix ac3 test data endian
2. Use DIRECT flag when creating dolby audio stream
3. Add ddp and dts format in halplay.
Verify:
Verified on ab311 TM962e.
Change-Id: Id984dac47da3a608b648a85d744eabe6888a46c5
3 files changed