Mercurial > repos > rliterman > csp2
comparison CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/share/alsa/cards/YMF744.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 YMF744 chip | |
3 # | |
4 | |
5 <confdir:pcm/front.conf> | |
6 | |
7 YMF744.pcm.front.0 { | |
8 @args [ CARD ] | |
9 @args.CARD { | |
10 type string | |
11 } | |
12 type hw | |
13 card $CARD | |
14 } | |
15 | |
16 <confdir:pcm/rear.conf> | |
17 | |
18 YMF744.pcm.rear.0 { | |
19 @args [ CARD ] | |
20 @args.CARD { | |
21 type string | |
22 } | |
23 type hw | |
24 card $CARD | |
25 device 2 | |
26 } | |
27 | |
28 <confdir:pcm/surround40.conf> | |
29 | |
30 YMF744.pcm.surround40.0 { | |
31 @args [ CARD ] | |
32 @args.CARD { | |
33 type string | |
34 } | |
35 type multi | |
36 slaves [ | |
37 { | |
38 pcm { | |
39 @func concat | |
40 strings [ | |
41 "cards.YMF744.pcm.front.0:CARD=" $CARD | |
42 ] | |
43 } | |
44 channels 2 | |
45 } | |
46 { | |
47 pcm { | |
48 @func concat | |
49 strings [ | |
50 "cards.YMF744.pcm.rear.0:CARD=" $CARD | |
51 ] | |
52 } | |
53 channels 2 | |
54 } | |
55 ] | |
56 bindings [ | |
57 { slave 0 channel 0 } | |
58 { slave 0 channel 1 } | |
59 { slave 1 channel 0 } | |
60 { slave 1 channel 1 } | |
61 ] | |
62 } | |
63 | |
64 <confdir:pcm/iec958.conf> | |
65 | |
66 YMF744.pcm.iec958.0 { | |
67 @args [ CARD AES0 AES1 AES2 AES3 ] | |
68 @args.CARD { | |
69 type string | |
70 } | |
71 @args.AES0 { | |
72 type integer | |
73 } | |
74 @args.AES1 { | |
75 type integer | |
76 } | |
77 @args.AES2 { | |
78 type integer | |
79 } | |
80 @args.AES3 { | |
81 type integer | |
82 } | |
83 type hooks | |
84 slave.pcm { | |
85 type hw | |
86 card $CARD | |
87 device 1 | |
88 } | |
89 hooks.0 { | |
90 type ctl_elems | |
91 hook_args [ | |
92 { | |
93 name "IEC958 Playback Switch" | |
94 lock true | |
95 preserve true | |
96 value 1 | |
97 } | |
98 { | |
99 interface PCM | |
100 name "IEC958 Playback PCM Stream" | |
101 device 1 | |
102 lock true | |
103 preserve true | |
104 value [ $AES0 $AES1 $AES2 $AES3 ] | |
105 } | |
106 ] | |
107 } | |
108 } |