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
commit1d39c7e8120d10567f7a7d31a16972105b404e0f (patch)
treedaeab1187dfec4aef0d829a34007c6c2bc6d2692 /audio/audio_policy.conf
parent28ffaf65f3f6728e22c035f67b5ea0548d3ef8fe (diff)
downloaddevice_samsung_tuna-1d39c7e8120d10567f7a7d31a16972105b404e0f.zip
device_samsung_tuna-1d39c7e8120d10567f7a7d31a16972105b404e0f.tar.gz
device_samsung_tuna-1d39c7e8120d10567f7a7d31a16972105b404e0f.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 {