comparison CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/share/alsa/cards/ICE1724.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 ICE1724 (Envy24HT) chip
3 #
4
5 # default with dmix & dsnoop
6 ICE1724.pcm.default {
7 @args [ CARD ]
8 @args.CARD {
9 type string
10 }
11 type asym
12 playback.pcm {
13 type plug
14 slave.pcm {
15 @func concat
16 strings [ "dmix:" $CARD ",FORMAT=S32_LE" ]
17 }
18 }
19 capture.pcm {
20 type plug
21 slave.pcm {
22 @func concat
23 strings [ "dsnoop:" $CARD ",FORMAT=S32_LE" ]
24 }
25 }
26 }
27
28 <confdir:pcm/front.conf>
29
30 ICE1724.pcm.front.0 {
31 @args [ CARD ]
32 @args.CARD {
33 type string
34 }
35 type hw
36 card $CARD
37 }
38
39 <confdir:pcm/rear.conf>
40
41 ICE1724.pcm.rear.0 {
42 @args [ CARD ]
43 @args.CARD {
44 type string
45 }
46 type hw
47 card $CARD
48 device 2
49 subdevice 1
50 }
51
52 <confdir:pcm/center_lfe.conf>
53
54 ICE1724.pcm.center_lfe.0 {
55 @args [ CARD ]
56 @args.CARD {
57 type string
58 }
59 type hw
60 card $CARD
61 device 2
62 }
63
64 <confdir:pcm/side.conf>
65
66 ICE1724.pcm.side.0 {
67 @args [ CARD ]
68 @args.CARD {
69 type string
70 }
71 type hw
72 card $CARD
73 device 2
74 subdevice 2
75 }
76
77 <confdir:pcm/surround40.conf>
78
79 ICE1724.pcm.surround40.0 {
80 @args [ CARD ]
81 @args.CARD {
82 type string
83 }
84 type route
85 ttable.0.0 1
86 ttable.1.1 1
87 ttable.2.4 1
88 ttable.3.5 1
89 slave {
90 channels 6
91 pcm {
92 type hw
93 card $CARD
94 }
95 }
96 }
97
98 <confdir:pcm/surround21.conf>
99 <confdir:pcm/surround41.conf>
100 <confdir:pcm/surround50.conf>
101 <confdir:pcm/surround51.conf>
102
103 ICE1724.pcm.surround51.0 {
104 @args [ CARD ]
105 @args.CARD {
106 type string
107 }
108 type route
109 ttable.0.0 1
110 ttable.1.1 1
111 ttable.2.4 1
112 ttable.3.5 1
113 ttable.4.2 1
114 ttable.5.3 1
115 slave {
116 channels 6
117 pcm {
118 type hw
119 card $CARD
120 }
121 }
122 }
123
124 <confdir:pcm/surround71.conf>
125
126 ICE1724.pcm.surround71.0 {
127 @args [ CARD ]
128 @args.CARD {
129 type string
130 }
131 type route
132 ttable.0.0 1
133 ttable.1.1 1
134 ttable.2.4 1
135 ttable.3.5 1
136 ttable.4.2 1
137 ttable.5.3 1
138 ttable.6.6 1
139 ttable.7.7 1
140 slave {
141 channels 8
142 pcm {
143 type hw
144 card $CARD
145 }
146 }
147 }
148
149 <confdir:pcm/iec958.conf>
150
151 ICE1724.pcm.iec958.0 {
152 @args [ CARD AES0 AES1 AES2 AES3 ]
153 @args.CARD {
154 type string
155 }
156 @args.AES0 {
157 type integer
158 }
159 @args.AES1 {
160 type integer
161 }
162 @args.AES2 {
163 type integer
164 }
165 @args.AES3 {
166 type integer
167 }
168 type asym
169 playback.pcm {
170 type linear
171 slave.pcm {
172 type hooks
173 slave.pcm {
174 type hw
175 card $CARD
176 device 1
177 }
178 hooks.0 {
179 type ctl_elems
180 hook_args [
181 {
182 interface MIXER
183 name "IEC958 Output Switch"
184 lock true
185 preserve true
186 value true
187 }
188 {
189 interface PCM
190 name "IEC958 Playback Default"
191 device 1
192 lock true
193 preserve true
194 value [ $AES0 $AES1 $AES2 $AES3 ]
195 }
196 ]
197 }
198 }
199 slave.format S32_LE
200 }
201 capture.pcm {
202 type linear
203 slave.pcm {
204 type hooks
205 slave.pcm {
206 type hw
207 card $CARD
208 device 1
209 }
210 hooks.0 {
211 type ctl_elems
212 hook_args [
213 {
214 interface MIXER
215 name "IEC958 Capture Switch"
216 lock true
217 preserve true
218 value true
219 }
220 ]
221 }
222 }
223 slave.format S32_LE
224 }
225 }