Imported Upstream version 1.0.28
[platform/upstream/alsa-lib.git] / src / conf / cards / ICE1712.conf
1 #
2 # Configuration for the ICE1712 (Envy24) chip
3 #
4
5 # default with dmix & dsnoop
6 ICE1712.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 ICE1712.pcm.front.0 {
31         @args [ CARD ]
32         @args.CARD {
33                 type string
34         }
35         type asym
36         playback.pcm {
37                 type route
38                 ttable.0.0 1
39                 ttable.1.1 1
40                 slave.pcm {
41                         type hw
42                         card $CARD
43                 }
44                 slave.channels 10
45         }
46         capture.pcm {
47                 type route
48                 ttable.0.0 1
49                 ttable.1.1 1
50                 slave.pcm {
51                         type hw
52                         card $CARD
53                 }
54                 slave.channels 12
55         }
56 }       
57
58 <confdir:pcm/surround40.conf>
59
60 ICE1712.pcm.surround40.0 {
61         @args [ CARD ]
62         @args.CARD {
63                 type string
64         }
65         type route
66         ttable.0.0 1
67         ttable.1.1 1
68         ttable.2.2 1
69         ttable.3.3 1
70         slave.pcm {
71                 type hw
72                 card $CARD
73         }
74         slave.channels 10
75 }       
76
77 <confdir:pcm/surround21.conf>
78 <confdir:pcm/surround41.conf>
79 <confdir:pcm/surround50.conf>
80 <confdir:pcm/surround51.conf>
81
82 ICE1712.pcm.surround51.0 {
83         @args [ CARD ]
84         @args.CARD {
85                 type string
86         }
87         type route
88         ttable.0.0 1
89         ttable.1.1 1
90         ttable.2.2 1
91         ttable.3.3 1
92         ttable.4.4 1
93         ttable.5.5 1
94         slave.pcm {
95                 type hw
96                 card $CARD
97         }
98         slave.channels 10
99 }
100
101 <confdir:pcm/iec958.conf>
102
103 ICE1712.pcm.iec958.0 {
104         @args [ CARD AES0 AES1 AES2 AES3 ]
105         @args.CARD {
106                 type string
107         }
108         @args.AES0 {
109                 type integer
110         }
111         @args.AES1 {
112                 type integer
113         }
114         @args.AES2 {
115                 type integer
116         }
117         @args.AES3 {
118                 type integer
119         }
120         type asym
121         playback.pcm {
122                 type hooks
123                 slave.pcm {
124                         type route
125                         ttable.0.8 1
126                         ttable.1.9 1
127                         slave.pcm {
128                                 type hw
129                                 card $CARD
130                         }
131                         slave.format S32_LE
132                         slave.channels 10
133                 }
134                 hooks.0 {
135                         type ctl_elems
136                         hook_args [
137                                 {
138                                         interface PCM
139                                         name "IEC958 Playback PCM Stream"
140                                         lock true
141                                         preserve true
142                                         value [ $AES0 $AES1 $AES2 $AES3 ]
143                                 }
144                         ]
145                 }
146         }
147         capture.pcm {
148                 type route
149                 ttable.0.8 1
150                 ttable.1.9 1
151                 slave.pcm {
152                         type hw
153                         card $CARD
154                 }
155                 slave.format S32_LE
156                 slave.channels 12
157         }
158 }