summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2017-02-10 17:56:35 +0100
committerAndreas Schneider <asn@cryptomilk.org>2017-02-11 14:24:35 +0100
commit04037e7121c617e03640a45249dbc3950f3a0c90 (patch)
tree62fcc0d1892bec7fc764ca4617e8ef1fe1ac40f2
parent107a848bc3e5667c3059b81f0f1343ee6a4e8d37 (diff)
downloadandroid_hardware_samsung-04037e7121c617e03640a45249dbc3950f3a0c90.tar.gz
android_hardware_samsung-04037e7121c617e03640a45249dbc3950f3a0c90.tar.bz2
android_hardware_samsung-04037e7121c617e03640a45249dbc3950f3a0c90.zip
audio: Add a mixer_path_0.xml template for the HAL
Change-Id: Iec0976cf7d9d54edb850b972c44b7159a2374ef2
-rw-r--r--audio/mixer_paths_0.xml.template140
1 files changed, 140 insertions, 0 deletions
diff --git a/audio/mixer_paths_0.xml.template b/audio/mixer_paths_0.xml.template
new file mode 100644
index 0000000..d3d21f6
--- /dev/null
+++ b/audio/mixer_paths_0.xml.template
@@ -0,0 +1,140 @@
+<mixer>
+ <!-- ########## Initial mixer settings ########## -->
+
+ <!-- Disable Speaker -->
+ <ctl name="SPK Switch" value="0" />
+
+ <!--
+ #######################################################
+ ### AUDIO ROUTING
+ #######################################################
+ -->
+
+ <path name="none">
+ <!-- Empty path -->
+ </path>
+
+ <!-- ########## Playback ########## -->
+
+ <path name="earpiece">
+ <!-- Empty path -->
+ </path>
+
+ <path name="speaker">
+ <!-- Empty path -->
+ </path>
+
+ <path name="headphones">
+ <!-- Empty path -->
+ </path>
+
+ <path name="speaker-and-headphones">
+ <!-- Empty path -->
+ </path>
+
+ <path name="voice-earpiece">
+ <!-- Empty path -->
+ </path>
+
+ <path name="voice-earpiece-wb">
+ <!-- Empty path -->
+ </path>
+
+ <path name="voice-speaker">
+ <!-- Empty path -->
+ </path>
+
+ <path name="voice-speaker-wb">
+ <!-- Empty path -->
+ </path>
+
+ <path name="voice-headphones">
+ <!-- Empty path -->
+ </path>
+
+ <path name="voice-headphones-wb">
+ <!-- Empty path -->
+ </path>
+
+ <path name="hdmi">
+ <!-- Empty path -->
+ </path>
+
+ <path name="speaker-and-hdmi">
+ <!-- Empty path -->
+ </path>
+
+ <path name="bt-sco-headset">
+ <!-- Empty path -->
+ </path>
+
+ <!-- ########## Capture ########## -->
+
+ <path name="earpiece-mic">
+ <!-- Empty path -->
+ </path>
+
+ <path name="speaker-mic">
+ <!-- Empty path -->
+ </path>
+
+ <path name="voice-mic">
+ <!-- Configure builtin mic only -->
+ <!-- Empty path -->
+ </path>
+
+ <!-- Two mic -->
+ <path name="voice-earpiece-mic">
+ <!-- Should be builtin and back mic -->
+ <!-- Empty path -->
+ </path>
+
+ <path name="voice-earpiece-mic-wb">
+ <!-- Should be builtin and back mic -->
+ <!-- Empty path -->
+ </path>
+
+ <path name="voice-speaker-mic">
+ <!-- Should be builtin and back mic -->
+ <!-- Empty path -->
+ </path>
+
+ <path name="voice-speaker-mic-wb">
+ <!-- Should be builtin and back mic -->
+ <!-- Empty path -->
+ </path>
+
+ <path name="voice-headset-mic">
+ <!-- Empty path -->
+ </path>
+
+ <path name="voice-headset-mic-wb">
+ <!-- Empty path -->
+ </path>
+
+ <path name="hdmi-mic">
+ <!-- Empty path -->
+ </path>
+
+ <path name="bt-sco-mic">
+ <!-- Empty path -->
+ </path>
+
+ <path name="voice-rec-headset-mic">
+ <!-- Empty path -->
+ </path>
+
+ <path name="voice-rec-mic">
+ <!-- Empty path -->
+ </path>
+
+ <path name="camcorder-mic">
+ <!-- Should be builtin and back mic -->
+ <!-- Empty path -->
+ </path>
+
+ <path name="loopback-aec">
+ <!-- Empty path -->
+ </path>
+
+</mixer>