summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriel M. Beddingfield2012-07-26 15:20:06 -0500
committerGabriel M. Beddingfield2012-07-26 20:01:31 -0500
commite69564c9902643b6df1b2efe668b5c9207bd1f73 (patch)
treeb1672726afda0f449313e039f726d3df79dcea9f /audio/Android.mk
parentcda4e3b1b850945bfe7bb42924f9eb429e6ba98c (diff)
downloaddevice-ti-common-open-e69564c9902643b6df1b2efe668b5c9207bd1f73.tar.gz
device-ti-common-open-e69564c9902643b6df1b2efe668b5c9207bd1f73.tar.xz
device-ti-common-open-e69564c9902643b6df1b2efe668b5c9207bd1f73.zip
audio: hdmi: add dynamic multichannel support
This patch parses the HDMI EDID to find the capabilites of the sink device. It communicates this information to Android so that it can make the proper decisions about routing multichannel streams. When parsing the EDID we look for: * Audio Bit (whether or not sink supports audio) * Speaker Allocation Data Block (if any), which declares which speakers are attached to the sink. * Audio Data Allocation Block (if any), which declares extended capabilities not implied by the Audio Bit. The speaker allocation block is parsed to see which channel profiles it supports (stereo, quad, surround, 5.1, and 7.1). Change-Id: Ic2ff57acd8f1d4b92ca4034e2a5800d0b69a3e05 Signed-off-by: Gabriel M. Beddingfield <gabrbedd@ti.com>
Diffstat (limited to 'audio/Android.mk')
-rw-r--r--audio/Android.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/Android.mk b/audio/Android.mk
index 4bf3cf0..d8cdc96 100644
--- a/audio/Android.mk
+++ b/audio/Android.mk
@@ -46,7 +46,8 @@ include $(CLEAR_VARS)
46LOCAL_MODULE := audio.hdmi.$(TARGET_BOARD_PLATFORM) 46LOCAL_MODULE := audio.hdmi.$(TARGET_BOARD_PLATFORM)
47 47
48LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw 48LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
49LOCAL_SRC_FILES := hdmi_audio_hw.c 49LOCAL_SRC_FILES := hdmi_audio_hw.c \
50 hdmi_audio_utils.c
50 51
51LOCAL_C_INCLUDES += \ 52LOCAL_C_INCLUDES += \
52 external/tinyalsa/include \ 53 external/tinyalsa/include \