tizen 2.3.1 release
[external/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/surround41.conf>
78 <confdir:pcm/surround50.conf>
79 <confdir:pcm/surround51.conf>
80
81 ICE1712.pcm.surround51.0 {
82         @args [ CARD ]
83         @args.CARD {
84                 type string
85         }
86         type route
87         ttable.0.0 1
88         ttable.1.1 1
89         ttable.2.2 1
90         ttable.3.3 1
91         ttable.4.4 1
92         ttable.5.5 1
93         slave.pcm {
94                 type hw
95                 card $CARD
96         }
97         slave.channels 10
98 }
99
100 <confdir:pcm/iec958.conf>
101
102 ICE1712.pcm.iec958.0 {
103         @args [ CARD AES0 AES1 AES2 AES3 ]
104         @args.CARD {
105                 type string
106         }
107         @args.AES0 {
108                 type integer
109         }
110         @args.AES1 {
111                 type integer
112         }
113         @args.AES2 {
114                 type integer
115         }
116         @args.AES3 {
117                 type integer
118         }
119         type asym
120         playback.pcm {
121                 type hooks
122                 slave.pcm {
123                         type route
124                         ttable.0.8 1
125                         ttable.1.9 1
126                         slave.pcm {
127                                 type hw
128                                 card $CARD
129                         }
130                         slave.format S32_LE
131                         slave.channels 10
132                 }
133                 hooks.0 {
134                         type ctl_elems
135                         hook_args [
136                                 {
137                                         interface PCM
138                                         name "IEC958 Playback PCM Stream"
139                                         lock true
140                                         preserve true
141                                         value [ $AES0 $AES1 $AES2 $AES3 ]
142                                 }
143                         ]
144                 }
145         }
146         capture.pcm {
147                 type route
148                 ttable.0.8 1
149                 ttable.1.9 1
150                 slave.pcm {
151                         type hw
152                         card $CARD
153                 }
154                 slave.format S32_LE
155                 slave.channels 12
156         }
157 }