summaryrefslogtreecommitdiffstats
path: root/audio/audio_policy.conf
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2012-04-30 12:30:50 -0700
committerEric Laurent <elaurent@google.com>2012-06-01 18:10:59 -0700
commit4bf3d14aa11008149793c5d70714face83cf12ca (patch)
treed8983422d0546bf27561ee65ead66fb56bceedb3 /audio/audio_policy.conf
parent8a1d4ed8f9f88fb44ceaf3bdf270fd372d7b89d3 (diff)
downloaddevice_samsung_tuna-4bf3d14aa11008149793c5d70714face83cf12ca.zip
device_samsung_tuna-4bf3d14aa11008149793c5d70714face83cf12ca.tar.gz
device_samsung_tuna-4bf3d14aa11008149793c5d70714face83cf12ca.tar.bz2
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
Diffstat (limited to 'audio/audio_policy.conf')
-rw-r--r--audio/audio_policy.conf7
1 files changed, 7 insertions, 0 deletions
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 {