File: VoiceCall

package info (click to toggle)
alsa-lib 1.0.28-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 7,228 kB
  • ctags: 10,077
  • sloc: ansic: 77,234; sh: 11,192; makefile: 625
file content (154 lines) | stat: -rw-r--r-- 2,584 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
# There is no mixer setup here - it is handled by PulseAudio's audio HAL module.

SectionVerb {
	EnableSequence [
		cdev "hw:apq8064tablasnd"
		cset "name='MultiMedia1 Mixer SLIM_4_TX' 1"
		cset "name='SLIMBUS_0_RX Audio Mixer MultiMedia1' 1"
	]

	DisableSequence [
		cdev "hw:apq8064tablasnd"
		cset "name='MultiMedia1 Mixer SLIM_4_TX' 0"
		cset "name='SLIMBUS_0_RX Audio Mixer MultiMedia1' 0"
	]

	Value {
		CapturePCM "hw:apq8064tablasnd,0"
		PlaybackPCM "hw:apq8064tablasnd,0"
	}
}

SectionDevice."Earpiece" {
	#Name "Earpiece"
	Comment "Earpiece speaker"

	# FIXME
	ConflictingDevice [
		"Headphones"
		"Speaker"
	]

	EnableSequence [
		cdev "hw:apq8064tablasnd"
		cset "name='RX1 Digital Volume' 84"
		cset "name='EAR PA Gain' POS_6_DB"
	]

	DisableSequence [
		cdev "hw:apq8064tablasnd"
		cset "name='RX1 Digital Volume' 68"
	]

	Value {
		PlaybackChannels "2"
	}
}

SectionDevice."Speaker" {
	#Name "Speaker"
	Comment "Main speaker"

	# FIXME
	ConflictingDevice [
		"Earpiece"
		"Headphones"
	]

	EnableSequence [
		cdev "hw:apq8064tablasnd"
		cset "name='RX3 Digital Volume' 80"
		cset "name='LINEOUT1 Volume' 100"
		cset "name='LINEOUT3 Volume' 100"
	]

	DisableSequence [
		cdev "hw:apq8064tablasnd"
		cset "name='RX3 Digital Volume' 68"
		cset "name='LINEOUT1 Volume' 0"
		cset "name='LINEOUT3 Volume' 0"
	]

	Value {
		PlaybackChannels "2"
	}
}

SectionDevice."Headphones" {
	#Name "Headphones"
	Comment "Headphones"

	# FIXME
	ConflictingDevice [
		"Earpiece"
		"Speaker"
	]

	EnableSequence [
		cdev "hw:apq8064tablasnd"
		cset "name='RX1 Digital Volume' 68"
		cset "name='RX2 Digital Volume' 68"
		cset "name='HPHL Volume' 50"
		cset "name='HPHR Volume' 50"
	]

	DisableSequence [
		cdev "hw:apq8064tablasnd"
		cset "name='RX1 Digital Volume' 68"
		cset "name='RX2 Digital Volume' 68"
		cset "name='HPHL Volume' 0"
		cset "name='HPHR Volume' 0"
	]

	Value {
		PlaybackChannels "2"
	}
}

SectionDevice."Headset" {
	#Name "Headset"
	Comment "Headset Microphone"

	ConflictingDevice [
		"Handset"
	]

	EnableSequence [
		cdev "hw:apq8064tablasnd"
		cset "name='ADC2 Volume' 66"
	]

	DisableSequence [
		cdev "hw:apq8064tablasnd"
		cset "name='ADC2 Volume' 0"
	]

	Value {
		CaptureChannels "1"
	}
}

SectionDevice."Handset" {
	#Name "Handset"
	Comment "Handset Microphone"

	ConflictingDevice [
		"Headset"
	]

	EnableSequence [
		cdev "hw:apq8064tablasnd"
		cset "name='DEC7 Volume' 80"
		cset "name='ADC1 Volume' 100"
	]

	DisableSequence [
		cdev "hw:apq8064tablasnd"
		cset "name='DEC7 Volume' 0"
		cset "name='ADC1 Volume' 0"
	]

	Value {
		CaptureChannels "1"
	}
}