summaryrefslogtreecommitdiff
Diffstat
-rw-r--r--files/audio_policy.conf4
-rw-r--r--files/mixer_paths.xml18
-rw-r--r--system.prop2
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