View | Details | Raw Unified | Return to bug 1171492
Collapse All | Expand All

(-)a/ucm2/chtmax98090/GOOGLE-Quawks-1.0.conf (+6 lines)
Line 0 Link Here
1
Syntax 2
2
Comment "ASUS C300 built-in audio"
3
SectionUseCase."HiFi" {
4
	File "HiFi-Quawks.conf"
5
	Comment "Default"
6
}
(-)a/ucm2/chtmax98090/HiFi-Quawks.conf (+18 lines)
Line 0 Link Here
1
SectionVerb {
2
	Value {
3
		TQ "HiFi"
4
	}
5
6
	EnableSequence [
7
		<platforms/bytcr/PlatformEnableSeq.conf>
8
		<codecs/max98090/EnableSeq.conf>
9
		# volume values modified
10
		cset "name='Headphone Volume' 25"
11
		cset "name='Speaker Volume' 32"
12
	]
13
}
14
15
<codecs/max98090/Headphones.conf>
16
<codecs/max98090/Speaker.conf>
17
<codecs/max98090/InternalMic.conf>
18
<codecs/max98090/HeadsetMic.conf>
(-)a/ucm2/codecs/max98090/EnableSeq.conf (+25 lines)
Line 0 Link Here
1
cset "name='Left Speaker Mixer Left DAC Switch' on"
2
cset "name='Right Speaker Mixer Right DAC Switch' on"
3
cset "name='Digital EQ 3 Band Switch' off"
4
cset "name='Digital EQ 5 Band Switch' off"
5
cset "name='Digital EQ 7 Band Switch' off"
6
cset "name='Biquad Switch' off"
7
cset "name='Filter Mode' Music"
8
cset "name='ADC Oversampling Rate' 0"
9
10
cset "name='DMIC Mux' DMIC"
11
cset "name='MIC2 Mux' IN34"
12
cset "name='MIC2 Volume' 10"
13
cset "name='MIC2 Boost Volume' 0"
14
15
cset "name='ADCR Boost Volume' 4"
16
cset "name='ADCL Boost Volume' 4"
17
cset "name='ADCR Volume' 11"
18
cset "name='ADCL Volume' 11"
19
20
cset "name='Headphone Volume' 10"
21
cset "name='Speaker Volume' 10"
22
23
cset "name='Speaker Left Mixer Volume' 3"
24
cset "name='Speaker Right Mixer Volume' 3"
25
cset "name='Playback Path DC Blocking' on"
(-)a/ucm2/codecs/max98090/Headphones.conf (+25 lines)
Line 0 Link Here
1
SectionDevice."Headphones" {
2
	Comment "Headphones"
3
4
	Value {
5
		PlaybackPriority 200
6
		PlaybackPCM "hw:${CardId}"
7
		JackControl "Headphone Jack"
8
	}
9
10
	ConflictingDevice [
11
		"Speaker"
12
	]
13
14
	EnableSequence [
15
		cset "name='Headphone Left Switch' on"
16
		cset "name='Headphone Right Switch' on"
17
		cset "name='Headphone Switch' on"
18
	]
19
20
	DisableSequence [
21
		cset "name='Headphone Left Switch' off"
22
		cset "name='Headphone Right Switch' off"
23
		cset "name='Headphone Switch' off"
24
	]
25
}
(-)a/ucm2/codecs/max98090/HeadsetMic.conf (+32 lines)
Line 0 Link Here
1
# Headset Microphone via MIC2
2
SectionDevice."Headset" {
3
	Comment "Headset Microphone"
4
5
	Value {
6
		CapturePriority 200
7
		CapturePCM "hw:${CardId}"
8
		JackControl "Headset Mic Jack"
9
	}
10
11
	ConflictingDevice [
12
		"Mic"
13
	]
14
15
	EnableSequence [
16
		cset "name='Headset Mic Switch' on"
17
		cset "name='DMIC Mux' ADC"
18
		cset "name='Record Path DC Blocking' on"
19
20
		cset "name='Left ADC Mixer MIC2 Switch' on"
21
		cset "name='Right ADC Mixer MIC2 Switch' on"
22
	]
23
24
	DisableSequence [
25
		cset "name='Headset Mic Switch' off"
26
		cset "name='DMIC Mux' DMIC"
27
		cset "name='Record Path DC Blocking' off"
28
29
		cset "name='Left ADC Mixer MIC2 Switch' off"
30
		cset "name='Right ADC Mixer MIC2 Switch' off"
31
	]
32
}
(-)a/ucm2/codecs/max98090/InternalMic.conf (+25 lines)
Line 0 Link Here
1
# internal microphone via DMIC
2
SectionDevice."Mic" {
3
	Comment "Internal Microphone"
4
5
	 Value {
6
		CapturePriority 100
7
		CapturePCM "hw:${CardId}"
8
	}
9
10
	ConflictingDevice [
11
		"Mic"
12
	]
13
14
	EnableSequence [
15
		cset "name='Int Mic Switch' on"
16
		cset "name='DMIC Mux' DMIC"
17
		cset "name='Record Path DC Blocking' off"
18
	]
19
20
	DisableSequence [
21
		cset "name='Int Mic Switch' off"
22
		cset "name='DMIC Mux' ADC"
23
		cset "name='Record Path DC Blocking' on"
24
	]
25
}
(-)a/ucm2/codecs/max98090/Speaker.conf (-1 / +24 lines)
Line 0 Link Here
0
- 
1
SectionDevice."Speaker" {
2
	Comment "Speaker"
3
4
	Value {
5
		PlaybackPriority 100
6
		PlaybackPCM "hw:${CardId}"
7
	}
8
9
	ConflictingDevice [
10
		"Headphones"
11
	]
12
13
	EnableSequence [
14
		cset "name='Speaker Left Switch' on"
15
		cset "name='Speaker Right Switch' on"
16
		cset "name='Ext Spk Switch' on"
17
	]
18
19
	DisableSequence [
20
		cset "name='Speaker Left Switch' off"
21
		cset "name='Speaker Right Switch' off"
22
		cset "name='Ext Spk Switch' off"
23
	]
24
}

Return to bug 1171492