• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Configuration for the ATI IXP 150/200/250 chips
3#
4
5<confdir:pcm/front.conf>
6
7ATIIXP.pcm.front.0 {
8	@args [ CARD ]
9	@args.CARD {
10		type string
11	}
12	type hw
13	card $CARD
14}
15
16# default with dmix/dsnoop
17ATIIXP.pcm.default {
18	@args [ CARD ]
19	@args.CARD {
20		type string
21	}
22	type asym
23	playback.pcm {
24		type plug
25		slave.pcm {
26			@func concat
27			strings [ "dmix:" $CARD ]
28		}
29	}
30	capture.pcm {
31		type plug
32		slave.pcm {
33			@func concat
34			strings [ "dsnoop:" $CARD ]
35		}
36	}
37}
38
39<confdir:pcm/surround40.conf>
40
41ATIIXP.pcm.surround40.0 {
42	@args [ CARD ]
43	@args.CARD {
44		type string
45	}
46	type hooks
47	slave.pcm {
48		type hw
49		card $CARD
50		channels 4
51	}
52	hooks.0 {
53		type ctl_elems
54		hook_args [
55			{
56				name "Channel Mode"
57				preserve true
58				value "4ch"
59				lock true
60				optional true
61			}
62			# for old drivers
63			{
64				name "Line-In As Surround"
65				preserve true
66				value true
67				optional true
68			}
69			{
70				name "Surround Down Mix"
71				preserve true
72				value off
73				lock true
74				optional true
75			}
76		]
77	}
78}
79
80<confdir:pcm/surround21.conf>
81<confdir:pcm/surround41.conf>
82<confdir:pcm/surround50.conf>
83<confdir:pcm/surround51.conf>
84
85ATIIXP.pcm.surround51.0 {
86	@args [ CARD ]
87	@args.CARD {
88		type string
89	}
90	type hooks
91	slave.pcm {
92		type hw
93		card $CARD
94		channels 6
95	}
96	hooks.0 {
97		type ctl_elems
98		hook_args [
99			{
100				name "Channel Mode"
101				preserve true
102				value "6ch"
103				lock true
104				optional true
105			}
106			# for old drivers
107			{
108				name "Line-In As Surround"
109				preserve true
110				value true
111				optional true
112			}
113			{
114				name "Mic As Center/LFE"
115				preserve true
116				value true
117				optional true
118			}
119			{
120				name "Surround Down Mix"
121				preserve true
122				value off
123				lock true
124				optional true
125			}
126			{
127				name "Center/LFE Down Mix"
128				preserve true
129				value off
130				lock true
131				optional true
132			}
133		]
134	}
135}
136
137<confdir:pcm/iec958.conf>
138
139ATIIXP.pcm.iec958.0 {
140	@args [ CARD AES0 AES1 AES2 AES3 ]
141	@args.CARD {
142		type string
143	}
144	@args.AES0 {
145		type integer
146	}
147	@args.AES1 {
148		type integer
149	}
150	@args.AES2 {
151		type integer
152	}
153	@args.AES3 {
154		type integer
155	}
156	type hooks
157	slave.pcm {
158		type hw
159		card $CARD
160		device 1
161	}
162	hooks.0 {
163		type ctl_elems
164		hook_args [
165			{
166				name "IEC958 Playback AC97-SPSA"
167				lock true
168				preserve true
169				value 3
170			}
171			{
172				name "IEC958 Playback Default"
173				lock true
174				preserve true
175				value [ $AES0 $AES1 $AES2 $AES3 ]
176			}
177			{
178				name "IEC958 Playback Switch"
179				lock true
180				preserve true
181				value true
182			}
183		]
184	}
185}
186