• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Configuration for the SB X-Fi driver
3#
4
5<confdir:pcm/front.conf>
6
7SB-XFi.pcm.front.0 {
8	@args [ CARD ]
9	@args.CARD {
10		type string
11	}
12	type hw
13	card $CARD
14	device 0
15}
16
17<confdir:pcm/rear.conf>
18
19SB-XFi.pcm.rear.0 {
20	@args [ CARD ]
21	@args.CARD {
22		type string
23	}
24	type hw
25	card $CARD
26	device 1
27	hint.device 1
28}
29
30<confdir:pcm/center_lfe.conf>
31
32SB-XFi.pcm.center_lfe.0 {
33	@args [ CARD ]
34	@args.CARD {
35		type string
36	}
37	type hw
38	card $CARD
39	device 2
40	hint.device 2
41}
42
43<confdir:pcm/side.conf>
44
45SB-XFi.pcm.side.0 {
46	@args [ CARD ]
47	@args.CARD {
48		type string
49	}
50	type hw
51	card $CARD
52	device 3
53	hint.device 3
54}
55
56<confdir:pcm/surround21.conf>
57<confdir:pcm/surround40.conf>
58<confdir:pcm/surround41.conf>
59<confdir:pcm/surround50.conf>
60<confdir:pcm/surround51.conf>
61<confdir:pcm/surround71.conf>
62
63SB-XFi.pcm.surround40.0 cards.SB-XFi.pcm.front.0
64SB-XFi.pcm.surround51.0 cards.SB-XFi.pcm.front.0
65SB-XFi.pcm.surround71.0 cards.SB-XFi.pcm.front.0
66
67<confdir:pcm/iec958.conf>
68
69SB-XFi.pcm.iec958.0 {
70	@args [ CARD AES0 AES1 AES2 AES3 ]
71	@args.CARD {
72		type string
73	}
74	@args.AES0 {
75		type integer
76	}
77	@args.AES1 {
78		type integer
79	}
80	@args.AES2 {
81		type integer
82	}
83	@args.AES3 {
84		type integer
85	}
86	type asym
87	playback.pcm {
88		type hooks
89		slave.pcm {
90			type hw
91			card $CARD
92			device 4
93		}
94		hooks.0 {
95			type ctl_elems
96			hook_args [
97			{
98				interface PCM
99				name "IEC958 Playback PCM Stream"
100				device 4
101				lock true
102				preserve true
103				value [ $AES0 $AES1 $AES2 $AES3 ]
104			}
105			]
106		}
107	}
108	hint.device 4
109}
110