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