Commit Graph

5 Commits

Author SHA1 Message Date
Sharad Sangle 8ecefdc750 hal: make sure hal compiles with AOSP flag
Make sure if the TARGET_USES_AOSP flag is defined
 then all QTI specific features should be disabled
 and compilation is successfull.

Change-Id: I440b538b5449177e14ca47f1dcfbec70a2ee7fed
2017-01-12 06:02:07 -08:00
Garmond Leung 2f78a67eba hal: edid: Update EDID parsing logic
Previously, the only sample rate that hal stored was the highest
supported sample rate. Hal would return false on Sample Rates(sr)
that were lower than the highest supported sr from the sink.

Streams were forced to be played at the highest sr that the
sink supported. A similar change was done in for bytes per
sample as well.

Change-Id: I41591958739562334d9409cffad4f55e1cc5e0bc
CRs-Fixed: 1084185
2016-11-11 14:12:32 -08:00
Mingming Yin ddd610b494 audio: config audio backend for HDMI playback
-check EDID info for supported audio configuration,
 and config audio backend for HDMI audio playback
 with proper bitwidth and sample rate.

Change-Id: Iae65e00b0f4d2f74f303ef03610f8b3a098dc7aa
2016-06-27 10:31:34 +05:30
Mingming Yin 497419fcb8 hal: compilation fix for extended feature flags
- Fix compilation error for offload, Dolby,
  HDMI pass through, FLAC decoder, and hardware
  accelerated effects when extended feature
  flags are disabled.

Change-Id: I5b36d7668f63a396ed930d62c0337c2c3f311c95
2015-07-06 10:44:23 -07:00
Pradnya Chaphekar 4403bd796e hal: Add support for parsing hdmi edid information
Add support for parsing hdmi edid data and setting channel map
to asm
Parse edid data on hdmi connection and invalidat on disconnection.
Fix audio playback errors on HDMI when source channel count is
greater than sink channel count for offload playback.

Change-Id: I1e0a8335611a87974cb273431659938a0b345e68
2014-11-18 12:40:59 -08:00