aboutsummaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorDaniel Hillenbrand <daniel.hillenbrand@codeworkx.de>2012-06-19 16:30:33 +0200
committerDaniel Hillenbrand <daniel.hillenbrand@codeworkx.de>2012-06-19 16:30:33 +0200
commitc1910e256469c6685ef5c8db27a78744367ad333 (patch)
treea8eac9187e227cbcab2b8d4258ca0b22052b8a77 /configs
parentdfd8c9faac9912d1d87d6221fccf73cd70f01ca3 (diff)
downloaddevice_samsung_espresso3g-c1910e256469c6685ef5c8db27a78744367ad333.zip
device_samsung_espresso3g-c1910e256469c6685ef5c8db27a78744367ad333.tar.gz
device_samsung_espresso3g-c1910e256469c6685ef5c8db27a78744367ad333.tar.bz2
added default_gain config for audio
Diffstat (limited to 'configs')
-rw-r--r--configs/default_gain.conf1817
1 files changed, 1817 insertions, 0 deletions
diff --git a/configs/default_gain.conf b/configs/default_gain.conf
new file mode 100644
index 0000000..5a82649
--- /dev/null
+++ b/configs/default_gain.conf
@@ -0,0 +1,1817 @@
+#Output Modifier Stage
+#Normal, Incall, Ringtone, Incommunication
+
+#Modifier: Normal
+
+Modifier "Normal" {
+ SupportedDevice {
+ "Speaker"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 3 },
+ { "Speaker Boost Volume", 6 },
+ { "Speaker Volume", 59 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 0 },
+ { "Speaker Volume", 57 },
+ { "Speaker Boost Volume", 0 },
+ }
+}
+
+Modifier "Normal" {
+ SupportedDevice {
+ "Headset Out"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 50 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "Normal" {
+ SupportedDevice {
+ "Headphone"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 50 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "Normal" {
+ SupportedDevice {
+ "SCO Headset Out"
+ }
+ Enable {
+ }
+ Disable {
+ }
+}
+
+Modifier "Normal" {
+ SupportedDevice {
+ "SCO Carkit"
+ }
+ Enable {
+ }
+ Disable {
+ }
+}
+
+Modifier "Normal" {
+ SupportedDevice {
+ "SCO"
+ }
+ Enable {
+ }
+ Disable {
+ }
+}
+
+Modifier "Normal" {
+ SupportedDevice {
+ "Analogue Dock Out"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 56 },
+ { "LINEOUT1 Volume", 1 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "LINEOUT1 Volume", 1 },
+ }
+}
+
+#Modifier : Incall
+Modifier "Incall" {
+ SupportedDevice {
+ "Speaker"
+ }
+ Enable {
+ { "AIF2DAC2L Mixer AIF2 Switch", 0 },
+ { "AIF2DAC2R Mixer AIF2 Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 3 },
+ { "Speaker Boost Volume", 6 },
+ { "Speaker Volume", 60 },
+ }
+ Disable {
+ { "AIF2DAC Volume", 96 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 0 },
+ { "SPKR DAC1 Volume", 0 },
+ { "Speaker Mixer Volume", 0 },
+ { "Speaker Volume", 60 },
+ { "Speaker Boost Volume", 0 },
+ }
+}
+
+Modifier "Incall" {
+ SupportedDevice {
+ "Headset Out"
+ }
+ Enable {
+ { "AIF2DAC2L Mixer AIF2 Switch", 0 },
+ { "AIF2DAC2R Mixer AIF2 Switch", 0 },
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 60 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 52 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 60 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "Incall" {
+ SupportedDevice {
+ "Headphone"
+ }
+ Enable {
+ { "AIF2DAC2L Mixer AIF2 Switch", 0 },
+ { "AIF2DAC2R Mixer AIF2 Switch", 0 },
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 60 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 54 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 60 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "Incall" {
+ SupportedDevice {
+ "SCO Headset Out"
+ }
+ Enable {
+ { "AIF2DAC2L Mixer AIF2 Switch", 1 },
+ { "AIF2DAC2R Mixer AIF2 Switch", 1 },
+ { "AIF2DAC Volume", 96 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "AIF2DAC Volume", 96 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "Incall" {
+ SupportedDevice {
+ "SCO Carkit"
+ }
+ Enable {
+ { "AIF2DAC2L Mixer AIF2 Switch", 1 },
+ { "AIF2DAC2R Mixer AIF2 Switch", 1 },
+ { "AIF2DAC Volume", 96 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "AIF2DAC Volume", 96 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "Incall" {
+ SupportedDevice {
+ "SCO"
+ }
+ Enable {
+ { "AIF2DAC2L Mixer AIF2 Switch", 1 },
+ { "AIF2DAC2R Mixer AIF2 Switch", 1 },
+ { "AIF2DAC Volume", 96 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "AIF2DAC Volume", 96 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+#Modifier: Ringtone
+Modifier "Ringtone" {
+ SupportedDevice {
+ "Speaker"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 3 },
+ { "Speaker Boost Volume", 5 },
+ { "Speaker Volume", 63 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 0 },
+ { "Speaker Volume", 57 },
+ { "Speaker Boost Volume", 0 },
+ }
+}
+
+Modifier "Ringtone" {
+ SupportedDevice {
+ "Headset Out"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 50 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 0 },
+ }
+}
+
+Modifier "Ringtone" {
+ SupportedDevice {
+ "Headphone"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 50 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Headphone Volume", 0 },
+ }
+}
+
+Modifier "Ringtone" {
+ SupportedDevice {
+ "SCO"
+ }
+ Enable {
+ }
+ Disable {
+ }
+}
+
+Modifier "Ringtone" {
+ SupportedDevice {
+ "Analogue Dock Out"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "LINEOUT1 Volume", 1 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "LINEOUT1 Volume", 1 },
+ }
+}
+
+Modifier "Dual Normal" {
+ SupportedDevice {
+ "Speaker"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 3 },
+ { "Speaker Boost Volume", 5 },
+ { "Speaker Volume", 60 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 0 },
+ { "Speaker Volume", 57 },
+ { "Speaker Boost Volume", 0 },
+ }
+}
+
+Modifier "Dual Normal" {
+ SupportedDevice {
+ "Headset Out"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 27 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 51 },
+ }
+}
+
+Modifier "Dual Normal" {
+ SupportedDevice {
+ "Headphone"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 27 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "Dual Ringtone" {
+ SupportedDevice {
+ "Speaker"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 3 },
+ { "Speaker Boost Volume", 5 },
+ { "Speaker Volume", 60 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 0 },
+ { "Speaker Volume", 57 },
+ { "Speaker Boost Volume", 0 },
+ }
+}
+
+Modifier "Dual Ringtone" {
+ SupportedDevice {
+ "Headset Out"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 27 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 51 },
+ }
+}
+
+Modifier "Dual Ringtone" {
+ SupportedDevice {
+ "Headphone"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 27 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "Incommunication" {
+ SupportedDevice {
+ "Speaker"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 3 },
+ { "Speaker Boost Volume", 6 },
+ { "Speaker Volume", 62 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 0 },
+ { "Speaker Volume", 57 },
+ { "Speaker Boost Volume", 0 },
+ }
+}
+
+Modifier "Incommunication" {
+ SupportedDevice {
+ "Headset Out"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 54 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "Incommunication" {
+ SupportedDevice {
+ "Headphone"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 54 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "Incommunication" {
+ SupportedDevice {
+ "SCO Headset Out"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "Incommunication" {
+ SupportedDevice {
+ "SCO Carkit"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "Incommunication" {
+ SupportedDevice {
+ "SCO"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "Incommunication" {
+ SupportedDevice {
+ "Analogue Dock Out"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "LINEOUT1 Volume", 1 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "LINEOUT1 Volume", 1 },
+ }
+}
+
+Modifier "Voipout" {
+ SupportedDevice {
+ "Speaker"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 3 },
+ { "Speaker Boost Volume", 6 },
+ { "Speaker Volume", 62 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 0 },
+ { "Speaker Volume", 57 },
+ { "Speaker Boost Volume", 0 },
+ }
+}
+
+Modifier "Voipout" {
+ SupportedDevice {
+ "Headset Out"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 54 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "Voipout" {
+ SupportedDevice {
+ "Headphone"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 54 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "Voipout" {
+ SupportedDevice {
+ "SCO"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "Voipout" {
+ SupportedDevice {
+ "Analogue Dock Out"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "LINEOUT1 Volume", 1 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "LINEOUT1 Volume", 1 },
+ }
+}
+
+Modifier "SecVoipout" {
+ SupportedDevice {
+ "Speaker"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 3 },
+ { "Speaker Boost Volume", 6 },
+ { "Speaker Volume", 62 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 0 },
+ { "Speaker Volume", 57 },
+ { "Speaker Boost Volume", 0 },
+ }
+}
+
+Modifier "SecVoipout" {
+ SupportedDevice {
+ "Headset Out"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 54 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "SecVoipout" {
+ SupportedDevice {
+ "Headphone"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 54 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "SecVoipout" {
+ SupportedDevice {
+ "SCO"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "SecVoipout" {
+ SupportedDevice {
+ "Analogue Dock Out"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "LINEOUT1 Volume", 1 },
+ }
+ Disable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Left Output Mixer DAC Volume", 7 },
+ { "Right Output Mixer DAC Volume", 7 },
+ { "Output Volume", 57 },
+ { "LINEOUT1 Volume", 1 },
+ }
+}
+
+#Modifier : Loopback
+Modifier "Loopback" {
+ SupportedDevice {
+ "Speaker"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 3 },
+ { "Speaker Boost Volume", 6 },
+ { "Speaker Volume", 50 },
+ }
+ Disable {
+ { "AIF2DAC Volume", 96 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 0 },
+ { "SPKR DAC1 Volume", 0 },
+ { "Speaker Mixer Volume", 0 },
+ { "Speaker Volume", 50 },
+ { "Speaker Boost Volume", 0 },
+ }
+}
+
+Modifier "Loopback" {
+ SupportedDevice {
+ "Headset Out"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 54 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "Loopback" {
+ SupportedDevice {
+ "Headphone"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 54 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+#Modifier : LoopbackPacket
+Modifier "LoopbackPacket" {
+ SupportedDevice {
+ "Speaker"
+ }
+ Enable {
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 1 },
+ { "SPKR DAC1 Volume", 1 },
+ { "Speaker Mixer Volume", 3 },
+ { "Speaker Boost Volume", 6 },
+ { "Speaker Volume", 50 },
+ }
+ Disable {
+ { "AIF2DAC Volume", 96 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "SPKL DAC1 Volume", 0 },
+ { "SPKR DAC1 Volume", 0 },
+ { "Speaker Mixer Volume", 0 },
+ { "Speaker Volume", 50 },
+ { "Speaker Boost Volume", 0 },
+ }
+}
+
+Modifier "LoopbackPacket" {
+ SupportedDevice {
+ "Headset Out"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 54 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+Modifier "LoopbackPacket" {
+ SupportedDevice {
+ "Headphone"
+ }
+ Enable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 54 },
+ }
+ Disable {
+ { "Headphone ZC Switch", 0 },
+ { "AIF1DAC1 Volume", 96 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1 Boost Volume", 0 },
+ { "AIF2 Boost Volume", 0 },
+ { "DAC1 Volume", 96 },
+ { "Headphone Volume", 45 },
+ }
+}
+
+#INPUT Modifier Stage
+#Voice, Camcorder, Recognition, Communication,
+
+Modifier "Voice" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1L Volume", 30 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 120 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1L Volume", 30 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 120 },
+ }
+}
+
+Modifier "Voice" {
+ SupportedDevice {
+ "Headset In"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1R Volume", 18 },
+ { "MIXINR IN1R Volume", 0 },
+ { "AIF1ADC1 Volume", 118 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1R Volume", 11 },
+ { "MIXINR IN1R Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Voice" {
+ SupportedDevice {
+ "SCO Headset In"
+ }
+ Enable {
+ { "AIF1ADC1R Mixer AIF2 Switch", 1 },
+ { "AIF1ADC1L Mixer AIF2 Switch", 1 },
+ }
+ Disable {
+ { "AIF1ADC1R Mixer AIF2 Switch", 1 },
+ { "AIF1ADC1L Mixer AIF2 Switch", 1 },
+ }
+}
+
+Modifier "Camcorder" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1L Volume", 17 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 120 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Camcorder" {
+ SupportedDevice {
+ "Headset In"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1R Volume", 30 },
+ { "MIXINR IN1R Volume", 0 },
+ { "AIF1ADC1 Volume", 118 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1R Volume", 11 },
+ { "MIXINR IN1R Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Camcorder" {
+ SupportedDevice {
+ "SCO Headset In"
+ }
+ Enable {
+ { "AIF1ADC1R Mixer AIF2 Switch", 1 },
+ { "AIF1ADC1L Mixer AIF2 Switch", 1 },
+ }
+ Disable {
+ { "AIF1ADC1R Mixer AIF2 Switch", 1 },
+ { "AIF1ADC1L Mixer AIF2 Switch", 1 },
+ }
+}
+
+Modifier "Recognition" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1L Volume", 30 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 118 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 112 },
+ }
+}
+
+Modifier "Recognition" {
+ SupportedDevice {
+ "Headset In"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1R Volume", 18 },
+ { "MIXINR IN1R Volume", 0 },
+ { "AIF1ADC1 Volume", 118 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1R Volume", 11 },
+ { "MIXINR IN1R Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Recognition" {
+ SupportedDevice {
+ "SCO Headset In"
+ }
+ Enable {
+ { "AIF1ADC1R Mixer AIF2 Switch", 1 },
+ { "AIF1ADC1L Mixer AIF2 Switch", 1 },
+ }
+ Disable {
+ { "AIF1ADC1R Mixer AIF2 Switch", 1 },
+ { "AIF1ADC1L Mixer AIF2 Switch", 1 },
+ }
+}
+
+Modifier "Communication" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Speaker"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1L Volume", 17 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Communication" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Headphone"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 1 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Communication" {
+ SupportedDevice {
+ "Headset In"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1R Volume", 11 },
+ { "MIXINR IN1R Volume", 1 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1R Volume", 11 },
+ { "MIXINR IN1R Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Communication" {
+ SupportedDevice {
+ "SCO Headset In"
+ }
+ Enable {
+ { "AIF1ADC1R Mixer AIF2 Switch", 1 },
+ { "AIF1ADC1L Mixer AIF2 Switch", 1 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1R Mixer AIF2 Switch", 1 },
+ { "AIF1ADC1L Mixer AIF2 Switch", 1 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Voipin" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Speaker"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1L Volume", 31 },
+ { "MIXINL IN1L Volume", 1 },
+ { "AIF1ADC1 Volume", 81 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Voipin" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Headphone"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 1 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Voipin" {
+ SupportedDevice {
+ "Headset In"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1R Volume", 11 },
+ { "MIXINR IN1R Volume", 1 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1R Volume", 11 },
+ { "MIXINR IN1R Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "Voipin" {
+ SupportedDevice {
+ "SCO Headset In"
+ }
+ Enable {
+ { "AIF1ADC1R Mixer AIF2 Switch", 1 },
+ { "AIF1ADC1L Mixer AIF2 Switch", 1 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1R Mixer AIF2 Switch", 1 },
+ { "AIF1ADC1L Mixer AIF2 Switch", 1 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "SecVoipin" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Speaker"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1L Volume", 31 },
+ { "MIXINL IN1L Volume", 1 },
+ { "AIF1ADC1 Volume", 90 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "SecVoipin" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Headphone"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 1 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "SecVoipin" {
+ SupportedDevice {
+ "Headset In"
+ }
+ Enable {
+ { "AIF1ADC1 HPF Mode", 1 },
+ { "AIF1ADC1 HPF Switch", 1 },
+ { "IN1R Volume", 11 },
+ { "MIXINR IN1R Volume", 1 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "IN1R Volume", 11 },
+ { "MIXINR IN1R Volume", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+Modifier "SecVoipin" {
+ SupportedDevice {
+ "SCO Headset In"
+ }
+ Enable {
+ { "AIF1ADC1R Mixer AIF2 Switch", 1 },
+ { "AIF1ADC1L Mixer AIF2 Switch", 1 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+ Disable {
+ { "AIF1ADC1R Mixer AIF2 Switch", 1 },
+ { "AIF1ADC1L Mixer AIF2 Switch", 1 },
+ { "AIF2DAC Volume", 96 },
+ { "AIF1ADC1 HPF Mode", 0 },
+ { "AIF1ADC1 HPF Switch", 0 },
+ { "AIF1ADC1 Volume", 96 },
+ }
+}
+
+#Incall-Capture Modifier
+Modifier "IncallIn" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Headphone"
+ }
+ Enable {
+ { "IN1L Volume", 28 },
+ { "MIXINL IN1L Volume", 1 },
+ { "DAC2 Left Sidetone Volume", 12 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 0 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "IncallIn" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Speaker"
+ }
+ Enable {
+ { "IN1L Volume", 17 },
+ { "MIXINL IN1L Volume", 1 },
+ { "DAC2 Left Sidetone Volume", 12 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "IN1L Volume", 11 },
+ { "MIXINL IN1L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 0 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "IncallIn" {
+ SupportedDevice {
+ "Back Mic"
+ }
+ Enable {
+ { "IN2R Volume", 11 },
+ { "MIXINR IN2R Volume", 1 },
+ { "DAC2 Right Sidetone Volume", 12 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "IN2R Volume", 11 },
+ { "MIXINR IN2R Volume", 0 },
+ { "DAC2 Right Sidetone Volume", 12 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "IncallIn" {
+ SupportedDevice {
+ "Headset In"
+ }
+ Enable {
+// { "Sidetone HPF Mux", 3 },
+// { "Sidetone HPF Switch", 1 },
+ { "IN1R Volume", 9 },
+ { "MIXINR IN1R Volume", 1 },
+ { "MIXINR IN1RP Volume", 1 },
+ { "DAC2 Right Sidetone Volume", 12 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+// { "Sidetone HPF Mux", 0 },
+// { "Sidetone HPF Switch", 0 },
+ { "IN1R Volume", 9 },
+ { "MIXINR IN1R Volume", 0 },
+ { "MIXINR IN1RP Volume", 0 },
+ { "DAC2 Right Sidetone Volume", 0 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "IncallIn" {
+ SupportedDevice {
+ "SCO Headset In"
+ }
+ Enable {
+ { "AIF1ADC1R Mixer AIF2 Switch", 0 },
+ { "AIF1ADC1L Mixer AIF2 Switch", 0 },
+ }
+ Disable {
+ { "AIF1ADC1R Mixer AIF2 Switch", 1 },
+ { "AIF1ADC1L Mixer AIF2 Switch", 1 },
+ }
+}
+
+#LoopbackIn-Capture Modifier
+Modifier "LoopbackIn" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Headphone"
+ }
+ Enable {
+ { "IN1L Volume", 8 },
+ { "MIXINL IN1L Volume", 1 },
+ { "DAC2 Left Sidetone Volume", 12 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "IN1L Volume", 8 },
+ { "MIXINL IN1L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 0 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "LoopbackIn" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Speaker"
+ }
+ Enable {
+ { "IN1L Volume", 8 },
+ { "MIXINL IN1L Volume", 1 },
+ { "DAC2 Left Sidetone Volume", 12 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "IN1L Volume", 8 },
+ { "MIXINL IN1L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 0 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "LoopbackIn" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Headset Out"
+ }
+ Enable {
+ { "IN1L Volume", 8 },
+ { "MIXINL IN1L Volume", 1 },
+ { "DAC2 Left Sidetone Volume", 12 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "IN1L Volume", 8 },
+ { "MIXINL IN1L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 0 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "LoopbackIn" {
+ SupportedDevice {
+ "Headset In"
+ }
+ Enable {
+// { "Sidetone HPF Mux", 3 },
+// { "Sidetone HPF Switch", 1 },
+ { "IN1R Volume", 11 },
+ { "MIXINR IN1R Volume", 1 },
+ { "MIXINR IN1RP Volume", 1 },
+ { "DAC2 Right Sidetone Volume", 12 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+// { "Sidetone HPF Mux", 0 },
+// { "Sidetone HPF Switch", 0 },
+ { "IN1R Volume", 11 },
+ { "MIXINR IN1R Volume", 0 },
+ { "MIXINR IN1RP Volume", 0 },
+ { "DAC2 Right Sidetone Volume", 0 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+#LoopbackPacketIn-Capture Modifier
+Modifier "LoopbackPacketIn" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Headphone"
+ }
+ Enable {
+ { "IN1L Volume", 8 },
+ { "MIXINL IN1L Volume", 1 },
+ { "DAC2 Left Sidetone Volume", 12 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "IN1L Volume", 8 },
+ { "MIXINL IN1L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 0 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "LoopbackPacketIn" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Speaker"
+ }
+ Enable {
+ { "IN1L Volume", 8 },
+ { "MIXINL IN1L Volume", 1 },
+ { "DAC2 Left Sidetone Volume", 12 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "IN1L Volume", 8 },
+ { "MIXINL IN1L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 0 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "LoopbackPacketIn" {
+ SupportedDevice {
+ "Builtin Mic"
+ }
+ OutputDevice {
+ "Headset Out"
+ }
+ Enable {
+ { "IN1L Volume", 8 },
+ { "MIXINL IN1L Volume", 1 },
+ { "DAC2 Left Sidetone Volume", 12 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+ { "IN1L Volume", 8 },
+ { "MIXINL IN1L Volume", 0 },
+ { "DAC2 Left Sidetone Volume", 0 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+Modifier "LoopbackPacketIn" {
+ SupportedDevice {
+ "Headset In"
+ }
+ Enable {
+// { "Sidetone HPF Mux", 3 },
+// { "Sidetone HPF Switch", 1 },
+ { "IN1R Volume", 11 },
+ { "MIXINR IN1R Volume", 1 },
+ { "MIXINR IN1RP Volume", 1 },
+ { "DAC2 Right Sidetone Volume", 12 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+ Disable {
+// { "Sidetone HPF Mux", 0 },
+// { "Sidetone HPF Switch", 0 },
+ { "IN1R Volume", 11 },
+ { "MIXINR IN1R Volume", 0 },
+ { "MIXINR IN1RP Volume", 0 },
+ { "DAC2 Right Sidetone Volume", 0 },
+ { "DAC2 Volume", 96 },
+ { "AIF2ADC Volume", 96 },
+ }
+}
+
+#Special Modifier for voicecall recording, not gain
+Modifier "MicRec" {
+ Enable {
+ { "AIF1ADC1L Mixer ADC/DMIC Switch", 1 },
+ { "AIF1ADC1R Mixer ADC/DMIC Switch", 1 },
+// { "AIF1ADC1R Mixer AIF2 Switch", 0 },
+// { "AIF1ADC1L Mixer AIF2 Switch", 0 },
+ }
+ Disable {
+ { "AIF1ADC1L Mixer ADC/DMIC Switch", 1 },
+ { "AIF1ADC1R Mixer ADC/DMIC Switch", 1 },
+ { "AIF1ADC1R Mixer AIF2 Switch", 0 },
+ { "AIF1ADC1L Mixer AIF2 Switch", 0 },
+ }
+}
+
+Modifier "Downlink" {
+ Enable {
+ { "AIF1ADC1L Mixer ADC/DMIC Switch", 0 },
+ { "AIF1ADC1R Mixer ADC/DMIC Switch", 0 },
+ { "AIF1ADC1R Mixer AIF2 Switch", 1 },
+ { "AIF1ADC1L Mixer AIF2 Switch", 1 },
+ }
+ Disable {
+ { "AIF1ADC1L Mixer ADC/DMIC Switch", 1 },
+ { "AIF1ADC1R Mixer ADC/DMIC Switch", 1 },
+ { "AIF1ADC1R Mixer AIF2 Switch", 0 },
+ { "AIF1ADC1L Mixer AIF2 Switch", 0 },
+ }
+}
+
+Modifier "Uplink" {
+ Enable {
+ { "AIF1ADC1L Mixer ADC/DMIC Switch", 1 },
+ { "AIF1ADC1R Mixer ADC/DMIC Switch", 1 },
+ { "AIF1ADC1R Mixer AIF2 Switch", 0 },
+ { "AIF1ADC1L Mixer AIF2 Switch", 0 },
+ }
+ Disable {
+ { "AIF1ADC1L Mixer ADC/DMIC Switch", 1 },
+ { "AIF1ADC1R Mixer ADC/DMIC Switch", 1 },
+ { "AIF1ADC1R Mixer AIF2 Switch", 0 },
+ { "AIF1ADC1L Mixer AIF2 Switch", 0 },
+ }
+}
+
+Modifier "VoicecallRec" {
+ Enable {
+ { "AIF1ADC1L Mixer ADC/DMIC Switch", 1 },
+ { "AIF1ADC1R Mixer ADC/DMIC Switch", 1 },
+ { "AIF1ADC1R Mixer AIF2 Switch", 1 },
+ { "AIF1ADC1L Mixer AIF2 Switch", 1 },
+ }
+ Disable {
+ { "AIF1ADC1L Mixer ADC/DMIC Switch", 1 },
+ { "AIF1ADC1R Mixer ADC/DMIC Switch", 1 },
+ { "AIF1ADC1R Mixer AIF2 Switch", 0 },
+ { "AIF1ADC1L Mixer AIF2 Switch", 0 },
+ }
+}
+
+Modifier "Audio_GND_Switch" {
+ Enable {
+ { "HP Output Mode", 0},
+ }
+ Disable {
+ { "HP Output Mode", 1},
+ }
+}
+
+Modifier "Audio_PM_Const" {
+ Enable {
+ { "PM Constraints Mode", 1},
+ }
+ Disable {
+ { "PM Constraints Mode", 0},
+ }
+} \ No newline at end of file