From 4bf3d14aa11008149793c5d70714face83cf12ca Mon Sep 17 00:00:00 2001 From: Eric Laurent Date: Mon, 30 Apr 2012 12:30:50 -0700 Subject: audio: add support for multichannel HDMI Added a dedicated audio output stream for multichannel HDMI. This output stream is used when an HDMI sink supporting 6 or 8 PCM channels is connected and 5.1 or 7.1 multichannel content it played. Change-Id: I7ad1cd6be4c2b3a9e24a4811aa87e7223badedc4 --- audio/audio_policy.conf | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'audio/audio_policy.conf') diff --git a/audio/audio_policy.conf b/audio/audio_policy.conf index a2971b0..3a41ec1 100644 --- a/audio/audio_policy.conf +++ b/audio/audio_policy.conf @@ -36,6 +36,13 @@ audio_hw_modules { devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE flags AUDIO_OUTPUT_FLAG_DEEP_BUFFER } + hdmi { + sampling_rates 44100|48000 + channel_masks dynamic + formats AUDIO_FORMAT_PCM_16_BIT + devices AUDIO_DEVICE_OUT_AUX_DIGITAL + flags AUDIO_OUTPUT_FLAG_DIRECT + } } inputs { primary { -- cgit v1.1