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