Diff
checker
Text
Text
Images
Documents
Excel
Folders
Legal
Enterprise
Desktop
Pricing
Sign in
Download Diffchecker Desktop
Compare text
Find the difference between two text files
Tools
History
Real-time editor
Hide unchanged lines
Disable line wrap
Layout
Split
Unified
Diff precision
Smart
Word
Char
Syntax highlighting
Choose syntax
Ignore
Transform text
Go to first change
Edit input
Diffchecker Desktop
The most secure way to run Diffchecker. Get the Diffchecker Desktop app: your diffs never leave your computer!
Get Desktop
Untitled diff
Created
11 years ago
Diff never expires
Clear
Export
Share
Explain
3 removals
Lines
Total
Removed
Characters
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
970 lines
Copy
8 additions
Lines
Total
Added
Characters
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
969 lines
Copy
Copy
Copied
Copy
Copied
root@android:/system/etc # cat default_gain.
bak
root@android:/system/etc # cat default_gain.
conf
#Output Modifier Stage
#Output Modifier Stage
#Normal, Incall, Ringtone, Incommunication
#Normal, Incall, Ringtone, Incommunication
#Modifier: Normal
#Modifier: Normal
Modifier "Normal" {
Modifier "Normal" {
SupportedDevice {
SupportedDevice {
"Earpiece"
"Earpiece"
}
}
Enable {
Enable {
{ "EPOUT Digital Volume" , 108 },
{ "EPOUT Digital Volume" , 108 },
{ "EPOUT Input 1 Volume", 32 },
{ "EPOUT Input 1 Volume", 32 },
{ "EPOUT Input 2 Volume" ,32 },
{ "EPOUT Input 2 Volume" ,32 },
}
}
}
}
Modifier "Normal" {
Modifier "Normal" {
SupportedDevice {
SupportedDevice {
"Speaker"
"Speaker"
}
}
Enable {
Enable {
{ "Speaker Digital Volume", 112 },
{ "Speaker Digital Volume", 112 },
{ "SPKOUTL Input 1 Volume", 32 },
{ "SPKOUTL Input 1 Volume", 32 },
{ "SPKOUTL Input 2 Volume", 32 },
{ "SPKOUTL Input 2 Volume", 32 },
}
}
}
}
Modifier "Normal" {
Modifier "Normal" {
SupportedDevice {
SupportedDevice {
"Headset Out"
"Headset Out"
}
}
Enable {
Enable {
{ "Noise Gate Switch", 0 },
{ "Noise Gate Switch", 0 },
{ "HPOUT1 Digital Volume", 112 },
{ "HPOUT1 Digital Volume", 112 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
}
}
}
}
Modifier "Normal" {
Modifier "Normal" {
SupportedDevice {
SupportedDevice {
"Headphone"
"Headphone"
}
}
Enable {
Enable {
{ "Noise Gate Switch", 0 },
{ "Noise Gate Switch", 0 },
{ "HPOUT1 Digital Volume", 112 },
{ "HPOUT1 Digital Volume", 112 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
}
}
}
}
Modifier "Normal" {
Modifier "Normal" {
SupportedDevice {
SupportedDevice {
"SCO"
"SCO"
}
}
Enable {
Enable {
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
}
}
}
}
Modifier "Normal" {
Modifier "Normal" {
SupportedDevice {
SupportedDevice {
"SCO Headset Out"
"SCO Headset Out"
}
}
Enable {
Enable {
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
}
}
}
}
Modifier "Normal" {
Modifier "Normal" {
SupportedDevice {
SupportedDevice {
"SCO Carkit"
"SCO Carkit"
}
}
Enable {
Enable {
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
}
}
}
}
Modifier "Normal" {
Modifier "Normal" {
SupportedDevice {
SupportedDevice {
"Analogue Dock Out"
"Analogue Dock Out"
}
}
Enable {
Enable {
Copy
Copied
Copy
Copied
{ "
OUT2 Digital Volume", 124 },
{ "
HP
OUT2 Digital Volume", 124 },
{ "HPOUT2L Input 1 Volume", 32 },
{ "HPOUT2L Input 1 Volume", 32 },
{ "HPOUT2R Input 1 Volume", 32 },
{ "HPOUT2R Input 1 Volume", 32 },
}
}
}
}
Modifier "Normal" {
Modifier "Normal" {
SupportedDevice {
SupportedDevice {
"AUX Digital Out"
"AUX Digital Out"
}
}
Enable {
Enable {
}
}
}
}
#Modifier : Incall
#Modifier : Incall
Modifier "Incall" {
Modifier "Incall" {
SupportedDevice {
SupportedDevice {
"Earpiece"
"Earpiece"
}
}
Enable {
Enable {
{ "EPOUT Digital Volume" , 114 },
{ "EPOUT Digital Volume" , 114 },
{ "EPOUT Input 1 Volume", 32 },
{ "EPOUT Input 1 Volume", 32 },
{ "EPOUT Input 2 Volume" ,32 },
{ "EPOUT Input 2 Volume" ,32 },
#CP RX
#CP RX
{ "EPOUT Input 3 Volume", 32 },
{ "EPOUT Input 3 Volume", 32 },
{ "EPOUT Input 4 Volume" ,32 },
{ "EPOUT Input 4 Volume" ,32 },
}
}
}
}
Modifier "Incall" {
Modifier "Incall" {
SupportedDevice {
SupportedDevice {
"Speaker"
"Speaker"
}
}
Enable {
Enable {
{ "Speaker Digital Volume", 144 },
{ "Speaker Digital Volume", 144 },
{ "SPKOUTL Input 1 Volume", 10 },
{ "SPKOUTL Input 1 Volume", 10 },
{ "SPKOUTL Input 2 Volume", 10 },
{ "SPKOUTL Input 2 Volume", 10 },
#CP RX
#CP RX
{ "SPKOUTL Input 3 Volume", 32 },
{ "SPKOUTL Input 3 Volume", 32 },
{ "SPKOUTL Input 4 Volume", 32 },
{ "SPKOUTL Input 4 Volume", 32 },
}
}
}
}
Modifier "Incall" {
Modifier "Incall" {
SupportedDevice {
SupportedDevice {
"Headset Out"
"Headset Out"
}
}
Enable {
Enable {
{ "Noise Gate Switch", 0 },
{ "Noise Gate Switch", 0 },
{ "HPOUT1 Digital Volume", 108 },
{ "HPOUT1 Digital Volume", 108 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
#CP RX
#CP RX
{ "HPOUT1L Input 2 Volume", 32 },
{ "HPOUT1L Input 2 Volume", 32 },
{ "HPOUT1R Input 2 Volume", 32 },
{ "HPOUT1R Input 2 Volume", 32 },
}
}
}
}
Modifier "Incall" {
Modifier "Incall" {
SupportedDevice {
SupportedDevice {
"Headphone"
"Headphone"
}
}
Enable {
Enable {
{ "Noise Gate Switch", 0 },
{ "Noise Gate Switch", 0 },
{ "HPOUT1 Digital Volume", 108 },
{ "HPOUT1 Digital Volume", 108 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
#CP RX
#CP RX
{ "HPOUT1L Input 2 Volume", 32 },
{ "HPOUT1L Input 2 Volume", 32 },
{ "HPOUT1R Input 2 Volume", 32 },
{ "HPOUT1R Input 2 Volume", 32 },
}
}
}
}
Modifier "Incall" {
Modifier "Incall" {
SupportedDevice {
SupportedDevice {
"SCO"
"SCO"
}
}
Enable {
Enable {
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
}
}
}
}
Modifier "Incall" {
Modifier "Incall" {
SupportedDevice {
SupportedDevice {
"SCO Headset Out"
"SCO Headset Out"
}
}
Enable {
Enable {
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
}
}
}
}
Modifier "Incall" {
Modifier "Incall" {
SupportedDevice {
SupportedDevice {
"SCO Carkit"
"SCO Carkit"
}
}
Enable {
Enable {
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
}
}
}
}
#Modifier: Ringtone
#Modifier: Ringtone
Modifier "Ringtone" {
Modifier "Ringtone" {
SupportedDevice {
SupportedDevice {
"Earpiece"
"Earpiece"
}
}
Enable {
Enable {
{ "EPOUT Digital Volume" , 128 },
{ "EPOUT Digital Volume" , 128 },
{ "EPOUT Input 1 Volume", 32 },
{ "EPOUT Input 1 Volume", 32 },
{ "EPOUT Input 2 Volume" ,32 },
{ "EPOUT Input 2 Volume" ,32 },
}
}
}
}
Modifier "Ringtone" {
Modifier "Ringtone" {
SupportedDevice {
SupportedDevice {
"Speaker"
"Speaker"
}
}
Enable {
Enable {
{ "Speaker Digital Volume", 112 },
{ "Speaker Digital Volume", 112 },
{ "SPKOUTL Input 1 Volume", 32 },
{ "SPKOUTL Input 1 Volume", 32 },
{ "SPKOUTL Input 2 Volume", 32 },
{ "SPKOUTL Input 2 Volume", 32 },
}
}
}
}
Modifier "Ringtone" {
Modifier "Ringtone" {
SupportedDevice {
SupportedDevice {
"Headset Out"
"Headset Out"
}
}
Enable {
Enable {
{ "Noise Gate Switch", 0 },
{ "Noise Gate Switch", 0 },
{ "HPOUT1 Digital Volume", 60 },
{ "HPOUT1 Digital Volume", 60 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
}
}
}
}
Modifier "Ringtone" {
Modifier "Ringtone" {
SupportedDevice {
SupportedDevice {
"Headphone"
"Headphone"
}
}
Enable {
Enable {
{ "Noise Gate Switch", 0 },
{ "Noise Gate Switch", 0 },
{ "HPOUT1 Digital Volume", 60 },
{ "HPOUT1 Digital Volume", 60 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
}
}
}
}
Modifier "Ringtone" {
Modifier "Ringtone" {
SupportedDevice {
SupportedDevice {
"SCO"
"SCO"
}
}
Enable {
Enable {
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
}
}
}
}
Modifier "Ringtone" {
Modifier "Ringtone" {
SupportedDevice {
SupportedDevice {
"SCO Headset Out"
"SCO Headset Out"
}
}
Enable {
Enable {
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
}
}
}
}
Modifier "Ringtone" {
Modifier "Ringtone" {
SupportedDevice {
SupportedDevice {
"SCO Carkit"
"SCO Carkit"
}
}
Enable {
Enable {
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
}
}
}
}
Modifier "Ringtone" {
Modifier "Ringtone" {
SupportedDevice {
SupportedDevice {
"Analogue Dock Out"
"Analogue Dock Out"
}
}
Enable {
Enable {
Copy
Copied
Copy
Copied
{ "
OUT2 Digital Volume", 124 },
{ "
HP
OUT2 Digital Volume", 124 },
{ "HPOUT2L Input 1 Volume", 32 },
{ "HPOUT2L Input 1 Volume", 32 },
{ "HPOUT2R Input 1 Volume", 32 },
{ "HPOUT2R Input 1 Volume", 32 },
}
}
}
}
Modifier "Dual Normal" {
Modifier "Dual Normal" {
SupportedDevice {
SupportedDevice {
"Speaker"
"Speaker"
}
}
Enable {
Enable {
{ "Speaker Digital Volume", 112 },
{ "Speaker Digital Volume", 112 },
{ "SPKOUTL Input 1 Volume", 32 },
{ "SPKOUTL Input 1 Volume", 32 },
{ "SPKOUTL Input 2 Volume", 32 },
{ "SPKOUTL Input 2 Volume", 32 },
}
}
}
}
Modifier "Dual Normal" {
Modifier "Dual Normal" {
SupportedDevice {
SupportedDevice {
"Headset Out"
"Headset Out"
}
}
Enable {
Enable {
{ "Noise Gate Switch", 0 },
{ "Noise Gate Switch", 0 },
{ "HPOUT1 Digital Volume", 60 },
{ "HPOUT1 Digital Volume", 60 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
}
}
}
}
Modifier "Dual Normal" {
Modifier "Dual Normal" {
SupportedDevice {
SupportedDevice {
"Headphone"
"Headphone"
}
}
Enable {
Enable {
{ "Noise Gate Switch", 0 },
{ "Noise Gate Switch", 0 },
{ "HPOUT1 Digital Volume", 60 },
{ "HPOUT1 Digital Volume", 60 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
}
}
}
}
Modifier "Dual Ringtone" {
Modifier "Dual Ringtone" {
SupportedDevice {
SupportedDevice {
"Speaker"
"Speaker"
}
}
Enable {
Enable {
{ "Speaker Digital Volume", 112 },
{ "Speaker Digital Volume", 112 },
{ "SPKOUTL Input 1 Volume", 32 },
{ "SPKOUTL Input 1 Volume", 32 },
{ "SPKOUTL Input 2 Volume", 32 },
{ "SPKOUTL Input 2 Volume", 32 },
}
}
}
}
Modifier "Dual Ringtone" {
Modifier "Dual Ringtone" {
SupportedDevice {
SupportedDevice {
"Headset Out"
"Headset Out"
}
}
Enable {
Enable {
{ "Noise Gate Switch", 0 },
{ "Noise Gate Switch", 0 },
{ "HPOUT1 Digital Volume", 60 },
{ "HPOUT1 Digital Volume", 60 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
}
}
}
}
Modifier "Dual Ringtone" {
Modifier "Dual Ringtone" {
SupportedDevice {
SupportedDevice {
"Headphone"
"Headphone"
}
}
Enable {
Enable {
{ "Noise Gate Switch", 0 },
{ "Noise Gate Switch", 0 },
{ "HPOUT1 Digital Volume", 60 },
{ "HPOUT1 Digital Volume", 60 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
}
}
}
}
Modifier "Incommunication" {
Modifier "Incommunication" {
SupportedDevice {
SupportedDevice {
"Earpiece"
"Earpiece"
}
}
Enable {
Enable {
{ "EPOUT Digital Volume", 112 },
{ "EPOUT Digital Volume", 112 },
{ "EPOUT Input 1 Volume", 32 },
{ "EPOUT Input 1 Volume", 32 },
{ "EPOUT Input 2 Volume" ,32 },
{ "EPOUT Input 2 Volume" ,32 },
}
}
}
}
Modifier "Incommunication" {
Modifier "Incommunication" {
SupportedDevice {
SupportedDevice {
"Speaker"
"Speaker"
}
}
Enable {
Enable {
{ "Speaker Digital Volume", 110 },
{ "Speaker Digital Volume", 110 },
{ "SPKOUTL Input 1 Volume", 32 },
{ "SPKOUTL Input 1 Volume", 32 },
{ "SPKOUTL Input 2 Volume", 32 },
{ "SPKOUTL Input 2 Volume", 32 },
}
}
}
}
Modifier "Incommunication" {
Modifier "Incommunication" {
SupportedDevice {
SupportedDevice {
"Headset Out"
"Headset Out"
}
}
Enable {
Enable {
{ "Noise Gate Switch", 0 },
{ "Noise Gate Switch", 0 },
{ "HPOUT1 Digital Volume", 93 },
{ "HPOUT1 Digital Volume", 93 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
}
}
}
}
Modifier "Incommunication" {
Modifier "Incommunication" {
SupportedDevice {
SupportedDevice {
"Headphone"
"Headphone"
}
}
Enable {
Enable {
{ "Noise Gate Switch", 0 },
{ "Noise Gate Switch", 0 },
{ "HPOUT1 Digital Volume", 108 },
{ "HPOUT1 Digital Volume", 108 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
}
}
}
}
Modifier "Incommunication" {
Modifier "Incommunication" {
SupportedDevice {
SupportedDevice {
"SCO"
"SCO"
}
}
Enable {
Enable {
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
}
}
}
}
Modifier "Incommunication" {
Modifier "Incommunication" {
SupportedDevice {
SupportedDevice {
"SCO Headset Out"
"SCO Headset Out"
}
}
Enable {
Enable {
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
}
}
}
}
Modifier "Incommunication" {
Modifier "Incommunication" {
SupportedDevice {
SupportedDevice {
"SCO Carkit"
"SCO Carkit"
}
}
Enable {
Enable {
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
}
}
}
}
Modifier "Incommunication" {
Modifier "Incommunication" {
SupportedDevice {
SupportedDevice {
"Analogue Dock Out"
"Analogue Dock Out"
}
}
Enable {
Enable {
Copy
Copied
Copy
Copied
{ "
OUT2 Digital Volume", 124 },
{ "
HP
OUT2 Digital Volume", 124 },
{ "HPOUT2L Input 1 Volume", 32 },
{ "HPOUT2L Input 1 Volume", 32 },
{ "HPOUT2R Input 1 Volume", 32 },
{ "HPOUT2R Input 1 Volume", 32 },
}
}
}
}
Modifier "Voipout" {
Modifier "Voipout" {
SupportedDevice {
SupportedDevice {
"Earpiece"
"Earpiece"
}
}
Enable {
Enable {
{ "EPOUT Digital Volume", 110 },
{ "EPOUT Digital Volume", 110 },
{ "EPOUT Input 1 Volume", 32 },
{ "EPOUT Input 1 Volume", 32 },
{ "EPOUT Input 2 Volume" ,32 },
{ "EPOUT Input 2 Volume" ,32 },
}
}
}
}
Modifier "Voipout" {
Modifier "Voipout" {
SupportedDevice {
SupportedDevice {
"Speaker"
"Speaker"
}
}
Enable {
Enable {
{ "Speaker Digital Volume", 108 },
{ "Speaker Digital Volume", 108 },
{ "SPKOUTL Input 1 Volume", 32 },
{ "SPKOUTL Input 1 Volume", 32 },
{ "SPKOUTL Input 2 Volume", 32 },
{ "SPKOUTL Input 2 Volume", 32 },
}
}
}
}
Modifier "Voipout" {
Modifier "Voipout" {
SupportedDevice {
SupportedDevice {
"Headset Out"
"Headset Out"
}
}
Enable {
Enable {
{ "Noise Gate Switch", 0 },
{ "Noise Gate Switch", 0 },
{ "HPOUT1 Digital Volume", 108 },
{ "HPOUT1 Digital Volume", 108 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
}
}
}
}
Modifier "Voipout" {
Modifier "Voipout" {
SupportedDevice {
SupportedDevice {
"Headphone"
"Headphone"
}
}
Enable {
Enable {
{ "Noise Gate Switch", 0 },
{ "Noise Gate Switch", 0 },
{ "HPOUT1 Digital Volume", 108 },
{ "HPOUT1 Digital Volume", 108 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
}
}
}
}
Modifier "Voipout" {
Modifier "Voipout" {
SupportedDevice {
SupportedDevice {
"SCO"
"SCO"
}
}
Enable {
Enable {
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
}
}
}
}
Modifier "Voipout" {
Modifier "Voipout" {
SupportedDevice {
SupportedDevice {
"SCO Headset Out"
"SCO Headset Out"
}
}
Enable {
Enable {
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
}
}
}
}
Modifier "Voipout" {
Modifier "Voipout" {
SupportedDevice {
SupportedDevice {
"SCO Carkit"
"SCO Carkit"
}
}
Enable {
Enable {
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
}
}
}
}
Modifier "Voipout" {
Modifier "Voipout" {
SupportedDevice {
SupportedDevice {
"Analogue Dock Out"
"Analogue Dock Out"
}
}
Enable {
Enable {
Copy
Copied
Copy
Copied
{ "
OUT2 Digital Volume", 124 },
{ "
HP
OUT2 Digital Volume", 124 },
{ "HPOUT2L Input 1 Volume", 32 },
{ "HPOUT2L Input 1 Volume", 32 },
{ "HPOUT2R Input 1 Volume", 32 },
{ "HPOUT2R Input 1 Volume", 32 },
}
}
}
}
Modifier "SecVoipout" {
Modifier "SecVoipout" {
SupportedDevice {
SupportedDevice {
"Earpiece"
"Earpiece"
}
}
Enable {
Enable {
{ "EPOUT Digital Volume", 108 },
{ "EPOUT Digital Volume", 108 },
{ "EPOUT Input 1 Volume", 32 },
{ "EPOUT Input 1 Volume", 32 },
{ "EPOUT Input 2 Volume" ,32 },
{ "EPOUT Input 2 Volume" ,32 },
}
}
}
}
Modifier "SecVoipout" {
Modifier "SecVoipout" {
SupportedDevice {
SupportedDevice {
"Speaker"
"Speaker"
}
}
Enable {
Enable {
{ "Speaker Digital Volume", 128 },
{ "Speaker Digital Volume", 128 },
{ "SPKOUTL Input 1 Volume", 32 },
{ "SPKOUTL Input 1 Volume", 32 },
{ "SPKOUTL Input 2 Volume", 32 },
{ "SPKOUTL Input 2 Volume", 32 },
}
}
}
}
Modifier "SecVoipout" {
Modifier "SecVoipout" {
SupportedDevice {
SupportedDevice {
"Headset Out"
"Headset Out"
}
}
Enable {
Enable {
{ "Noise Gate Switch", 0 },
{ "Noise Gate Switch", 0 },
{ "HPOUT1 Digital Volume", 108 },
{ "HPOUT1 Digital Volume", 108 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
}
}
}
}
Modifier "SecVoipout" {
Modifier "SecVoipout" {
SupportedDevice {
SupportedDevice {
"Headphone"
"Headphone"
}
}
Enable {
Enable {
{ "Noise Gate Switch", 0 },
{ "Noise Gate Switch", 0 },
{ "HPOUT1 Digital Volume", 108 },
{ "HPOUT1 Digital Volume", 108 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
}
}
}
}
Modifier "SecVoipout" {
Modifier "SecVoipout" {
SupportedDevice {
SupportedDevice {
"SCO"
"SCO"
}
}
Enable {
Enable {
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
}
}
}
}
Modifier "SecVoipout" {
Modifier "SecVoipout" {
SupportedDevice {
SupportedDevice {
"SCO Headset Out"
"SCO Headset Out"
}
}
Enable {
Enable {
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
}
}
}
}
Modifier "SecVoipout" {
Modifier "SecVoipout" {
SupportedDevice {
SupportedDevice {
"SCO Carkit"
"SCO Carkit"
}
}
Enable {
Enable {
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
}
}
}
}
Modifier "SecVoipout" {
Modifier "SecVoipout" {
SupportedDevice {
SupportedDevice {
"Analogue Dock Out"
"Analogue Dock Out"
}
}
Enable {
Enable {
Copy
Copied
Copy
Copied
{ "
OUT2 Digital Volume", 124 },
{ "
HP
OUT2 Digital Volume", 124 },
{ "HPOUT2L Input 1 Volume", 32 },
{ "HPOUT2L Input 1 Volume", 32 },
{ "HPOUT2R Input 1 Volume", 32 },
{ "HPOUT2R Input 1 Volume", 32 },
}
}
}
}
Modifier "SecVoipoutExtra" {
Modifier "SecVoipoutExtra" {
SupportedDevice {
SupportedDevice {
"Earpiece"
"Earpiece"
}
}
Enable {
Enable {
{ "EPOUT Digital Volume", 113 },
{ "EPOUT Digital Volume", 113 },
{ "EPOUT Input 1 Volume", 32 },
{ "EPOUT Input 1 Volume", 32 },
{ "EPOUT Input 2 Volume" ,32 },
{ "EPOUT Input 2 Volume" ,32 },
}
}
}
}
Modifier "SecVoipoutExtra" {
Modifier "SecVoipoutExtra" {
SupportedDevice {
SupportedDevice {
"Speaker"
"Speaker"
}
}
Enable {
Enable {
{ "Speaker Digital Volume", 122 },
{ "Speaker Digital Volume", 122 },
{ "SPKOUTL Input 1 Volume", 32 },
{ "SPKOUTL Input 1 Volume", 32 },
{ "SPKOUTL Input 2 Volume", 32 },
{ "SPKOUTL Input 2 Volume", 32 },
}
}
}
}
Modifier "SecVoipoutExtra" {
Modifier "SecVoipoutExtra" {
SupportedDevice {
SupportedDevice {
"Headset Out"
"Headset Out"
}
}
Enable {
Enable {
{ "Noise Gate Switch", 0 },
{ "Noise Gate Switch", 0 },
{ "HPOUT1 Digital Volume", 108 },
{ "HPOUT1 Digital Volume", 108 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
}
}
}
}
Modifier "SecVoipoutExtra" {
Modifier "SecVoipoutExtra" {
SupportedDevice {
SupportedDevice {
"Headphone"
"Headphone"
}
}
Enable {
Enable {
{ "Noise Gate Switch", 0 },
{ "Noise Gate Switch", 0 },
{ "HPOUT1 Digital Volume", 108 },
{ "HPOUT1 Digital Volume", 108 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
}
}
}
}
Modifier "SecVoipoutExtra" {
Modifier "SecVoipoutExtra" {
SupportedDevice {
SupportedDevice {
"SCO"
"SCO"
}
}
Enable {
Enable {
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
}
}
}
}
Modifier "SecVoipoutExtra" {
Modifier "SecVoipoutExtra" {
SupportedDevice {
SupportedDevice {
"SCO Headset Out"
"SCO Headset Out"
}
}
Enable {
Enable {
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
}
}
}
}
Modifier "SecVoipoutExtra" {
Modifier "SecVoipoutExtra" {
SupportedDevice {
SupportedDevice {
"SCO Carkit"
"SCO Carkit"
}
}
Enable {
Enable {
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 1 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX1 Input 2 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 1 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
{ "AIF3TX2 Input 2 Volume", 32 },
}
}
}
}
Modifier "SecVoipoutExtra" {
Modifier "SecVoipoutExtra" {
SupportedDevice {
SupportedDevice {
"Analogue Dock Out"
"Analogue Dock Out"
}
}
Enable {
Enable {
Copy
Copied
Copy
Copied
{ "
OUT2 Digital Volume", 124 },
{ "
HP
OUT2 Digital Volume", 124 },
{ "HPOUT2L Input 1 Volume", 32 },
{ "HPOUT2L Input 1 Volume", 32 },
{ "HPOUT2R Input 1 Volume", 32 },
{ "HPOUT2R Input 1 Volume", 32 },
}
}
}
}
#Modifier : FMRadio
#Modifier : FMRadio
Modifier "FMRadio" {
Modifier "FMRadio" {
SupportedDevice {
SupportedDevice {
"Headset Out"
"Headset Out"
}
}
Enable {
Enable {
}
}
}
}
Modifier "FMRadio" {
Modifier "FMRadio" {
SupportedDevice {
SupportedDevice {
"Headphone"
"Headphone"
}
}
Enable {
Enable {
}
}
}
}
Modifier "FMRadio" {
Modifier "FMRadio" {
SupportedDevice {
SupportedDevice {
"Speaker"
"Speaker"
}
}
Enable {
Enable {
}
}
}
}
Modifier "FMRadio" {
Modifier "FMRadio" {
SupportedDevice {
SupportedDevice {
"Analogue Dock Out"
"Analogue Dock Out"
}
}
Enable {
Enable {
}
}
}
}
Modifier "FMRadio" {
Modifier "FMRadio" {
SupportedDevice {
SupportedDevice {
"FMRadio In"
"FMRadio In"
}
}
OutputDevice {
OutputDevice {
"Headset Out"
"Headset Out"
}
}
Enable {
Enable {
}
}
}
}
Modifier "FMRadio" {
Modifier "FMRadio" {
SupportedDevice {
SupportedDevice {
"FMRadio In"
"FMRadio In"
}
}
OutputDevice {
OutputDevice {
"Headphone"
"Headphone"
}
}
Enable {
Enable {
}
}
}
}
Modifier "FMRadio" {
Modifier "FMRadio" {
SupportedDevice {
SupportedDevice {
"FMRadio In"
"FMRadio In"
}
}
OutputDevice {
OutputDevice {
"Speaker"
"Speaker"
}
}
Enable {
Enable {
{ "AIF1ADC1 Volume", 96 },
{ "AIF1ADC1 Volume", 96 },
}
}
}
}
#Modifier : FMRadio Mute
#Modifier : FMRadio Mute
Modifier "FMRadio_Mute" {
Modifier "FMRadio_Mute" {
SupportedDevice {
SupportedDevice {
"Headset Out"
"Headset Out"
}
}
Enable {
Enable {
}
}
}
}
Modifier "FMRadio_Mute" {
Modifier "FMRadio_Mute" {
SupportedDevice {
SupportedDevice {
"Headphone"
"Headphone"
}
}
Enable {
Enable {
}
}
}
}
Modifier "FMRadio_Mute" {
Modifier "FMRadio_Mute" {
SupportedDevice {
SupportedDevice {
"Speaker"
"Speaker"
}
}
Enable {
Enable {
}
}
}
}
#Modifier : Loopback
#Modifier : Loopback
Modifier "Loopback" {
Modifier "Loopback" {
SupportedDevice {
SupportedDevice {
"Earpiece"
"Earpiece"
}
}
Enable {
Enable {
{ "EPOUT Digital Volume" , 128 },
{ "EPOUT Digital Volume" , 128 },
{ "EPOUT Input 1 Volume", 32 },
{ "EPOUT Input 1 Volume", 32 },
{ "EPOUT Input 2 Volume" ,32 },
{ "EPOUT Input 2 Volume" ,32 },
#CP RX
#CP RX
{ "EPOUT Input 3 Volume", 32 },
{ "EPOUT Input 3 Volume", 32 },
{ "EPOUT Input 4 Volume" ,32 },
{ "EPOUT Input 4 Volume" ,32 },
}
}
}
}
Modifier "Loopback" {
Modifier "Loopback" {
SupportedDevice {
SupportedDevice {
"Speaker"
"Speaker"
}
}
Enable {
Enable {
{ "Speaker Digital Volume", 110 },
{ "Speaker Digital Volume", 110 },
{ "SPKOUTL Input 1 Volume", 32 },
{ "SPKOUTL Input 1 Volume", 32 },
{ "SPKOUTL Input 2 Volume", 32 },
{ "SPKOUTL Input 2 Volume", 32 },
#CP RX
#CP RX
{ "SPKOUTL Input 3 Volume", 32 },
{ "SPKOUTL Input 3 Volume", 32 },
{ "SPKOUTL Input 4 Volume", 32 },
{ "SPKOUTL Input 4 Volume", 32 },
}
}
}
}
Modifier "Loopback" {
Modifier "Loopback" {
SupportedDevice {
SupportedDevice {
"Headset Out"
"Headset Out"
}
}
Enable {
Enable {
{ "Noise Gate Switch", 0 },
{ "Noise Gate Switch", 0 },
{ "HPOUT1 Digital Volume", 108 },
{ "HPOUT1 Digital Volume", 108 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
#CP RX
#CP RX
{ "HPOUT1L Input 2 Volume", 32 },
{ "HPOUT1L Input 2 Volume", 32 },
{ "HPOUT1R Input 2 Volume", 32 },
{ "HPOUT1R Input 2 Volume", 32 },
}
}
}
}
Modifier "Loopback" {
Modifier "Loopback" {
SupportedDevice {
SupportedDevice {
"Headphone"
"Headphone"
}
}
Enable {
Enable {
{ "Noise Gate Switch", 0 },
{ "Noise Gate Switch", 0 },
{ "HPOUT1 Digital Volume", 108 },
{ "HPOUT1 Digital Volume", 108 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
#CP RX
#CP RX
{ "HPOUT1L Input 2 Volume", 32 },
{ "HPOUT1L Input 2 Volume", 32 },
{ "HPOUT1R Input 2 Volume", 32 },
{ "HPOUT1R Input 2 Volume", 32 },
}
}
}
}
#Modifier : LoopbackPacket
#Modifier : LoopbackPacket
Modifier "LoopbackPacket" {
Modifier "LoopbackPacket" {
SupportedDevice {
SupportedDevice {
"Earpiece"
"Earpiece"
}
}
Enable {
Enable {
{ "EPOUT Digital Volume" , 128 },
{ "EPOUT Digital Volume" , 128 },
{ "EPOUT Input 1 Volume", 32 },
{ "EPOUT Input 1 Volume", 32 },
{ "EPOUT Input 2 Volume" ,32 },
{ "EPOUT Input 2 Volume" ,32 },
#CP RX
#CP RX
{ "EPOUT Input 3 Volume", 32 },
{ "EPOUT Input 3 Volume", 32 },
{ "EPOUT Input 4 Volume" ,32 },
{ "EPOUT Input 4 Volume" ,32 },
}
}
}
}
Modifier "LoopbackPacket" {
Modifier "LoopbackPacket" {
SupportedDevice {
SupportedDevice {
"Speaker"
"Speaker"
}
}
Enable {
Enable {
{ "Speaker Digital Volume", 116 },
{ "Speaker Digital Volume", 116 },
{ "SPKOUTL Input 1 Volume", 32 },
{ "SPKOUTL Input 1 Volume", 32 },
{ "SPKOUTL Input 2 Volume", 32 },
{ "SPKOUTL Input 2 Volume", 32 },
#CP RX
#CP RX
{ "SPKOUTL Input 3 Volume", 32 },
{ "SPKOUTL Input 3 Volume", 32 },
{ "SPKOUTL Input 4 Volume", 32 },
{ "SPKOUTL Input 4 Volume", 32 },
}
}
}
}
Modifier "LoopbackPacket" {
Modifier "LoopbackPacket" {
SupportedDevice {
SupportedDevice {
"Headset Out"
"Headset Out"
}
}
Enable {
Enable {
{ "Noise Gate Switch", 0 },
{ "Noise Gate Switch", 0 },
{ "HPOUT1 Digital Volume", 108 },
{ "HPOUT1 Digital Volume", 108 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
#CP RX
#CP RX
{ "HPOUT1L Input 2 Volume", 32 },
{ "HPOUT1L Input 2 Volume", 32 },
{ "HPOUT1R Input 2 Volume", 32 },
{ "HPOUT1R Input 2 Volume", 32 },
}
}
}
}
Modifier "LoopbackPacket" {
Modifier "LoopbackPacket" {
SupportedDevice {
SupportedDevice {
"Headphone"
"Headphone"
}
}
Enable {
Enable {
{ "Noise Gate Switch", 0 },
{ "Noise Gate Switch", 0 },
{ "HPOUT1 Digital Volume", 108 },
{ "HPOUT1 Digital Volume", 108 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1L Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
{ "HPOUT1R Input 1 Volume", 32 },
#CP RX
#CP RX
{ "HPOUT1L Input 2 Volume", 32 },
{ "HPOUT1L Input 2 Volume", 32 },
{ "HPOUT1R Input 2 Volume", 32 },
{ "HPOUT1R Input 2 Volume", 32 },
}
}
}
}
#Modifier : Loop
#Modifier : Loop
Modifier "Loop" {
Modifier "Loop" {
SupportedDevice {
SupportedDevice {
"Earpiece"
"Earpiece"
}
}
Enable {
Enable {
{ "EPOUT Digital Volume" , 128 },
{ "EPOUT Digital Volume" , 128 },
{ "EPOUT Input 1 Volume", 32 },
{ "EPOUT Input 1 Volume", 32 },
{ "EPOUT Input 2 Volume" ,32 },
{ "EPOUT Input 2 Volume" ,32 },
}
}
}
}
Modifier "Loop" {
Modifier "Loop" {
SupportedDevice {
SupportedDevice {
"Speaker"
"Speaker"
}
}
Copy
Copied
Copy
Copied
Enable {
En
Saved diffs
Original text
Open file
root@android:/system/etc # cat default_gain.bak #Output Modifier Stage #Normal, Incall, Ringtone, Incommunication #Modifier: Normal Modifier "Normal" { SupportedDevice { "Earpiece" } Enable { { "EPOUT Digital Volume" , 108 }, { "EPOUT Input 1 Volume", 32 }, { "EPOUT Input 2 Volume" ,32 }, } } Modifier "Normal" { SupportedDevice { "Speaker" } Enable { { "Speaker Digital Volume", 112 }, { "SPKOUTL Input 1 Volume", 32 }, { "SPKOUTL Input 2 Volume", 32 }, } } Modifier "Normal" { SupportedDevice { "Headset Out" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 112 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "Normal" { SupportedDevice { "Headphone" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 112 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "Normal" { SupportedDevice { "SCO" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "Normal" { SupportedDevice { "SCO Headset Out" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "Normal" { SupportedDevice { "SCO Carkit" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "Normal" { SupportedDevice { "Analogue Dock Out" } Enable { { "OUT2 Digital Volume", 124 }, { "HPOUT2L Input 1 Volume", 32 }, { "HPOUT2R Input 1 Volume", 32 }, } } Modifier "Normal" { SupportedDevice { "AUX Digital Out" } Enable { } } #Modifier : Incall Modifier "Incall" { SupportedDevice { "Earpiece" } Enable { { "EPOUT Digital Volume" , 114 }, { "EPOUT Input 1 Volume", 32 }, { "EPOUT Input 2 Volume" ,32 }, #CP RX { "EPOUT Input 3 Volume", 32 }, { "EPOUT Input 4 Volume" ,32 }, } } Modifier "Incall" { SupportedDevice { "Speaker" } Enable { { "Speaker Digital Volume", 144 }, { "SPKOUTL Input 1 Volume", 10 }, { "SPKOUTL Input 2 Volume", 10 }, #CP RX { "SPKOUTL Input 3 Volume", 32 }, { "SPKOUTL Input 4 Volume", 32 }, } } Modifier "Incall" { SupportedDevice { "Headset Out" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, #CP RX { "HPOUT1L Input 2 Volume", 32 }, { "HPOUT1R Input 2 Volume", 32 }, } } Modifier "Incall" { SupportedDevice { "Headphone" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, #CP RX { "HPOUT1L Input 2 Volume", 32 }, { "HPOUT1R Input 2 Volume", 32 }, } } Modifier "Incall" { SupportedDevice { "SCO" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "Incall" { SupportedDevice { "SCO Headset Out" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "Incall" { SupportedDevice { "SCO Carkit" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } #Modifier: Ringtone Modifier "Ringtone" { SupportedDevice { "Earpiece" } Enable { { "EPOUT Digital Volume" , 128 }, { "EPOUT Input 1 Volume", 32 }, { "EPOUT Input 2 Volume" ,32 }, } } Modifier "Ringtone" { SupportedDevice { "Speaker" } Enable { { "Speaker Digital Volume", 112 }, { "SPKOUTL Input 1 Volume", 32 }, { "SPKOUTL Input 2 Volume", 32 }, } } Modifier "Ringtone" { SupportedDevice { "Headset Out" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 60 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "Ringtone" { SupportedDevice { "Headphone" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 60 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "Ringtone" { SupportedDevice { "SCO" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "Ringtone" { SupportedDevice { "SCO Headset Out" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "Ringtone" { SupportedDevice { "SCO Carkit" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "Ringtone" { SupportedDevice { "Analogue Dock Out" } Enable { { "OUT2 Digital Volume", 124 }, { "HPOUT2L Input 1 Volume", 32 }, { "HPOUT2R Input 1 Volume", 32 }, } } Modifier "Dual Normal" { SupportedDevice { "Speaker" } Enable { { "Speaker Digital Volume", 112 }, { "SPKOUTL Input 1 Volume", 32 }, { "SPKOUTL Input 2 Volume", 32 }, } } Modifier "Dual Normal" { SupportedDevice { "Headset Out" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 60 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "Dual Normal" { SupportedDevice { "Headphone" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 60 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "Dual Ringtone" { SupportedDevice { "Speaker" } Enable { { "Speaker Digital Volume", 112 }, { "SPKOUTL Input 1 Volume", 32 }, { "SPKOUTL Input 2 Volume", 32 }, } } Modifier "Dual Ringtone" { SupportedDevice { "Headset Out" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 60 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "Dual Ringtone" { SupportedDevice { "Headphone" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 60 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "Incommunication" { SupportedDevice { "Earpiece" } Enable { { "EPOUT Digital Volume", 112 }, { "EPOUT Input 1 Volume", 32 }, { "EPOUT Input 2 Volume" ,32 }, } } Modifier "Incommunication" { SupportedDevice { "Speaker" } Enable { { "Speaker Digital Volume", 110 }, { "SPKOUTL Input 1 Volume", 32 }, { "SPKOUTL Input 2 Volume", 32 }, } } Modifier "Incommunication" { SupportedDevice { "Headset Out" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 93 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "Incommunication" { SupportedDevice { "Headphone" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "Incommunication" { SupportedDevice { "SCO" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "Incommunication" { SupportedDevice { "SCO Headset Out" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "Incommunication" { SupportedDevice { "SCO Carkit" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "Incommunication" { SupportedDevice { "Analogue Dock Out" } Enable { { "OUT2 Digital Volume", 124 }, { "HPOUT2L Input 1 Volume", 32 }, { "HPOUT2R Input 1 Volume", 32 }, } } Modifier "Voipout" { SupportedDevice { "Earpiece" } Enable { { "EPOUT Digital Volume", 110 }, { "EPOUT Input 1 Volume", 32 }, { "EPOUT Input 2 Volume" ,32 }, } } Modifier "Voipout" { SupportedDevice { "Speaker" } Enable { { "Speaker Digital Volume", 108 }, { "SPKOUTL Input 1 Volume", 32 }, { "SPKOUTL Input 2 Volume", 32 }, } } Modifier "Voipout" { SupportedDevice { "Headset Out" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "Voipout" { SupportedDevice { "Headphone" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "Voipout" { SupportedDevice { "SCO" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "Voipout" { SupportedDevice { "SCO Headset Out" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "Voipout" { SupportedDevice { "SCO Carkit" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "Voipout" { SupportedDevice { "Analogue Dock Out" } Enable { { "OUT2 Digital Volume", 124 }, { "HPOUT2L Input 1 Volume", 32 }, { "HPOUT2R Input 1 Volume", 32 }, } } Modifier "SecVoipout" { SupportedDevice { "Earpiece" } Enable { { "EPOUT Digital Volume", 108 }, { "EPOUT Input 1 Volume", 32 }, { "EPOUT Input 2 Volume" ,32 }, } } Modifier "SecVoipout" { SupportedDevice { "Speaker" } Enable { { "Speaker Digital Volume", 128 }, { "SPKOUTL Input 1 Volume", 32 }, { "SPKOUTL Input 2 Volume", 32 }, } } Modifier "SecVoipout" { SupportedDevice { "Headset Out" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "SecVoipout" { SupportedDevice { "Headphone" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "SecVoipout" { SupportedDevice { "SCO" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "SecVoipout" { SupportedDevice { "SCO Headset Out" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "SecVoipout" { SupportedDevice { "SCO Carkit" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "SecVoipout" { SupportedDevice { "Analogue Dock Out" } Enable { { "OUT2 Digital Volume", 124 }, { "HPOUT2L Input 1 Volume", 32 }, { "HPOUT2R Input 1 Volume", 32 }, } } Modifier "SecVoipoutExtra" { SupportedDevice { "Earpiece" } Enable { { "EPOUT Digital Volume", 113 }, { "EPOUT Input 1 Volume", 32 }, { "EPOUT Input 2 Volume" ,32 }, } } Modifier "SecVoipoutExtra" { SupportedDevice { "Speaker" } Enable { { "Speaker Digital Volume", 122 }, { "SPKOUTL Input 1 Volume", 32 }, { "SPKOUTL Input 2 Volume", 32 }, } } Modifier "SecVoipoutExtra" { SupportedDevice { "Headset Out" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "SecVoipoutExtra" { SupportedDevice { "Headphone" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "SecVoipoutExtra" { SupportedDevice { "SCO" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "SecVoipoutExtra" { SupportedDevice { "SCO Headset Out" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "SecVoipoutExtra" { SupportedDevice { "SCO Carkit" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "SecVoipoutExtra" { SupportedDevice { "Analogue Dock Out" } Enable { { "OUT2 Digital Volume", 124 }, { "HPOUT2L Input 1 Volume", 32 }, { "HPOUT2R Input 1 Volume", 32 }, } } #Modifier : FMRadio Modifier "FMRadio" { SupportedDevice { "Headset Out" } Enable { } } Modifier "FMRadio" { SupportedDevice { "Headphone" } Enable { } } Modifier "FMRadio" { SupportedDevice { "Speaker" } Enable { } } Modifier "FMRadio" { SupportedDevice { "Analogue Dock Out" } Enable { } } Modifier "FMRadio" { SupportedDevice { "FMRadio In" } OutputDevice { "Headset Out" } Enable { } } Modifier "FMRadio" { SupportedDevice { "FMRadio In" } OutputDevice { "Headphone" } Enable { } } Modifier "FMRadio" { SupportedDevice { "FMRadio In" } OutputDevice { "Speaker" } Enable { { "AIF1ADC1 Volume", 96 }, } } #Modifier : FMRadio Mute Modifier "FMRadio_Mute" { SupportedDevice { "Headset Out" } Enable { } } Modifier "FMRadio_Mute" { SupportedDevice { "Headphone" } Enable { } } Modifier "FMRadio_Mute" { SupportedDevice { "Speaker" } Enable { } } #Modifier : Loopback Modifier "Loopback" { SupportedDevice { "Earpiece" } Enable { { "EPOUT Digital Volume" , 128 }, { "EPOUT Input 1 Volume", 32 }, { "EPOUT Input 2 Volume" ,32 }, #CP RX { "EPOUT Input 3 Volume", 32 }, { "EPOUT Input 4 Volume" ,32 }, } } Modifier "Loopback" { SupportedDevice { "Speaker" } Enable { { "Speaker Digital Volume", 110 }, { "SPKOUTL Input 1 Volume", 32 }, { "SPKOUTL Input 2 Volume", 32 }, #CP RX { "SPKOUTL Input 3 Volume", 32 }, { "SPKOUTL Input 4 Volume", 32 }, } } Modifier "Loopback" { SupportedDevice { "Headset Out" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, #CP RX { "HPOUT1L Input 2 Volume", 32 }, { "HPOUT1R Input 2 Volume", 32 }, } } Modifier "Loopback" { SupportedDevice { "Headphone" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, #CP RX { "HPOUT1L Input 2 Volume", 32 }, { "HPOUT1R Input 2 Volume", 32 }, } } #Modifier : LoopbackPacket Modifier "LoopbackPacket" { SupportedDevice { "Earpiece" } Enable { { "EPOUT Digital Volume" , 128 }, { "EPOUT Input 1 Volume", 32 }, { "EPOUT Input 2 Volume" ,32 }, #CP RX { "EPOUT Input 3 Volume", 32 }, { "EPOUT Input 4 Volume" ,32 }, } } Modifier "LoopbackPacket" { SupportedDevice { "Speaker" } Enable { { "Speaker Digital Volume", 116 }, { "SPKOUTL Input 1 Volume", 32 }, { "SPKOUTL Input 2 Volume", 32 }, #CP RX { "SPKOUTL Input 3 Volume", 32 }, { "SPKOUTL Input 4 Volume", 32 }, } } Modifier "LoopbackPacket" { SupportedDevice { "Headset Out" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, #CP RX { "HPOUT1L Input 2 Volume", 32 }, { "HPOUT1R Input 2 Volume", 32 }, } } Modifier "LoopbackPacket" { SupportedDevice { "Headphone" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, #CP RX { "HPOUT1L Input 2 Volume", 32 }, { "HPOUT1R Input 2 Volume", 32 }, } } #Modifier : Loop Modifier "Loop" { SupportedDevice { "Earpiece" } Enable { { "EPOUT Digital Volume" , 128 }, { "EPOUT Input 1 Volume", 32 }, { "EPOUT Input 2 Volume" ,32 }, } } Modifier "Loop" { SupportedDevice { "Speaker" } Enable { { "Speaker Digital Volume", 110 }, { "SPKOUTL Input 1 Volume", 32 }, { "SPKOUTL Input 2 Volume", 32 }, } } Modifier "Loop" { SupportedDevice { "Headset Out" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "Loop" { SupportedDevice { "Headphone" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } #INPUT Modifier Stage #Voice, Camcorder, Recognition, Communication, Modifier "Voice" { SupportedDevice { "Builtin Mic" } Enable { { "IN1L Volume", 18 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Voice" { SupportedDevice { "Back Mic" } Enable { { "IN2L Volume", 17 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "Voice" { SupportedDevice { "Third Mic" } Enable { { "IN2R Volume", 20 }, { "IN2R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Voice" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 30 }, { "IN1R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Voice" { SupportedDevice { "SCO Headset In" } Enable { } } Modifier "Camcorder" { SupportedDevice { "Builtin Mic" } Enable { { "IN1L Volume", 18 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Camcorder" { SupportedDevice { "Back Mic" } Enable { { "IN2L Volume", 17 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "Camcorder" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 30 }, { "IN1R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Camcorder" { SupportedDevice { "SCO Headset In" } Enable { } } Modifier "Recognition" { SupportedDevice { "Builtin Mic" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Recognition" { SupportedDevice { "Back Mic" } Enable { { "IN2L Volume", 18 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "Recognition" { SupportedDevice { "Third Mic" } Enable { { "IN2R Volume", 18 }, { "IN2R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Recognition" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 30 }, { "IN1R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Recognition" { SupportedDevice { "SCO Headset In" } Enable { } } Modifier "SecRecognition" { SupportedDevice { "Builtin Mic" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecRecognition" { SupportedDevice { "Back Mic" } Enable { { "IN2L Volume", 25 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "SecRecognition" { SupportedDevice { "Third Mic" } Enable { { "IN2R Volume", 18 }, { "IN2R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecRecognition" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 30 }, { "IN1R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecRecognition" { SupportedDevice { "SCO Headset In" } Enable { } } Modifier "SecRecognition2" { SupportedDevice { "Builtin Mic" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecRecognition2" { SupportedDevice { "Back Mic" } Enable { { "IN2L Volume", 23 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "SecRecognition2" { SupportedDevice { "Third Mic" } Enable { { "IN2R Volume", 23 }, { "IN2R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecRecognition2" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 30 }, { "IN1R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecRecognition2" { SupportedDevice { "SCO Headset In" } Enable { } } Modifier "SecRecognition2Driv" { SupportedDevice { "Builtin Mic" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecRecognition2Driv" { SupportedDevice { "Back Mic" } Enable { { "IN2L Volume", 23 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "SecRecognition2Driv" { SupportedDevice { "Third Mic" } Enable { { "IN2R Volume", 23 }, { "IN2R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecRecognition2Driv" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 30 }, { "IN1R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecRecognition2Driv" { SupportedDevice { "SCO Headset In" } Enable { } } #bargein Modifier "SecVoipinDriv" { SupportedDevice { "Builtin Mic" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecVoipinDriv" { SupportedDevice { "Back Mic" } Enable { { "IN2L Volume", 25 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "SecVoipinDriv" { SupportedDevice { "Third Mic" } Enable { { "IN2R Volume", 18 }, { "IN2R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecVoipinDriv" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 30 }, { "IN1R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecVoipinDriv" { SupportedDevice { "SCO Headset In" } Enable { } } Modifier "SecHighGain" { SupportedDevice { "Builtin Mic" } Enable { { "IN1L Volume", 31 }, { "IN1L Digital Volume", 136 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecHighGain" { SupportedDevice { "Back Mic" } Enable { { "IN2L Volume", 30 }, { "IN2L Digital Volume", 136 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "SecHighGain" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 30 }, { "IN1R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecHighGain" { SupportedDevice { "SCO Headset In" } Enable { } } Modifier "Communication" { SupportedDevice { "Builtin Mic" } OutputDevice { "Earpiece" } Enable { { "IN1L Volume", 21 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Communication" { SupportedDevice { "Builtin Mic" } OutputDevice { "Speaker" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Communication" { SupportedDevice { "Builtin Mic" } OutputDevice { "Headphone" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Communication" { SupportedDevice { "Back Mic" } Enable { { "IN2L Volume", 28 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "Communication" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 33 }, { "IN1R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Communication" { SupportedDevice { "SCO Headset In" } Enable { } } Modifier "SecVoipin" { SupportedDevice { "Builtin Mic" } OutputDevice { "Earpiece" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecVoipin" { SupportedDevice { "Builtin Mic" } OutputDevice { "Speaker" } Enable { { "IN1L Volume", 28 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecVoipin" { SupportedDevice { "Builtin Mic" } OutputDevice { "Headphone" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecVoipin" { SupportedDevice { "Back Mic" } Enable { { "IN2L Volume", 28 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "SecVoipin" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 30 }, { "IN1R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecVoipin" { SupportedDevice { "SCO Headset In" } Enable { } } Modifier "Voipin" { SupportedDevice { "Builtin Mic" } OutputDevice { "Earpiece" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Voipin" { SupportedDevice { "Builtin Mic" } OutputDevice { "Speaker" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Voipin" { SupportedDevice { "Builtin Mic" } OutputDevice { "Headphone" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Voipin" { SupportedDevice { "Back Mic" } Enable { { "IN2L Volume", 28 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "Voipin" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 30 }, { "IN1R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Voipin" { SupportedDevice { "SCO Headset In" } Enable { } } #Incall-Capture Modifier Modifier "IncallInNSOn" { SupportedDevice { "Builtin Mic" } OutputDevice { "Earpiece" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "IncallInNSOn" { SupportedDevice { "Builtin Mic" } OutputDevice { "Headphone" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "IncallInNSOn" { SupportedDevice { "Back Mic" } OutputDevice { "Speaker" } Enable { { "IN2L Volume", 23 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "IncallInNSOn" { SupportedDevice { "Back Mic" } OutputDevice { "Earpiece" } Enable { { "IN2L Volume", 25 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "IncallInNSOn" { SupportedDevice { "Third Mic" } Enable { { "IN2R Volume", 23 }, { "IN2R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "IncallInNSOn" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 25 }, { "IN1R Digital Volume", 128 }, { "HPOUT1L Input 3 Volume", 6}, { "HPOUT1R Input 3 Volume", 6}, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "IncallInNSOn" { SupportedDevice { "SCO Headset In" } Enable { } } #Incall-Capture Modifier Modifier "IncallInNSOff" { SupportedDevice { "Builtin Mic" } OutputDevice { "Earpiece" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "IncallInNSOff" { SupportedDevice { "Builtin Mic" } OutputDevice { "Headphone" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "IncallInNSOff" { SupportedDevice { "Back Mic" } OutputDevice { "Speaker" } Enable { { "IN2L Volume", 23 }, { "IN2L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "IncallInNSOff" { SupportedDevice { "Back Mic" } OutputDevice { "Earpiece" } Enable { { "IN2L Volume", 25 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "IncallInNSOff" { SupportedDevice { "Third Mic" } Enable { { "IN2R Volume", 23 }, { "IN2R Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "IncallInNSOff" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 25 }, { "IN1R Digital Volume", 128 }, { "HPOUT1L Input 3 Volume", 6}, { "HPOUT1R Input 3 Volume", 6}, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "IncallInNSOff" { SupportedDevice { "SCO Headset In" } Enable { } } #LoopbackIn-Capture Modifier Modifier "LoopbackIn" { SupportedDevice { "Builtin Mic" } OutputDevice { "Earpiece" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopbackIn" { SupportedDevice { "Builtin Mic" } OutputDevice { "Headphone" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopbackIn" { SupportedDevice { "Builtin Mic" } OutputDevice { "Headset" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopbackIn" { SupportedDevice { "Builtin Mic" } OutputDevice { "Speaker" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopbackIn" { SupportedDevice { "Back Mic" } Enable { { "IN2L Volume", 18 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "LoopbackIn" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 30 }, { "IN1R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopbackIn" { SupportedDevice { "SCO Headset In" } Enable { } } #LoopbackPacketIn-Capture Modifier Modifier "LoopbackPacketIn" { SupportedDevice { "Builtin Mic" } OutputDevice { "Earpiece" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopbackPacketIn" { SupportedDevice { "Builtin Mic" } OutputDevice { "Headphone" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopbackPacketIn" { SupportedDevice { "Builtin Mic" } OutputDevice { "Headset" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopbackPacketIn" { SupportedDevice { "Builtin Mic" } OutputDevice { "Speaker" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopbackPacketIn" { SupportedDevice { "Back Mic" } Enable { { "IN2L Volume", 25 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "LoopbackPacketIn" { SupportedDevice { "Third Mic" } Enable { { "IN2R Volume", 25 }, { "IN2R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopbackPacketIn" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 30 }, { "IN1R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopbackPacketIn" { SupportedDevice { "SCO Headset In" } Enable { } } #LoopIn-Capture Modifier Modifier "LoopIn" { SupportedDevice { "Builtin Mic" } OutputDevice { "Earpiece" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopIn" { SupportedDevice { "Builtin Mic" } OutputDevice { "Headphone" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopIn" { SupportedDevice { "Builtin Mic" } OutputDevice { "Speaker" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopIn" { SupportedDevice { "Builtin Mic" } OutputDevice { "Headset Out" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopIn" { SupportedDevice { "Headset In" } Enable { } } #Special Modifier for voicecall recording, not gain Modifier "MicRec" { Enable { } Disable { } } Modifier "Downlink" { Enable { } Disable { } } Modifier "Uplink" { Enable { } Disable { } } Modifier "VoicecallRec" { Enable { } Disable { } } Modifier "CodecRxMute" { Enable { { "AIF2 digital mute", 1 }, } Disable { { "AIF2 digital mute", 0 }, } } Modifier "ForceVoIPMic" { Enable { } Disable { } }
Changed text
Open file
root@android:/system/etc # cat default_gain.conf #Output Modifier Stage #Normal, Incall, Ringtone, Incommunication #Modifier: Normal Modifier "Normal" { SupportedDevice { "Earpiece" } Enable { { "EPOUT Digital Volume" , 108 }, { "EPOUT Input 1 Volume", 32 }, { "EPOUT Input 2 Volume" ,32 }, } } Modifier "Normal" { SupportedDevice { "Speaker" } Enable { { "Speaker Digital Volume", 112 }, { "SPKOUTL Input 1 Volume", 32 }, { "SPKOUTL Input 2 Volume", 32 }, } } Modifier "Normal" { SupportedDevice { "Headset Out" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 112 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "Normal" { SupportedDevice { "Headphone" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 112 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "Normal" { SupportedDevice { "SCO" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "Normal" { SupportedDevice { "SCO Headset Out" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "Normal" { SupportedDevice { "SCO Carkit" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "Normal" { SupportedDevice { "Analogue Dock Out" } Enable { { "HPOUT2 Digital Volume", 124 }, { "HPOUT2L Input 1 Volume", 32 }, { "HPOUT2R Input 1 Volume", 32 }, } } Modifier "Normal" { SupportedDevice { "AUX Digital Out" } Enable { } } #Modifier : Incall Modifier "Incall" { SupportedDevice { "Earpiece" } Enable { { "EPOUT Digital Volume" , 114 }, { "EPOUT Input 1 Volume", 32 }, { "EPOUT Input 2 Volume" ,32 }, #CP RX { "EPOUT Input 3 Volume", 32 }, { "EPOUT Input 4 Volume" ,32 }, } } Modifier "Incall" { SupportedDevice { "Speaker" } Enable { { "Speaker Digital Volume", 144 }, { "SPKOUTL Input 1 Volume", 10 }, { "SPKOUTL Input 2 Volume", 10 }, #CP RX { "SPKOUTL Input 3 Volume", 32 }, { "SPKOUTL Input 4 Volume", 32 }, } } Modifier "Incall" { SupportedDevice { "Headset Out" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, #CP RX { "HPOUT1L Input 2 Volume", 32 }, { "HPOUT1R Input 2 Volume", 32 }, } } Modifier "Incall" { SupportedDevice { "Headphone" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, #CP RX { "HPOUT1L Input 2 Volume", 32 }, { "HPOUT1R Input 2 Volume", 32 }, } } Modifier "Incall" { SupportedDevice { "SCO" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "Incall" { SupportedDevice { "SCO Headset Out" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "Incall" { SupportedDevice { "SCO Carkit" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } #Modifier: Ringtone Modifier "Ringtone" { SupportedDevice { "Earpiece" } Enable { { "EPOUT Digital Volume" , 128 }, { "EPOUT Input 1 Volume", 32 }, { "EPOUT Input 2 Volume" ,32 }, } } Modifier "Ringtone" { SupportedDevice { "Speaker" } Enable { { "Speaker Digital Volume", 112 }, { "SPKOUTL Input 1 Volume", 32 }, { "SPKOUTL Input 2 Volume", 32 }, } } Modifier "Ringtone" { SupportedDevice { "Headset Out" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 60 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "Ringtone" { SupportedDevice { "Headphone" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 60 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "Ringtone" { SupportedDevice { "SCO" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "Ringtone" { SupportedDevice { "SCO Headset Out" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "Ringtone" { SupportedDevice { "SCO Carkit" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "Ringtone" { SupportedDevice { "Analogue Dock Out" } Enable { { "HPOUT2 Digital Volume", 124 }, { "HPOUT2L Input 1 Volume", 32 }, { "HPOUT2R Input 1 Volume", 32 }, } } Modifier "Dual Normal" { SupportedDevice { "Speaker" } Enable { { "Speaker Digital Volume", 112 }, { "SPKOUTL Input 1 Volume", 32 }, { "SPKOUTL Input 2 Volume", 32 }, } } Modifier "Dual Normal" { SupportedDevice { "Headset Out" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 60 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "Dual Normal" { SupportedDevice { "Headphone" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 60 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "Dual Ringtone" { SupportedDevice { "Speaker" } Enable { { "Speaker Digital Volume", 112 }, { "SPKOUTL Input 1 Volume", 32 }, { "SPKOUTL Input 2 Volume", 32 }, } } Modifier "Dual Ringtone" { SupportedDevice { "Headset Out" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 60 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "Dual Ringtone" { SupportedDevice { "Headphone" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 60 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "Incommunication" { SupportedDevice { "Earpiece" } Enable { { "EPOUT Digital Volume", 112 }, { "EPOUT Input 1 Volume", 32 }, { "EPOUT Input 2 Volume" ,32 }, } } Modifier "Incommunication" { SupportedDevice { "Speaker" } Enable { { "Speaker Digital Volume", 110 }, { "SPKOUTL Input 1 Volume", 32 }, { "SPKOUTL Input 2 Volume", 32 }, } } Modifier "Incommunication" { SupportedDevice { "Headset Out" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 93 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "Incommunication" { SupportedDevice { "Headphone" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "Incommunication" { SupportedDevice { "SCO" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "Incommunication" { SupportedDevice { "SCO Headset Out" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "Incommunication" { SupportedDevice { "SCO Carkit" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "Incommunication" { SupportedDevice { "Analogue Dock Out" } Enable { { "HPOUT2 Digital Volume", 124 }, { "HPOUT2L Input 1 Volume", 32 }, { "HPOUT2R Input 1 Volume", 32 }, } } Modifier "Voipout" { SupportedDevice { "Earpiece" } Enable { { "EPOUT Digital Volume", 110 }, { "EPOUT Input 1 Volume", 32 }, { "EPOUT Input 2 Volume" ,32 }, } } Modifier "Voipout" { SupportedDevice { "Speaker" } Enable { { "Speaker Digital Volume", 108 }, { "SPKOUTL Input 1 Volume", 32 }, { "SPKOUTL Input 2 Volume", 32 }, } } Modifier "Voipout" { SupportedDevice { "Headset Out" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "Voipout" { SupportedDevice { "Headphone" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "Voipout" { SupportedDevice { "SCO" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "Voipout" { SupportedDevice { "SCO Headset Out" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "Voipout" { SupportedDevice { "SCO Carkit" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "Voipout" { SupportedDevice { "Analogue Dock Out" } Enable { { "HPOUT2 Digital Volume", 124 }, { "HPOUT2L Input 1 Volume", 32 }, { "HPOUT2R Input 1 Volume", 32 }, } } Modifier "SecVoipout" { SupportedDevice { "Earpiece" } Enable { { "EPOUT Digital Volume", 108 }, { "EPOUT Input 1 Volume", 32 }, { "EPOUT Input 2 Volume" ,32 }, } } Modifier "SecVoipout" { SupportedDevice { "Speaker" } Enable { { "Speaker Digital Volume", 128 }, { "SPKOUTL Input 1 Volume", 32 }, { "SPKOUTL Input 2 Volume", 32 }, } } Modifier "SecVoipout" { SupportedDevice { "Headset Out" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "SecVoipout" { SupportedDevice { "Headphone" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "SecVoipout" { SupportedDevice { "SCO" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "SecVoipout" { SupportedDevice { "SCO Headset Out" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "SecVoipout" { SupportedDevice { "SCO Carkit" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "SecVoipout" { SupportedDevice { "Analogue Dock Out" } Enable { { "HPOUT2 Digital Volume", 124 }, { "HPOUT2L Input 1 Volume", 32 }, { "HPOUT2R Input 1 Volume", 32 }, } } Modifier "SecVoipoutExtra" { SupportedDevice { "Earpiece" } Enable { { "EPOUT Digital Volume", 113 }, { "EPOUT Input 1 Volume", 32 }, { "EPOUT Input 2 Volume" ,32 }, } } Modifier "SecVoipoutExtra" { SupportedDevice { "Speaker" } Enable { { "Speaker Digital Volume", 122 }, { "SPKOUTL Input 1 Volume", 32 }, { "SPKOUTL Input 2 Volume", 32 }, } } Modifier "SecVoipoutExtra" { SupportedDevice { "Headset Out" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "SecVoipoutExtra" { SupportedDevice { "Headphone" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "SecVoipoutExtra" { SupportedDevice { "SCO" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "SecVoipoutExtra" { SupportedDevice { "SCO Headset Out" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "SecVoipoutExtra" { SupportedDevice { "SCO Carkit" } Enable { { "AIF3TX1 Input 1 Volume", 32 }, { "AIF3TX1 Input 2 Volume", 32 }, { "AIF3TX2 Input 1 Volume", 32 }, { "AIF3TX2 Input 2 Volume", 32 }, } } Modifier "SecVoipoutExtra" { SupportedDevice { "Analogue Dock Out" } Enable { { "HPOUT2 Digital Volume", 124 }, { "HPOUT2L Input 1 Volume", 32 }, { "HPOUT2R Input 1 Volume", 32 }, } } #Modifier : FMRadio Modifier "FMRadio" { SupportedDevice { "Headset Out" } Enable { } } Modifier "FMRadio" { SupportedDevice { "Headphone" } Enable { } } Modifier "FMRadio" { SupportedDevice { "Speaker" } Enable { } } Modifier "FMRadio" { SupportedDevice { "Analogue Dock Out" } Enable { } } Modifier "FMRadio" { SupportedDevice { "FMRadio In" } OutputDevice { "Headset Out" } Enable { } } Modifier "FMRadio" { SupportedDevice { "FMRadio In" } OutputDevice { "Headphone" } Enable { } } Modifier "FMRadio" { SupportedDevice { "FMRadio In" } OutputDevice { "Speaker" } Enable { { "AIF1ADC1 Volume", 96 }, } } #Modifier : FMRadio Mute Modifier "FMRadio_Mute" { SupportedDevice { "Headset Out" } Enable { } } Modifier "FMRadio_Mute" { SupportedDevice { "Headphone" } Enable { } } Modifier "FMRadio_Mute" { SupportedDevice { "Speaker" } Enable { } } #Modifier : Loopback Modifier "Loopback" { SupportedDevice { "Earpiece" } Enable { { "EPOUT Digital Volume" , 128 }, { "EPOUT Input 1 Volume", 32 }, { "EPOUT Input 2 Volume" ,32 }, #CP RX { "EPOUT Input 3 Volume", 32 }, { "EPOUT Input 4 Volume" ,32 }, } } Modifier "Loopback" { SupportedDevice { "Speaker" } Enable { { "Speaker Digital Volume", 110 }, { "SPKOUTL Input 1 Volume", 32 }, { "SPKOUTL Input 2 Volume", 32 }, #CP RX { "SPKOUTL Input 3 Volume", 32 }, { "SPKOUTL Input 4 Volume", 32 }, } } Modifier "Loopback" { SupportedDevice { "Headset Out" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, #CP RX { "HPOUT1L Input 2 Volume", 32 }, { "HPOUT1R Input 2 Volume", 32 }, } } Modifier "Loopback" { SupportedDevice { "Headphone" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, #CP RX { "HPOUT1L Input 2 Volume", 32 }, { "HPOUT1R Input 2 Volume", 32 }, } } #Modifier : LoopbackPacket Modifier "LoopbackPacket" { SupportedDevice { "Earpiece" } Enable { { "EPOUT Digital Volume" , 128 }, { "EPOUT Input 1 Volume", 32 }, { "EPOUT Input 2 Volume" ,32 }, #CP RX { "EPOUT Input 3 Volume", 32 }, { "EPOUT Input 4 Volume" ,32 }, } } Modifier "LoopbackPacket" { SupportedDevice { "Speaker" } Enable { { "Speaker Digital Volume", 116 }, { "SPKOUTL Input 1 Volume", 32 }, { "SPKOUTL Input 2 Volume", 32 }, #CP RX { "SPKOUTL Input 3 Volume", 32 }, { "SPKOUTL Input 4 Volume", 32 }, } } Modifier "LoopbackPacket" { SupportedDevice { "Headset Out" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, #CP RX { "HPOUT1L Input 2 Volume", 32 }, { "HPOUT1R Input 2 Volume", 32 }, } } Modifier "LoopbackPacket" { SupportedDevice { "Headphone" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, #CP RX { "HPOUT1L Input 2 Volume", 32 }, { "HPOUT1R Input 2 Volume", 32 }, } } #Modifier : Loop Modifier "Loop" { SupportedDevice { "Earpiece" } Enable { { "EPOUT Digital Volume" , 128 }, { "EPOUT Input 1 Volume", 32 }, { "EPOUT Input 2 Volume" ,32 }, } } Modifier "Loop" { SupportedDevice { "Speaker" } Enable { { "Speaker Digital Volume", 110 }, { "SPKOUTL Input 1 Volume", 32 }, { "SPKOUTL Input 2 Volume", 32 }, } } Modifier "Loop" { SupportedDevice { "Headset Out" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } Modifier "Loop" { SupportedDevice { "Headphone" } Enable { { "Noise Gate Switch", 0 }, { "HPOUT1 Digital Volume", 108 }, { "HPOUT1L Input 1 Volume", 32 }, { "HPOUT1R Input 1 Volume", 32 }, } } #INPUT Modifier Stage #Voice, Camcorder, Recognition, Communication, Modifier "Voice" { SupportedDevice { "Builtin Mic" } Enable { { "IN1L Volume", 18 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Voice" { SupportedDevice { "Back Mic" } Enable { { "IN2L Volume", 17 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "Voice" { SupportedDevice { "Third Mic" } Enable { { "IN2R Volume", 20 }, { "IN2R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Voice" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 30 }, { "IN1R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Voice" { SupportedDevice { "SCO Headset In" } Enable { } } Modifier "Camcorder" { SupportedDevice { "Builtin Mic" } Enable { { "IN1L Volume", 18 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Camcorder" { SupportedDevice { "Back Mic" } Enable { { "IN2L Volume", 17 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "Camcorder" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 30 }, { "IN1R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Camcorder" { SupportedDevice { "SCO Headset In" } Enable { } } Modifier "Recognition" { SupportedDevice { "Builtin Mic" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Recognition" { SupportedDevice { "Back Mic" } Enable { { "IN2L Volume", 18 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "Recognition" { SupportedDevice { "Third Mic" } Enable { { "IN2R Volume", 18 }, { "IN2R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Recognition" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 30 }, { "IN1R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Recognition" { SupportedDevice { "SCO Headset In" } Enable { } } Modifier "SecRecognition" { SupportedDevice { "Builtin Mic" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecRecognition" { SupportedDevice { "Back Mic" } Enable { { "IN2L Volume", 25 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "SecRecognition" { SupportedDevice { "Third Mic" } Enable { { "IN2R Volume", 18 }, { "IN2R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecRecognition" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 30 }, { "IN1R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecRecognition" { SupportedDevice { "SCO Headset In" } Enable { } } Modifier "SecRecognition2" { SupportedDevice { "Builtin Mic" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecRecognition2" { SupportedDevice { "Back Mic" } Enable { { "IN2L Volume", 23 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "SecRecognition2" { SupportedDevice { "Third Mic" } Enable { { "IN2R Volume", 23 }, { "IN2R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecRecognition2" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 30 }, { "IN1R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecRecognition2" { SupportedDevice { "SCO Headset In" } Enable { } } Modifier "SecRecognition2Driv" { SupportedDevice { "Builtin Mic" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecRecognition2Driv" { SupportedDevice { "Back Mic" } Enable { { "IN2L Volume", 23 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "SecRecognition2Driv" { SupportedDevice { "Third Mic" } Enable { { "IN2R Volume", 23 }, { "IN2R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecRecognition2Driv" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 30 }, { "IN1R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecRecognition2Driv" { SupportedDevice { "SCO Headset In" } Enable { } } #bargein Modifier "SecVoipinDriv" { SupportedDevice { "Builtin Mic" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecVoipinDriv" { SupportedDevice { "Back Mic" } Enable { { "IN2L Volume", 25 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "SecVoipinDriv" { SupportedDevice { "Third Mic" } Enable { { "IN2R Volume", 18 }, { "IN2R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecVoipinDriv" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 30 }, { "IN1R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecVoipinDriv" { SupportedDevice { "SCO Headset In" } Enable { } } Modifier "SecHighGain" { SupportedDevice { "Builtin Mic" } Enable { { "IN1L Volume", 31 }, { "IN1L Digital Volume", 136 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecHighGain" { SupportedDevice { "Back Mic" } Enable { { "IN2L Volume", 30 }, { "IN2L Digital Volume", 136 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "SecHighGain" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 30 }, { "IN1R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecHighGain" { SupportedDevice { "SCO Headset In" } Enable { } } Modifier "Communication" { SupportedDevice { "Builtin Mic" } OutputDevice { "Earpiece" } Enable { { "IN1L Volume", 21 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Communication" { SupportedDevice { "Builtin Mic" } OutputDevice { "Speaker" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Communication" { SupportedDevice { "Builtin Mic" } OutputDevice { "Headphone" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Communication" { SupportedDevice { "Back Mic" } Enable { { "IN2L Volume", 28 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "Communication" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 33 }, { "IN1R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Communication" { SupportedDevice { "SCO Headset In" } Enable { } } Modifier "SecVoipin" { SupportedDevice { "Builtin Mic" } OutputDevice { "Earpiece" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecVoipin" { SupportedDevice { "Builtin Mic" } OutputDevice { "Speaker" } Enable { { "IN1L Volume", 28 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecVoipin" { SupportedDevice { "Builtin Mic" } OutputDevice { "Headphone" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecVoipin" { SupportedDevice { "Back Mic" } Enable { { "IN2L Volume", 28 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "SecVoipin" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 30 }, { "IN1R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "SecVoipin" { SupportedDevice { "SCO Headset In" } Enable { } } Modifier "Voipin" { SupportedDevice { "Builtin Mic" } OutputDevice { "Earpiece" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Voipin" { SupportedDevice { "Builtin Mic" } OutputDevice { "Speaker" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Voipin" { SupportedDevice { "Builtin Mic" } OutputDevice { "Headphone" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Voipin" { SupportedDevice { "Back Mic" } Enable { { "IN2L Volume", 28 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "Voipin" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 30 }, { "IN1R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "Voipin" { SupportedDevice { "SCO Headset In" } Enable { } } #Incall-Capture Modifier Modifier "IncallInNSOn" { SupportedDevice { "Builtin Mic" } OutputDevice { "Earpiece" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "IncallInNSOn" { SupportedDevice { "Builtin Mic" } OutputDevice { "Headphone" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "IncallInNSOn" { SupportedDevice { "Back Mic" } OutputDevice { "Speaker" } Enable { { "IN2L Volume", 23 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "IncallInNSOn" { SupportedDevice { "Back Mic" } OutputDevice { "Earpiece" } Enable { { "IN2L Volume", 25 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "IncallInNSOn" { SupportedDevice { "Third Mic" } Enable { { "IN2R Volume", 23 }, { "IN2R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "IncallInNSOn" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 25 }, { "IN1R Digital Volume", 128 }, { "HPOUT1L Input 3 Volume", 6}, { "HPOUT1R Input 3 Volume", 6}, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "IncallInNSOn" { SupportedDevice { "SCO Headset In" } Enable { } } #Incall-Capture Modifier Modifier "IncallInNSOff" { SupportedDevice { "Builtin Mic" } OutputDevice { "Earpiece" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "IncallInNSOff" { SupportedDevice { "Builtin Mic" } OutputDevice { "Headphone" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "IncallInNSOff" { SupportedDevice { "Back Mic" } OutputDevice { "Speaker" } Enable { { "IN2L Volume", 23 }, { "IN2L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "IncallInNSOff" { SupportedDevice { "Back Mic" } OutputDevice { "Earpiece" } Enable { { "IN2L Volume", 25 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "IncallInNSOff" { SupportedDevice { "Third Mic" } Enable { { "IN2R Volume", 23 }, { "IN2R Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "IncallInNSOff" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 25 }, { "IN1R Digital Volume", 128 }, { "HPOUT1L Input 3 Volume", 6}, { "HPOUT1R Input 3 Volume", 6}, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "IncallInNSOff" { SupportedDevice { "SCO Headset In" } Enable { } } #LoopbackIn-Capture Modifier Modifier "LoopbackIn" { SupportedDevice { "Builtin Mic" } OutputDevice { "Earpiece" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopbackIn" { SupportedDevice { "Builtin Mic" } OutputDevice { "Headphone" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopbackIn" { SupportedDevice { "Builtin Mic" } OutputDevice { "Headset" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopbackIn" { SupportedDevice { "Builtin Mic" } OutputDevice { "Speaker" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopbackIn" { SupportedDevice { "Back Mic" } Enable { { "IN2L Volume", 18 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "LoopbackIn" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 30 }, { "IN1R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopbackIn" { SupportedDevice { "SCO Headset In" } Enable { } } #LoopbackPacketIn-Capture Modifier Modifier "LoopbackPacketIn" { SupportedDevice { "Builtin Mic" } OutputDevice { "Earpiece" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopbackPacketIn" { SupportedDevice { "Builtin Mic" } OutputDevice { "Headphone" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopbackPacketIn" { SupportedDevice { "Builtin Mic" } OutputDevice { "Headset" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopbackPacketIn" { SupportedDevice { "Builtin Mic" } OutputDevice { "Speaker" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopbackPacketIn" { SupportedDevice { "Back Mic" } Enable { { "IN2L Volume", 25 }, { "IN2L Digital Volume", 128 }, { "LHPF2 Input 1 Volume", 32 }, } } Modifier "LoopbackPacketIn" { SupportedDevice { "Third Mic" } Enable { { "IN2R Volume", 25 }, { "IN2R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopbackPacketIn" { SupportedDevice { "Headset In" } Enable { { "IN1R Volume", 30 }, { "IN1R Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopbackPacketIn" { SupportedDevice { "SCO Headset In" } Enable { } } #LoopIn-Capture Modifier Modifier "LoopIn" { SupportedDevice { "Builtin Mic" } OutputDevice { "Earpiece" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopIn" { SupportedDevice { "Builtin Mic" } OutputDevice { "Headphone" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopIn" { SupportedDevice { "Builtin Mic" } OutputDevice { "Speaker" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopIn" { SupportedDevice { "Builtin Mic" } OutputDevice { "Headset Out" } Enable { { "IN1L Volume", 25 }, { "IN1L Digital Volume", 128 }, { "LHPF1 Input 1 Volume", 32 }, } } Modifier "LoopIn" { SupportedDevice { "Headset In" } Enable { } } #Special Modifier for voicecall recording, not gain Modifier "MicRec" { Enable { } Disable { } } Modifier "Downlink" { Enable { } Disable { } } Modifier "Uplink" { Enable { } Disable { } } Modifier "VoicecallRec" { Enable { } Disable { } } Modifier "CodecRxMute" { Enable { { "AIF2 digital mute", 1 }, } Disable { { "AIF2 digital mute", 0 }, } } Modifier "ForceVoIPMic" { Enable { } Disable { } }
Find difference