author | Chaomin Zheng <chaomin.zheng@amlogic.com> | 2018-04-16 05:06:42 (GMT) |
---|---|---|
committer | Ting Wang <ting.wang@amlogic.com> | 2018-04-19 16:54:29 (GMT) |
commit | 6f38aeb66d27772fd0986598f844895134bfb8a9 (patch) | |
tree | abfa6a5c4ebdc850673363b3336541578e324192 | |
parent | 8ae24abc99feab02326fe03986873ab618581145 (diff) | |
download | einstein-6f38aeb66d27772fd0986598f844895134bfb8a9.zip einstein-6f38aeb66d27772fd0986598f844895134bfb8a9.tar.gz einstein-6f38aeb66d27772fd0986598f844895134bfb8a9.tar.bz2 |
Arc:config audio policy & mixer paths[1/1]
PD# 163884
config audio policy & mixer paths
Change-Id: I9ee3144629b98424984d8718570076af2a01ea1b
-rw-r--r-- | files/audio_policy.conf | 4 | ||||
-rw-r--r-- | files/mixer_paths.xml | 18 | ||||
-rw-r--r-- | system.prop | 2 |
3 files changed, 21 insertions, 3 deletions
diff --git a/files/audio_policy.conf b/files/audio_policy.conf index ce9b407..b5da428 100644 --- a/files/audio_policy.conf +++ b/files/audio_policy.conf @@ -128,7 +128,7 @@ audio_hw_modules { sampling_rates 48000 channel_masks AUDIO_CHANNEL_OUT_STEREO formats AUDIO_FORMAT_PCM_16_BIT - devices speaker|hdmi_out|hdmi_arc|SPDIF|wired_headphone|wired_headset|BT_sco|BT_sco_headset + devices speaker|hdmi_arc|SPDIF|wired_headphone|wired_headset|BT_sco|BT_sco_headset flags AUDIO_OUTPUT_FLAG_PRIMARY } offload { @@ -138,7 +138,7 @@ audio_hw_modules { sampling_rates dynamic channel_masks dynamic formats dynamic - devices speaker|hdmi_out|hdmi_arc|SPDIF|wired_headphone|wired_headset + devices speaker|hdmi_arc|SPDIF|wired_headphone|wired_headset #flags AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_IEC958_NONAUDIO|AUDIO_OUTPUT_FLAG_HW_AV_SYNC flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_HW_AV_SYNC } diff --git a/files/mixer_paths.xml b/files/mixer_paths.xml index ff22845..c8d374e 100644 --- a/files/mixer_paths.xml +++ b/files/mixer_paths.xml @@ -1,6 +1,22 @@ <mixer> - <!-- dummy xml conf, do nothing here --> + <ctl name="HDMI ARC Switch" value="0" /> + <path name="speaker"> + <ctl name="AMP Ch1 Switch" value="1" /> + <ctl name="AMP Ch2 Switch" value="1" /> + </path> + + <path name="speaker_off"> + <ctl name="AMP Ch1 Switch" value="0" /> + <ctl name="AMP Ch2 Switch" value="0" /> + </path> + + <path name="hdmi_arc"> + <ctl name="HDMI ARC Switch" value="1" /> + </path> + + <path name="hdmi_arc_off"> + <ctl name="HDMI ARC Switch" value="0" /> </path> <path name="headphone"> diff --git a/system.prop b/system.prop index 084f201..0198b9d 100644 --- a/system.prop +++ b/system.prop @@ -17,6 +17,8 @@ ro.autoconnectbt.nameprefix=Amlogic_RC +#if TV SOC as mbox +ro.tvsoc.as.mbox=true +ro.config.media_vol_steps=100 + #if wifi Only ro.radio.noril=false |