comparison CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/share/alsa/cards/VIA686A.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 VIA686A chip
3 #
4 # SPDIF support is not complete - it might not work, especially with AC3
5 # passthru mode...
6 #
7
8 <confdir:pcm/front.conf>
9
10 VIA686A.pcm.front.0 {
11 @args [ CARD ]
12 @args.CARD {
13 type string
14 }
15 type hw
16 card $CARD
17 }
18
19 # default with dmix/dsnoop
20 VIA686A.pcm.default {
21 @args [ CARD ]
22 @args.CARD {
23 type string
24 }
25 type asym
26 playback.pcm {
27 type plug
28 slave.pcm {
29 @func concat
30 strings [ "dmix:" $CARD ]
31 }
32 }
33 capture.pcm {
34 type plug
35 slave.pcm {
36 @func concat
37 strings [ "dsnoop:" $CARD ]
38 }
39 }
40 }
41
42 <confdir:pcm/iec958.conf>
43
44 VIA686A.pcm.iec958.0 {
45 @args [ CARD AES0 AES1 AES2 AES3 ]
46 @args.CARD {
47 type string
48 }
49 @args.AES0 {
50 type integer
51 }
52 @args.AES1 {
53 type integer
54 }
55 @args.AES2 {
56 type integer
57 }
58 @args.AES3 {
59 type integer
60 }
61 type hooks
62 slave.pcm {
63 type hw
64 card $CARD
65 }
66 hooks.0 {
67 type ctl_elems
68 hook_args [
69 {
70 name "IEC958 Playback AC97-SPSA"
71 lock true
72 preserve true
73 value 0
74 }
75 {
76 name "IEC958 Playback Default"
77 lock true
78 preserve true
79 value [ $AES0 $AES1 $AES2 $AES3 ]
80 }
81 {
82 name "IEC958 Playback Switch"
83 lock true
84 preserve true
85 value true
86 }
87 ]
88 }
89 }