add more spacing
[personal-kdebase.git] / runtime / phonon / platform_kde / phonondevice.alsa
blob3f7132d774b4d499c6a914b684e9a436f6a9c7e5
1 pcm.x-phonon {
2         @args [ CARD DEV SUBDEV ]
3         @args.CARD {
4                 type string
5                 default {
6                         @func refer
7                         name defaults.pcm.card
8                 }
9         }
10         @args.DEV {
11                 type integer
12                 default {
13                         @func refer
14                         name defaults.pcm.device
15                 }
16         }
17         @args.SUBDEV {
18                 type integer
19                 default -1
20         }
21         type asym
22         playback.pcm {
23                 type plug
24                 slave.pcm {
25                         type dmix
26                         ipc_key {
27                                 @func refer
28                                 name defaults.pcm.ipc_key
29                         }
30                         ipc_key_add_uid false
31                         ipc_gid {
32                                 @func refer
33                                 name defaults.pcm.ipc_gid
34                         }
35                         ipc_perm {
36                                 @func refer
37                                 name defaults.pcm.ipc_perm
38                         }
39                         slave {
40                                 pcm {
41                                         type hw
42                                         card $CARD
43                                         device $DEV
44                                         subdevice $SUBDEV
45                                 }
46                                 format {
47                                         @func refer
48                                         name defaults.pcm.dmix.format
49                                 }
50                                 rate {
51                                         @func refer
52                                         name defaults.pcm.dmix.rate
53                                 }
54                                 period_size {
55                                         @func refer
56                                         name {
57                                                 @func concat
58                                                 strings [
59                                                         "cards."
60                                                         {
61                                                                 @func card_driver
62                                                                 card $CARD
63                                                         }
64                                                         ".pcm.dmix.period_size"
65                                                 ]
66                                         }
67                                         default 1024
68                                 }               
69                                 period_time {
70                                         @func refer
71                                         name {
72                                                 @func concat
73                                                 strings [
74                                                         "cards."
75                                                         {
76                                                                 @func card_driver
77                                                                 card $CARD
78                                                         }
79                                                         ".pcm.dmix.period_time"
80                                                 ]
81                                         }
82                                         default -1
83                                 }               
84                                 periods {
85                                         @func refer
86                                         name {
87                                                 @func concat
88                                                 strings [
89                                                         "cards."
90                                                         {
91                                                                 @func card_driver
92                                                                 card $CARD
93                                                         }
94                                                         ".pcm.dmix.periods"
95                                                 ]
96                                         }
97                                         default 16
98                                 }
99                         }
100                 }
101         }
102         capture.pcm {
103                 type plug
104                 slave.pcm {
105                         type dsnoop
106                         ipc_key {
107                                 @func refer
108                                 name defaults.pcm.ipc_key
109                         }       
110                         ipc_gid {
111                                 @func refer
112                                 name defaults.pcm.ipc_gid
113                         }
114                         ipc_perm {
115                                 @func refer
116                                 name defaults.pcm.ipc_perm
117                         }
118                         slave {
119                                 pcm {
120                                         type hw
121                                         card $CARD
122                                         device $DEV
123                                         subdevice $SUBDEV
124                                 }
125                                 format {
126                                         @func refer
127                                         name defaults.pcm.dmix.format
128                                 }
129                                 rate {
130                                         @func refer
131                                         name defaults.pcm.dmix.rate
132                                 }
133                                 period_size {
134                                         @func refer
135                                         name {
136                                                 @func concat
137                                                 strings [
138                                                         "cards."
139                                                         {
140                                                                 @func card_driver
141                                                                 card $CARD
142                                                         }
143                                                         ".pcm.dsnoop.period_size"
144                                                 ]
145                                         }
146                                         default 1024
147                                 }               
148                                 period_time {
149                                         @func refer
150                                         name {
151                                                 @func concat
152                                                 strings [
153                                                         "cards."
154                                                         {
155                                                                 @func card_driver
156                                                                 card $CARD
157                                                         }
158                                                         ".pcm.dsnoop.period_time"
159                                                 ]
160                                         }
161                                         default -1
162                                 }               
163                                 periods {
164                                         @func refer
165                                         name {
166                                                 @func concat
167                                                 strings [
168                                                         "cards."
169                                                         {
170                                                                 @func card_driver
171                                                                 card $CARD
172                                                         }
173                                                         ".pcm.dsnoop.periods"
174                                                 ]
175                                         }
176                                         default 16
177                                 }
178                         }
179                 }
180         }
183 ctl.x-phonon {
184         @args [ CARD DEV SUBDEV ]
185         @args.CARD {
186                 type string
187                 default {
188                         @func refer
189                         name defaults.pcm.card
190                 }
191         }
192         @args.DEV {
193                 type integer
194                 default -1
195         }
196         @args.SUBDEV {
197                 type integer
198                 default -1
199         }
200         type hw
201         card $CARD