diff options
Diffstat (limited to 'recipes-bsp/alsa-state')
-rw-r--r-- | recipes-bsp/alsa-state/alsa-state.bbappend | 2 | ||||
-rwxr-xr-x | recipes-bsp/alsa-state/alsa-state/mx5/asound.conf | 275 | ||||
-rw-r--r-- | recipes-bsp/alsa-state/alsa-state/mx5/asound.state | 139 | ||||
-rw-r--r-- | recipes-bsp/alsa-state/alsa-state/mxs/asound.conf | 299 | ||||
-rw-r--r-- | recipes-bsp/alsa-state/alsa-state/mxs/asound.state | 191 |
5 files changed, 0 insertions, 906 deletions
diff --git a/recipes-bsp/alsa-state/alsa-state.bbappend b/recipes-bsp/alsa-state/alsa-state.bbappend index 3689c43a..dbfed385 100644 --- a/recipes-bsp/alsa-state/alsa-state.bbappend +++ b/recipes-bsp/alsa-state/alsa-state.bbappend | |||
@@ -3,5 +3,3 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | |||
3 | 3 | ||
4 | PACKAGE_ARCH_mx7 = "${MACHINE_ARCH}" | 4 | PACKAGE_ARCH_mx7 = "${MACHINE_ARCH}" |
5 | PACKAGE_ARCH_mx6 = "${MACHINE_ARCH}" | 5 | PACKAGE_ARCH_mx6 = "${MACHINE_ARCH}" |
6 | PACKAGE_ARCH_mx5 = "${MACHINE_ARCH}" | ||
7 | PACKAGE_ARCH_mxs = "${MACHINE_ARCH}" | ||
diff --git a/recipes-bsp/alsa-state/alsa-state/mx5/asound.conf b/recipes-bsp/alsa-state/alsa-state/mx5/asound.conf deleted file mode 100755 index 0cbe59b2..00000000 --- a/recipes-bsp/alsa-state/alsa-state/mx5/asound.conf +++ /dev/null | |||
@@ -1,275 +0,0 @@ | |||
1 | defaults.pcm.rate_converter "linear" | ||
2 | |||
3 | pcm.dmix_48000{ | ||
4 | type dmix | ||
5 | ipc_key 5678293 | ||
6 | ipc_key_add_uid yes | ||
7 | slave{ | ||
8 | pcm "hw:0,0" | ||
9 | period_time 0 | ||
10 | period_size 2048 | ||
11 | buffer_size 24576 | ||
12 | format S16_LE | ||
13 | rate 48000 | ||
14 | } | ||
15 | } | ||
16 | |||
17 | pcm.dmix_44100{ | ||
18 | type dmix | ||
19 | ipc_key 5678293 | ||
20 | ipc_key_add_uid yes | ||
21 | slave{ | ||
22 | pcm "hw:0,0" | ||
23 | period_time 0 | ||
24 | period_size 2048 | ||
25 | buffer_size 24576 | ||
26 | format S16_LE | ||
27 | rate 44100 | ||
28 | } | ||
29 | } | ||
30 | |||
31 | pcm.dmix_32000{ | ||
32 | type dmix | ||
33 | ipc_key 5678293 | ||
34 | ipc_key_add_uid yes | ||
35 | slave{ | ||
36 | pcm "hw:0,0" | ||
37 | period_time 0 | ||
38 | period_size 2048 | ||
39 | buffer_size 24576 | ||
40 | format S16_LE | ||
41 | rate 32000 | ||
42 | } | ||
43 | } | ||
44 | |||
45 | pcm.dmix_24000{ | ||
46 | type dmix | ||
47 | ipc_key 5678293 | ||
48 | ipc_key_add_uid yes | ||
49 | slave{ | ||
50 | pcm "hw:0,0" | ||
51 | period_time 0 | ||
52 | period_size 2048 | ||
53 | buffer_size 24576 | ||
54 | format S16_LE | ||
55 | rate 24000 | ||
56 | } | ||
57 | } | ||
58 | |||
59 | pcm.dmix_22050{ | ||
60 | type dmix | ||
61 | ipc_key 5678293 | ||
62 | ipc_key_add_uid yes | ||
63 | slave{ | ||
64 | pcm "hw:0,0" | ||
65 | period_time 0 | ||
66 | period_size 2048 | ||
67 | buffer_size 24576 | ||
68 | format S16_LE | ||
69 | rate 22050 | ||
70 | } | ||
71 | } | ||
72 | |||
73 | pcm.dmix_16000{ | ||
74 | type dmix | ||
75 | ipc_key 5678293 | ||
76 | ipc_key_add_uid yes | ||
77 | slave{ | ||
78 | pcm "hw:0,0" | ||
79 | period_time 0 | ||
80 | period_size 2048 | ||
81 | buffer_size 24576 | ||
82 | format S16_LE | ||
83 | rate 16000 | ||
84 | } | ||
85 | } | ||
86 | |||
87 | pcm.dmix_12000{ | ||
88 | type dmix | ||
89 | ipc_key 5678293 | ||
90 | ipc_key_add_uid yes | ||
91 | slave{ | ||
92 | pcm "hw:0,0" | ||
93 | period_time 0 | ||
94 | period_size 2048 | ||
95 | buffer_size 24576 | ||
96 | format S16_LE | ||
97 | rate 12000 | ||
98 | } | ||
99 | } | ||
100 | |||
101 | pcm.dmix_11025{ | ||
102 | type dmix | ||
103 | ipc_key 5678293 | ||
104 | ipc_key_add_uid yes | ||
105 | slave{ | ||
106 | pcm "hw:0,0" | ||
107 | period_time 0 | ||
108 | period_size 2048 | ||
109 | buffer_size 24576 | ||
110 | format S16_LE | ||
111 | rate 11025 | ||
112 | } | ||
113 | } | ||
114 | |||
115 | pcm.dmix_8000{ | ||
116 | type dmix | ||
117 | ipc_key 5678293 | ||
118 | ipc_key_add_uid yes | ||
119 | slave{ | ||
120 | pcm "hw:0,0" | ||
121 | period_time 0 | ||
122 | period_size 2048 | ||
123 | buffer_size 24576 | ||
124 | format S16_LE | ||
125 | rate 8000 | ||
126 | } | ||
127 | } | ||
128 | |||
129 | pcm.!dsnoop_48000{ | ||
130 | type dsnoop | ||
131 | ipc_key 5778293 | ||
132 | ipc_key_add_uid yes | ||
133 | slave{ | ||
134 | pcm "hw:0,0" | ||
135 | period_time 0 | ||
136 | period_size 2048 | ||
137 | buffer_size 24576 | ||
138 | format S16_LE | ||
139 | rate 48000 | ||
140 | } | ||
141 | } | ||
142 | |||
143 | pcm.!dsnoop_44100{ | ||
144 | type dsnoop | ||
145 | ipc_key 5778293 | ||
146 | ipc_key_add_uid yes | ||
147 | slave{ | ||
148 | pcm "hw:0,0" | ||
149 | period_time 0 | ||
150 | period_size 2048 | ||
151 | buffer_size 24576 | ||
152 | format S16_LE | ||
153 | rate 44100 | ||
154 | } | ||
155 | } | ||
156 | |||
157 | pcm.!dsnoop_32000{ | ||
158 | type dsnoop | ||
159 | ipc_key 5778293 | ||
160 | ipc_key_add_uid yes | ||
161 | slave{ | ||
162 | pcm "hw:0,0" | ||
163 | period_time 0 | ||
164 | period_size 2048 | ||
165 | buffer_size 24576 | ||
166 | format S16_LE | ||
167 | rate 32000 | ||
168 | } | ||
169 | } | ||
170 | |||
171 | pcm.!dsnoop_24000{ | ||
172 | type dsnoop | ||
173 | ipc_key 5778293 | ||
174 | ipc_key_add_uid yes | ||
175 | slave{ | ||
176 | pcm "hw:0,0" | ||
177 | period_time 0 | ||
178 | period_size 2048 | ||
179 | buffer_size 24576 | ||
180 | format S16_LE | ||
181 | rate 24000 | ||
182 | } | ||
183 | } | ||
184 | |||
185 | pcm.!dsnoop_22050{ | ||
186 | type dsnoop | ||
187 | ipc_key 5778293 | ||
188 | ipc_key_add_uid yes | ||
189 | slave{ | ||
190 | pcm "hw:0,0" | ||
191 | period_time 0 | ||
192 | period_size 2048 | ||
193 | buffer_size 24576 | ||
194 | format S16_LE | ||
195 | rate 22050 | ||
196 | } | ||
197 | } | ||
198 | |||
199 | pcm.!dsnoop_16000{ | ||
200 | type dsnoop | ||
201 | ipc_key 5778293 | ||
202 | ipc_key_add_uid yes | ||
203 | slave{ | ||
204 | pcm "hw:0,0" | ||
205 | period_time 0 | ||
206 | period_size 2048 | ||
207 | buffer_size 24576 | ||
208 | format S16_LE | ||
209 | rate 16000 | ||
210 | } | ||
211 | } | ||
212 | |||
213 | pcm.!dsnoop_12000{ | ||
214 | type dsnoop | ||
215 | ipc_key 5778293 | ||
216 | ipc_key_add_uid yes | ||
217 | slave{ | ||
218 | pcm "hw:0,0" | ||
219 | period_time 0 | ||
220 | period_size 2048 | ||
221 | buffer_size 24576 | ||
222 | format S16_LE | ||
223 | rate 12000 | ||
224 | } | ||
225 | } | ||
226 | |||
227 | pcm.!dsnoop_11025{ | ||
228 | type dsnoop | ||
229 | ipc_key 5778293 | ||
230 | ipc_key_add_uid yes | ||
231 | slave{ | ||
232 | pcm "hw:0,0" | ||
233 | period_time 0 | ||
234 | period_size 2048 | ||
235 | buffer_size 24576 | ||
236 | format S16_LE | ||
237 | rate 11025 | ||
238 | } | ||
239 | } | ||
240 | |||
241 | pcm.!dsnoop_8000{ | ||
242 | type dsnoop | ||
243 | ipc_key 5778293 | ||
244 | ipc_key_add_uid yes | ||
245 | slave{ | ||
246 | pcm "hw:0,0" | ||
247 | period_time 0 | ||
248 | period_size 2048 | ||
249 | buffer_size 24576 | ||
250 | format S16_LE | ||
251 | rate 8000 | ||
252 | } | ||
253 | } | ||
254 | |||
255 | pcm.asymed{ | ||
256 | type asym | ||
257 | playback.pcm "dmix_44100" | ||
258 | capture.pcm "dsnoop_44100" | ||
259 | } | ||
260 | |||
261 | pcm.dsp0{ | ||
262 | type plug | ||
263 | slave.pcm "asymed" | ||
264 | } | ||
265 | |||
266 | pcm.!default{ | ||
267 | type plug | ||
268 | route_policy "average" | ||
269 | slave.pcm "asymed" | ||
270 | } | ||
271 | |||
272 | ctl.mixer0{ | ||
273 | type hw | ||
274 | card 0 | ||
275 | } | ||
diff --git a/recipes-bsp/alsa-state/alsa-state/mx5/asound.state b/recipes-bsp/alsa-state/alsa-state/mx5/asound.state deleted file mode 100644 index 7c13a88a..00000000 --- a/recipes-bsp/alsa-state/alsa-state/mx5/asound.state +++ /dev/null | |||
@@ -1,139 +0,0 @@ | |||
1 | state.imx3stack { | ||
2 | control.1 { | ||
3 | iface MIXER | ||
4 | name 'MIC GAIN' | ||
5 | value '0dB' | ||
6 | comment { | ||
7 | access 'read write' | ||
8 | type ENUMERATED | ||
9 | count 1 | ||
10 | item.0 '0dB' | ||
11 | item.1 '20dB' | ||
12 | item.2 '30dB' | ||
13 | item.3 '40dB' | ||
14 | } | ||
15 | } | ||
16 | control.2 { | ||
17 | iface MIXER | ||
18 | name 'Capture Volume' | ||
19 | value.0 12 | ||
20 | value.1 12 | ||
21 | comment { | ||
22 | access 'read write' | ||
23 | type INTEGER | ||
24 | count 2 | ||
25 | range '0 - 15' | ||
26 | } | ||
27 | } | ||
28 | control.3 { | ||
29 | iface MIXER | ||
30 | name 'Capture Vol Reduction' | ||
31 | value 'No Change' | ||
32 | comment { | ||
33 | access 'read write' | ||
34 | type ENUMERATED | ||
35 | count 1 | ||
36 | item.0 'No Change' | ||
37 | item.1 'Reduced by 6dB' | ||
38 | } | ||
39 | } | ||
40 | control.4 { | ||
41 | iface MIXER | ||
42 | name 'Playback Volume' | ||
43 | value.0 192 | ||
44 | value.1 192 | ||
45 | comment { | ||
46 | access 'read write' | ||
47 | type INTEGER | ||
48 | count 2 | ||
49 | range '0 - 192' | ||
50 | } | ||
51 | } | ||
52 | control.5 { | ||
53 | iface MIXER | ||
54 | name 'Headphone Volume' | ||
55 | value.0 127 | ||
56 | value.1 127 | ||
57 | comment { | ||
58 | access 'read write' | ||
59 | type INTEGER | ||
60 | count 2 | ||
61 | range '0 - 127' | ||
62 | } | ||
63 | } | ||
64 | control.6 { | ||
65 | iface MIXER | ||
66 | name 'DAC Mux' | ||
67 | value DAC | ||
68 | comment { | ||
69 | access 'read write' | ||
70 | type ENUMERATED | ||
71 | count 1 | ||
72 | item.0 DAC | ||
73 | item.1 LINE_IN | ||
74 | } | ||
75 | } | ||
76 | control.7 { | ||
77 | iface MIXER | ||
78 | name 'ADC Mux' | ||
79 | value LINE_IN | ||
80 | comment { | ||
81 | access 'read write' | ||
82 | type ENUMERATED | ||
83 | count 1 | ||
84 | item.0 MIC_IN | ||
85 | item.1 LINE_IN | ||
86 | } | ||
87 | } | ||
88 | control.8 { | ||
89 | iface MIXER | ||
90 | name ASRC | ||
91 | value disable | ||
92 | comment { | ||
93 | access 'read write' | ||
94 | type ENUMERATED | ||
95 | count 1 | ||
96 | item.0 disable | ||
97 | item.1 '32KHz' | ||
98 | item.2 '44.1KHz' | ||
99 | item.3 '48KHz' | ||
100 | item.4 '96KHz' | ||
101 | } | ||
102 | } | ||
103 | control.9 { | ||
104 | iface MIXER | ||
105 | name 'Jack Function' | ||
106 | value on | ||
107 | comment { | ||
108 | access 'read write' | ||
109 | type ENUMERATED | ||
110 | count 1 | ||
111 | item.0 off | ||
112 | item.1 on | ||
113 | } | ||
114 | } | ||
115 | control.10 { | ||
116 | iface MIXER | ||
117 | name 'Speaker Function' | ||
118 | value on | ||
119 | comment { | ||
120 | access 'read write' | ||
121 | type ENUMERATED | ||
122 | count 1 | ||
123 | item.0 off | ||
124 | item.1 on | ||
125 | } | ||
126 | } | ||
127 | control.11 { | ||
128 | iface MIXER | ||
129 | name 'Line In Function' | ||
130 | value off | ||
131 | comment { | ||
132 | access 'read write' | ||
133 | type ENUMERATED | ||
134 | count 1 | ||
135 | item.0 off | ||
136 | item.1 on | ||
137 | } | ||
138 | } | ||
139 | } | ||
diff --git a/recipes-bsp/alsa-state/alsa-state/mxs/asound.conf b/recipes-bsp/alsa-state/alsa-state/mxs/asound.conf deleted file mode 100644 index 39cb3961..00000000 --- a/recipes-bsp/alsa-state/alsa-state/mxs/asound.conf +++ /dev/null | |||
@@ -1,299 +0,0 @@ | |||
1 | defaults.pcm.rate_converter "linear" | ||
2 | |||
3 | pcm.dmix_48000{ | ||
4 | type plug | ||
5 | slave.pcm{ | ||
6 | type dmix | ||
7 | ipc_key 5678293 | ||
8 | ipc_key_add_uid yes | ||
9 | slave{ | ||
10 | pcm "hw:0,0" | ||
11 | period_time 0 | ||
12 | period_size 2048 | ||
13 | buffer_size 24576 | ||
14 | format S16_LE | ||
15 | rate 48000 | ||
16 | } | ||
17 | } | ||
18 | } | ||
19 | |||
20 | pcm.dmix_44100{ | ||
21 | type dmix | ||
22 | ipc_key 5678293 | ||
23 | ipc_key_add_uid yes | ||
24 | slave{ | ||
25 | pcm "hw:0,0" | ||
26 | period_time 0 | ||
27 | period_size 2048 | ||
28 | buffer_size 24576 | ||
29 | format S16_LE | ||
30 | rate 44100 | ||
31 | } | ||
32 | } | ||
33 | |||
34 | pcm.dmix_32000{ | ||
35 | type plug | ||
36 | slave.pcm{ | ||
37 | type dmix | ||
38 | ipc_key 5678293 | ||
39 | ipc_key_add_uid yes | ||
40 | slave{ | ||
41 | pcm "hw:0,0" | ||
42 | period_time 0 | ||
43 | period_size 2048 | ||
44 | buffer_size 24576 | ||
45 | format S16_LE | ||
46 | rate 32000 | ||
47 | } | ||
48 | } | ||
49 | } | ||
50 | |||
51 | pcm.dmix_24000{ | ||
52 | type plug | ||
53 | slave.pcm{ | ||
54 | type dmix | ||
55 | ipc_key 5678293 | ||
56 | ipc_key_add_uid yes | ||
57 | slave{ | ||
58 | pcm "hw:0,0" | ||
59 | period_time 0 | ||
60 | period_size 2048 | ||
61 | buffer_size 24576 | ||
62 | format S16_LE | ||
63 | rate 24000 | ||
64 | } | ||
65 | } | ||
66 | } | ||
67 | |||
68 | pcm.dmix_22050{ | ||
69 | type plug | ||
70 | slave.pcm{ | ||
71 | type dmix | ||
72 | ipc_key 5678293 | ||
73 | ipc_key_add_uid yes | ||
74 | slave{ | ||
75 | pcm "hw:0,0" | ||
76 | period_time 0 | ||
77 | period_size 2048 | ||
78 | buffer_size 24576 | ||
79 | format S16_LE | ||
80 | rate 22050 | ||
81 | } | ||
82 | } | ||
83 | } | ||
84 | |||
85 | pcm.dmix_16000{ | ||
86 | type plug | ||
87 | slave.pcm{ | ||
88 | type dmix | ||
89 | ipc_key 5678293 | ||
90 | ipc_key_add_uid yes | ||
91 | slave{ | ||
92 | pcm "hw:0,0" | ||
93 | period_time 0 | ||
94 | period_size 2048 | ||
95 | buffer_size 24576 | ||
96 | format S16_LE | ||
97 | rate 16000 | ||
98 | } | ||
99 | } | ||
100 | } | ||
101 | |||
102 | pcm.dmix_12000{ | ||
103 | type plug | ||
104 | slave.pcm{ | ||
105 | type dmix | ||
106 | ipc_key 5678293 | ||
107 | ipc_key_add_uid yes | ||
108 | slave{ | ||
109 | pcm "hw:0,0" | ||
110 | period_time 0 | ||
111 | period_size 2048 | ||
112 | buffer_size 24576 | ||
113 | format S16_LE | ||
114 | rate 12000 | ||
115 | } | ||
116 | } | ||
117 | } | ||
118 | |||
119 | pcm.dmix_11025{ | ||
120 | type plug | ||
121 | slave.pcm{ | ||
122 | type dmix | ||
123 | ipc_key 5678293 | ||
124 | ipc_key_add_uid yes | ||
125 | slave{ | ||
126 | pcm "hw:0,0" | ||
127 | period_time 0 | ||
128 | period_size 2048 | ||
129 | buffer_size 24576 | ||
130 | format S16_LE | ||
131 | rate 11025 | ||
132 | } | ||
133 | } | ||
134 | } | ||
135 | |||
136 | pcm.dmix_8000{ | ||
137 | type plug | ||
138 | slave.pcm{ | ||
139 | type dmix | ||
140 | ipc_key 5678293 | ||
141 | ipc_key_add_uid yes | ||
142 | slave{ | ||
143 | pcm "hw:0,0" | ||
144 | period_time 0 | ||
145 | period_size 2048 | ||
146 | buffer_size 24576 | ||
147 | format S16_LE | ||
148 | rate 8000 | ||
149 | } | ||
150 | } | ||
151 | } | ||
152 | |||
153 | pcm.!dsnoop_48000{ | ||
154 | type dsnoop | ||
155 | ipc_key 5778293 | ||
156 | ipc_key_add_uid yes | ||
157 | slave{ | ||
158 | pcm "hw:0,0" | ||
159 | period_time 0 | ||
160 | period_size 2048 | ||
161 | buffer_size 24576 | ||
162 | format S16_LE | ||
163 | rate 48000 | ||
164 | } | ||
165 | } | ||
166 | |||
167 | pcm.!dsnoop_44100{ | ||
168 | type dsnoop | ||
169 | ipc_key 5778293 | ||
170 | ipc_key_add_uid yes | ||
171 | slave{ | ||
172 | pcm "hw:0,0" | ||
173 | period_time 0 | ||
174 | period_size 2048 | ||
175 | buffer_size 24576 | ||
176 | format S16_LE | ||
177 | rate 44100 | ||
178 | } | ||
179 | } | ||
180 | |||
181 | pcm.!dsnoop_32000{ | ||
182 | type dsnoop | ||
183 | ipc_key 5778293 | ||
184 | ipc_key_add_uid yes | ||
185 | slave{ | ||
186 | pcm "hw:0,0" | ||
187 | period_time 0 | ||
188 | period_size 2048 | ||
189 | buffer_size 24576 | ||
190 | format S16_LE | ||
191 | rate 32000 | ||
192 | } | ||
193 | } | ||
194 | |||
195 | pcm.!dsnoop_24000{ | ||
196 | type dsnoop | ||
197 | ipc_key 5778293 | ||
198 | ipc_key_add_uid yes | ||
199 | slave{ | ||
200 | pcm "hw:0,0" | ||
201 | period_time 0 | ||
202 | period_size 2048 | ||
203 | buffer_size 24576 | ||
204 | format S16_LE | ||
205 | rate 24000 | ||
206 | } | ||
207 | } | ||
208 | |||
209 | pcm.!dsnoop_22050{ | ||
210 | type dsnoop | ||
211 | ipc_key 5778293 | ||
212 | ipc_key_add_uid yes | ||
213 | slave{ | ||
214 | pcm "hw:0,0" | ||
215 | period_time 0 | ||
216 | period_size 2048 | ||
217 | buffer_size 24576 | ||
218 | format S16_LE | ||
219 | rate 22050 | ||
220 | } | ||
221 | } | ||
222 | |||
223 | pcm.!dsnoop_16000{ | ||
224 | type dsnoop | ||
225 | ipc_key 5778293 | ||
226 | ipc_key_add_uid yes | ||
227 | slave{ | ||
228 | pcm "hw:0,0" | ||
229 | period_time 0 | ||
230 | period_size 2048 | ||
231 | buffer_size 24576 | ||
232 | format S16_LE | ||
233 | rate 16000 | ||
234 | } | ||
235 | } | ||
236 | |||
237 | pcm.!dsnoop_12000{ | ||
238 | type dsnoop | ||
239 | ipc_key 5778293 | ||
240 | ipc_key_add_uid yes | ||
241 | slave{ | ||
242 | pcm "hw:0,0" | ||
243 | period_time 0 | ||
244 | period_size 2048 | ||
245 | buffer_size 24576 | ||
246 | format S16_LE | ||
247 | rate 12000 | ||
248 | } | ||
249 | } | ||
250 | |||
251 | pcm.!dsnoop_11025{ | ||
252 | type dsnoop | ||
253 | ipc_key 5778293 | ||
254 | ipc_key_add_uid yes | ||
255 | slave{ | ||
256 | pcm "hw:0,0" | ||
257 | period_time 0 | ||
258 | period_size 2048 | ||
259 | buffer_size 24576 | ||
260 | format S16_LE | ||
261 | rate 11025 | ||
262 | } | ||
263 | } | ||
264 | |||
265 | pcm.!dsnoop_8000{ | ||
266 | type dsnoop | ||
267 | ipc_key 5778293 | ||
268 | ipc_key_add_uid yes | ||
269 | slave{ | ||
270 | pcm "hw:0,0" | ||
271 | period_time 0 | ||
272 | period_size 2048 | ||
273 | buffer_size 24576 | ||
274 | format S16_LE | ||
275 | rate 8000 | ||
276 | } | ||
277 | } | ||
278 | |||
279 | pcm.asymed{ | ||
280 | type asym | ||
281 | playback.pcm "dmix_44100" | ||
282 | capture.pcm "dsnoop_44100" | ||
283 | } | ||
284 | |||
285 | pcm.dsp0{ | ||
286 | type plug | ||
287 | slave.pcm "asymed" | ||
288 | } | ||
289 | |||
290 | pcm.!default{ | ||
291 | type plug | ||
292 | route_policy "average" | ||
293 | slave.pcm "asymed" | ||
294 | } | ||
295 | |||
296 | ctl.mixer0{ | ||
297 | type hw | ||
298 | card 0 | ||
299 | } | ||
diff --git a/recipes-bsp/alsa-state/alsa-state/mxs/asound.state b/recipes-bsp/alsa-state/alsa-state/mxs/asound.state deleted file mode 100644 index d508cc36..00000000 --- a/recipes-bsp/alsa-state/alsa-state/mxs/asound.state +++ /dev/null | |||
@@ -1,191 +0,0 @@ | |||
1 | state.mxsevk { | ||
2 | control.1 { | ||
3 | iface MIXER | ||
4 | name 'MIC GAIN' | ||
5 | value '0dB' | ||
6 | comment { | ||
7 | access 'read write' | ||
8 | type ENUMERATED | ||
9 | count 1 | ||
10 | item.0 '0dB' | ||
11 | item.1 '20dB' | ||
12 | item.2 '30dB' | ||
13 | item.3 '40dB' | ||
14 | } | ||
15 | } | ||
16 | control.2 { | ||
17 | iface MIXER | ||
18 | name 'Capture Volume' | ||
19 | value.0 12 | ||
20 | value.1 12 | ||
21 | comment { | ||
22 | access 'read write' | ||
23 | type INTEGER | ||
24 | count 2 | ||
25 | range '0 - 15' | ||
26 | } | ||
27 | } | ||
28 | control.3 { | ||
29 | iface MIXER | ||
30 | name 'Capture Vol Reduction' | ||
31 | value 'No Change' | ||
32 | comment { | ||
33 | access 'read write' | ||
34 | type ENUMERATED | ||
35 | count 1 | ||
36 | item.0 'No Change' | ||
37 | item.1 'Reduced by 6dB' | ||
38 | } | ||
39 | } | ||
40 | control.4 { | ||
41 | iface MIXER | ||
42 | name 'Playback Volume' | ||
43 | value.0 156 | ||
44 | value.1 156 | ||
45 | comment { | ||
46 | access 'read write' | ||
47 | type INTEGER | ||
48 | count 2 | ||
49 | range '0 - 192' | ||
50 | } | ||
51 | } | ||
52 | control.5 { | ||
53 | iface MIXER | ||
54 | name 'Headphone Volume' | ||
55 | value.0 127 | ||
56 | value.1 127 | ||
57 | comment { | ||
58 | access 'read write' | ||
59 | type INTEGER | ||
60 | count 2 | ||
61 | range '0 - 127' | ||
62 | } | ||
63 | } | ||
64 | control.6 { | ||
65 | iface MIXER | ||
66 | name 'DAC Mux' | ||
67 | value DAC | ||
68 | comment { | ||
69 | access 'read write' | ||
70 | type ENUMERATED | ||
71 | count 1 | ||
72 | item.0 DAC | ||
73 | item.1 LINE_IN | ||
74 | } | ||
75 | } | ||
76 | control.7 { | ||
77 | iface MIXER | ||
78 | name 'ADC Mux' | ||
79 | value MIC_IN | ||
80 | comment { | ||
81 | access 'read write' | ||
82 | type ENUMERATED | ||
83 | count 1 | ||
84 | item.0 MIC_IN | ||
85 | item.1 LINE_IN | ||
86 | } | ||
87 | } | ||
88 | } | ||
89 | state.mxsevk_1 { | ||
90 | control.1 { | ||
91 | iface MIXER | ||
92 | name PRO | ||
93 | value false | ||
94 | comment { | ||
95 | access 'read write' | ||
96 | type BOOLEAN | ||
97 | count 1 | ||
98 | } | ||
99 | } | ||
100 | control.2 { | ||
101 | iface MIXER | ||
102 | name AUDIO | ||
103 | value false | ||
104 | comment { | ||
105 | access 'read write' | ||
106 | type BOOLEAN | ||
107 | count 1 | ||
108 | } | ||
109 | } | ||
110 | control.3 { | ||
111 | iface MIXER | ||
112 | name COPY | ||
113 | value false | ||
114 | comment { | ||
115 | access 'read write' | ||
116 | type BOOLEAN | ||
117 | count 1 | ||
118 | } | ||
119 | } | ||
120 | control.4 { | ||
121 | iface MIXER | ||
122 | name PRE | ||
123 | value false | ||
124 | comment { | ||
125 | access 'read write' | ||
126 | type BOOLEAN | ||
127 | count 1 | ||
128 | } | ||
129 | } | ||
130 | control.5 { | ||
131 | iface MIXER | ||
132 | name CC | ||
133 | value 0 | ||
134 | comment { | ||
135 | access 'read write' | ||
136 | type INTEGER | ||
137 | count 1 | ||
138 | range '0 - 127' | ||
139 | } | ||
140 | } | ||
141 | control.6 { | ||
142 | iface MIXER | ||
143 | name L | ||
144 | value false | ||
145 | comment { | ||
146 | access 'read write' | ||
147 | type BOOLEAN | ||
148 | count 1 | ||
149 | } | ||
150 | } | ||
151 | control.7 { | ||
152 | iface MIXER | ||
153 | name V | ||
154 | value false | ||
155 | comment { | ||
156 | access 'read write' | ||
157 | type BOOLEAN | ||
158 | count 1 | ||
159 | } | ||
160 | } | ||
161 | control.8 { | ||
162 | iface MIXER | ||
163 | name 'USER DATA' | ||
164 | value false | ||
165 | comment { | ||
166 | access 'read write' | ||
167 | type BOOLEAN | ||
168 | count 1 | ||
169 | } | ||
170 | } | ||
171 | control.9 { | ||
172 | iface MIXER | ||
173 | name 'AUTO MUTE' | ||
174 | value false | ||
175 | comment { | ||
176 | access 'read write' | ||
177 | type BOOLEAN | ||
178 | count 1 | ||
179 | } | ||
180 | } | ||
181 | control.10 { | ||
182 | iface MIXER | ||
183 | name 'V CONFIG' | ||
184 | value false | ||
185 | comment { | ||
186 | access 'read write' | ||
187 | type BOOLEAN | ||
188 | count 1 | ||
189 | } | ||
190 | } | ||
191 | } | ||