comparison CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/share/alsa/cards/Audigy.conf @ 68:5028fdace37b

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 16:23:26 -0400
parents
children
comparison
equal deleted inserted replaced
67:0e9998148a16 68:5028fdace37b
1 #
2 # Configuration for the Audigy chip
3 #
4
5 <confdir:pcm/front.conf>
6
7 Audigy.pcm.front.0 {
8 @args [ CARD ]
9 @args.CARD {
10 type string
11 }
12 type hooks
13 slave.pcm {
14 type hw
15 card $CARD
16 chmap [ "UNKNOWN" "FL,FR" ]
17 }
18 hooks.0 {
19 type ctl_elems
20 hook_args [
21 {
22 interface PCM
23 name "EMU10K1 PCM Send Volume"
24 index { @func private_pcm_subdevice }
25 lock true
26 optional true
27 value [ 255 255 0 0 0 0 0 0 255 0 0 0 0 0 0 0 0 255 0 0 0 0 0 0 ]
28 }
29 {
30 # for compatibility with older drivers
31 name "EMU10K1 PCM Send Volume"
32 index { @func private_pcm_subdevice }
33 lock true
34 optional true
35 value [ 255 255 0 0 0 0 0 0 255 0 0 0 0 0 0 0 0 255 0 0 0 0 0 0 ]
36 }
37 {
38 interface PCM
39 name "EMU10K1 PCM Send Routing"
40 index { @func private_pcm_subdevice }
41 lock true
42 optional true
43 value [ 8 9 0 0 0 0 0 0 8 9 0 0 0 0 0 0 8 9 0 0 0 0 0 0 ]
44 }
45 {
46 # for compatibility with older drivers
47 name "EMU10K1 PCM Send Routing"
48 index { @func private_pcm_subdevice }
49 lock true
50 optional true
51 value [ 8 9 0 0 0 0 0 0 8 9 0 0 0 0 0 0 8 9 0 0 0 0 0 0 ]
52 }
53
54 ]
55 }
56 }
57
58 <confdir:pcm/rear.conf>
59
60 Audigy.pcm.rear.0 {
61 @args [ CARD ]
62 @args.CARD {
63 type string
64 }
65 type hooks
66 slave.pcm {
67 type hw
68 card $CARD
69 chmap [ "UNKNOWN" "RL,RR" ]
70 }
71 hooks.0 {
72 type ctl_elems
73 hook_args [
74 {
75 interface PCM
76 name "EMU10K1 PCM Send Volume"
77 index { @func private_pcm_subdevice }
78 lock true
79 optional true
80 value [ 0 0 255 255 0 0 0 0 0 0 255 0 0 0 0 0 0 0 0 255 0 0 0 0 ]
81 }
82 {
83 # for compatibility with older drivers
84 name "EMU10K1 PCM Send Volume"
85 index { @func private_pcm_subdevice }
86 lock true
87 optional true
88 value [ 0 0 255 255 0 0 0 0 0 0 255 0 0 0 0 0 0 0 0 255 0 0 0 0 ]
89 }
90 ]
91 }
92 }
93
94 <confdir:pcm/center_lfe.conf>
95
96 Audigy.pcm.center_lfe.0 {
97 @args [ CARD ]
98 @args.CARD {
99 type string
100 }
101 type hooks
102 slave.pcm {
103 type hw
104 card $CARD
105 chmap [ "UNKNOWN" "FC,LFE" ]
106 }
107 hooks.0 {
108 type ctl_elems
109 hook_args [
110 {
111 interface PCM
112 name "EMU10K1 PCM Send Volume"
113 index { @func private_pcm_subdevice }
114 lock true
115 optional true
116 value [ 255 255 0 0 0 0 0 0 255 0 0 0 0 0 0 0 0 255 0 0 0 0 0 0 ]
117 }
118 {
119 # for compatibility with older drivers
120 name "EMU10K1 PCM Send Volume"
121 index { @func private_pcm_subdevice }
122 lock true
123 optional true
124 value [ 255 255 0 0 0 0 0 0 255 0 0 0 0 0 0 0 0 255 0 0 0 0 0 0 ]
125 }
126 {
127 interface PCM
128 name "EMU10K1 PCM Send Routing"
129 index { @func private_pcm_subdevice }
130 lock true
131 optional true
132 value [ 6 7 0 0 0 0 0 0 6 7 0 0 0 0 0 0 6 7 0 0 0 0 0 0 ]
133 }
134 {
135 # for compatibility with older drivers
136 name "EMU10K1 PCM Send Routing"
137 index { @func private_pcm_subdevice }
138 lock true
139 optional true
140 value [ 6 7 0 0 0 0 0 0 6 7 0 0 0 0 0 0 6 7 0 0 0 0 0 0 ]
141 }
142 ]
143 }
144 }
145
146 <confdir:pcm/surround21.conf>
147 <confdir:pcm/surround40.conf>
148 <confdir:pcm/surround41.conf>
149 <confdir:pcm/surround50.conf>
150
151 Audigy.pcm.surround40.0 {
152 @args [ CARD ]
153 @args.CARD {
154 type string
155 }
156 type multi
157 slaves [
158 {
159 pcm {
160 @func concat
161 strings [
162 "cards.Audigy.pcm.front.0:CARD=" $CARD
163 ]
164 }
165 channels 2
166 }
167 {
168 pcm {
169 @func concat
170 strings [
171 "cards.Audigy.pcm.rear.0:CARD=" $CARD
172 ]
173 }
174 channels 2
175 }
176 ]
177 bindings [
178 { slave 0 channel 0 }
179 { slave 0 channel 1 }
180 { slave 1 channel 0 }
181 { slave 1 channel 1 }
182 ]
183 }
184
185 <confdir:pcm/surround51.conf>
186
187 Audigy.pcm.surround51.0 {
188 @args [ CARD ]
189 @args.CARD {
190 type string
191 }
192 type multi
193 slaves [
194 {
195 pcm {
196 @func concat
197 strings [
198 "cards.Audigy.pcm.front.0:CARD=" $CARD
199 ]
200 }
201 channels 2
202 }
203 {
204 pcm {
205 @func concat
206 strings [
207 "cards.Audigy.pcm.rear.0:CARD=" $CARD
208 ]
209 }
210 channels 2
211 }
212 {
213 pcm {
214 @func concat
215 strings [
216 "cards.Audigy.pcm.center_lfe.0:CARD=" $CARD
217 ]
218 }
219 channels 2
220 }
221 ]
222 bindings [
223 { slave 0 channel 0 }
224 { slave 0 channel 1 }
225 { slave 1 channel 0 }
226 { slave 1 channel 1 }
227 { slave 2 channel 0 }
228 { slave 2 channel 1 }
229 ]
230 }
231
232 <confdir:pcm/iec958.conf>
233
234 Audigy.pcm.iec958.0 {
235 @args [ CARD AES0 AES1 AES2 AES3 ]
236 @args.CARD {
237 type string
238 }
239 @args.AES0 {
240 type integer
241 }
242 @args.AES1 {
243 type integer
244 }
245 @args.AES2 {
246 type integer
247 }
248 @args.AES3 {
249 type integer
250 }
251 type hooks
252 slave.pcm {
253 type hw
254 card $CARD
255 }
256
257 hooks.0 {
258 type ctl_elems
259 hook_args [
260 {
261 interface PCM
262 name "IEC958 Playback Default"
263 lock true
264 preserve true
265 optional true
266 value [ $AES0 $AES1 $AES2 $AES3 ]
267 }
268 {
269 # for compatibility with older drivers
270 name "IEC958 Playback Default"
271 lock true
272 preserve true
273 optional true
274 value [ $AES0 $AES1 $AES2 $AES3 ]
275 }
276 {
277 name "IEC958 Optical Raw Playback Switch"
278 lock true
279 preserve true
280 value [ 1 1 ]
281 }
282 {
283 interface PCM
284 name "EMU10K1 PCM Send Volume"
285 index { @func private_pcm_subdevice }
286 lock true
287 optional true
288 value [ 255 255 0 0 0 0 0 0 255 0 0 0 0 0 0 0 0 255 0 0 0 0 0 0 ]
289 }
290 {
291 # for compatibility with older drivers
292 name "EMU10K1 PCM Send Volume"
293 index { @func private_pcm_subdevice }
294 lock true
295 optional true
296 value [ 255 255 0 0 0 0 0 0 255 0 0 0 0 0 0 0 0 255 0 0 0 0 0 0 ]
297 }
298 {
299 interface PCM
300 name "EMU10K1 PCM Send Routing"
301 index { @func private_pcm_subdevice }
302 lock true
303 optional true
304 value [ 20 21 0 0 0 0 0 0 20 21 0 0 0 0 0 0 20 21 0 0 0 0 0 0 ]
305 }
306 {
307 # for compatibility with older drivers
308 name "EMU10K1 PCM Send Routing"
309 index { @func private_pcm_subdevice }
310 lock true
311 optional true
312 value [ 20 21 0 0 0 0 0 0 20 21 0 0 0 0 0 0 20 21 0 0 0 0 0 0 ]
313 }
314 {
315 name "Audigy Analog/Digital Output Jack"
316 lock true
317 preserve true
318 value 1
319 }
320 ]
321 }
322 }