1# 2# Configuration for the Echo3G driver 3# 4 5<confdir:pcm/front.conf> 6Echo_Echo3G.pcm.front.0 { 7 @args [ CARD ] 8 @args.CARD { 9 type string 10 } 11 type hw 12 card $CARD 13 device 0 14 subdevice 0 15} 16 17<confdir:pcm/rear.conf> 18Echo_Echo3G.pcm.rear.0 { 19 @args [ CARD ] 20 @args.CARD { 21 type string 22 } 23 type hw 24 card $CARD 25 device 0 26 subdevice 4 27} 28 29<confdir:pcm/center_lfe.conf> 30Echo_Echo3G.pcm.center_lfe.0 { 31 @args [ CARD ] 32 @args.CARD { 33 type string 34 } 35 type hw 36 card $CARD 37 device 0 38 subdevice 2 39} 40 41<confdir:pcm/side.conf> 42Echo_Echo3G.pcm.side.0 { 43 @args [ CARD ] 44 @args.CARD { 45 type string 46 } 47 type hw 48 card $CARD 49 device 0 50 subdevice 6 51} 52 53<confdir:pcm/surround40.conf> 54Echo_Echo3G.pcm.surround40.0 { 55 @args [ CARD ] 56 @args.CARD { 57 type string 58 } 59 type multi 60 slaves [ 61 { 62 pcm { 63 @func concat 64 strings [ 65 "cards.Echo_Echo3G.pcm.front.0:CARD=" $CARD 66 ] 67 } 68 channels 2 69 } 70 { 71 pcm { 72 @func concat 73 strings [ 74 "cards.Echo_Echo3G.pcm.rear.0:CARD=" $CARD 75 ] 76 } 77 channels 2 78 } 79 ] 80 bindings [ 81 { slave 0 channel 0 } 82 { slave 0 channel 1 } 83 { slave 1 channel 0 } 84 { slave 1 channel 1 } 85 ] 86} 87 88<confdir:pcm/surround41.conf> 89Echo_Echo3G.pcm.surround41.0 { 90 @args [ CARD ] 91 @args.CARD { 92 type string 93 } 94 type multi 95 slaves [ 96 { 97 pcm { 98 @func concat 99 strings [ 100 "cards.Echo_Echo3G.pcm.front.0:CARD=" $CARD 101 ] 102 } 103 channels 2 104 } 105 { 106 pcm { 107 @func concat 108 strings [ 109 "cards.Echo_Echo3G.pcm.rear.0:CARD=" $CARD 110 ] 111 } 112 channels 2 113 } 114 { 115 pcm { 116 @func concat 117 strings [ 118 "cards.Echo_Echo3G.pcm.center_lfe.0:CARD=" $CARD 119 ] 120 } 121 channels 2 122 } 123 ] 124 bindings [ 125 { slave 0 channel 0 } 126 { slave 0 channel 1 } 127 { slave 1 channel 0 } 128 { slave 1 channel 1 } 129 { slave 2 channel 0 } 130 ] 131} 132 133<confdir:pcm/surround50.conf> 134Echo_Echo3G.pcm.surround50.0 { 135 @args [ CARD ] 136 @args.CARD { 137 type string 138 } 139 type multi 140 slaves [ 141 { 142 pcm { 143 @func concat 144 strings [ 145 "cards.Echo_Echo3G.pcm.front.0:CARD=" $CARD 146 ] 147 } 148 channels 2 149 } 150 { 151 pcm { 152 @func concat 153 strings [ 154 "cards.Echo_Echo3G.pcm.rear.0:CARD=" $CARD 155 ] 156 } 157 channels 2 158 } 159 { 160 pcm { 161 @func concat 162 strings [ 163 "cards.Echo_Echo3G.pcm.center_lfe.0:CARD=" $CARD 164 ] 165 } 166 channels 2 167 } 168 ] 169 bindings [ 170 { slave 0 channel 0 } 171 { slave 0 channel 1 } 172 { slave 1 channel 0 } 173 { slave 1 channel 1 } 174 { slave 2 channel 1 } 175 ] 176} 177 178<confdir:pcm/surround51.conf> 179Echo_Echo3G.pcm.surround51.0 { 180 @args [ CARD ] 181 @args.CARD { 182 type string 183 } 184 type multi 185 slaves [ 186 { 187 pcm { 188 @func concat 189 strings [ 190 "cards.Echo_Echo3G.pcm.front.0:CARD=" $CARD 191 ] 192 } 193 channels 2 194 } 195 { 196 pcm { 197 @func concat 198 strings [ 199 "cards.Echo_Echo3G.pcm.rear.0:CARD=" $CARD 200 ] 201 } 202 channels 2 203 } 204 { 205 pcm { 206 @func concat 207 strings [ 208 "cards.Echo_Echo3G.pcm.center_lfe.0:CARD=" $CARD 209 ] 210 } 211 channels 2 212 } 213 ] 214 bindings [ 215 { slave 0 channel 0 } 216 { slave 0 channel 1 } 217 { slave 1 channel 0 } 218 { slave 1 channel 1 } 219 { slave 2 channel 0 } 220 { slave 2 channel 1 } 221 ] 222} 223 224<confdir:pcm/surround71.conf> 225Echo_Echo3G.pcm.surround71.0 { 226 @args [ CARD ] 227 @args.CARD { 228 type string 229 } 230 type multi 231 slaves [ 232 { 233 pcm { 234 @func concat 235 strings [ 236 "cards.Echo_Echo3G.pcm.front.0:CARD=" $CARD 237 ] 238 } 239 channels 2 240 } 241 { 242 pcm { 243 @func concat 244 strings [ 245 "cards.Echo_Echo3G.pcm.rear.0:CARD=" $CARD 246 ] 247 } 248 channels 2 249 } 250 { 251 pcm { 252 @func concat 253 strings [ 254 "cards.Echo_Echo3G.pcm.center_lfe.0:CARD=" $CARD 255 ] 256 } 257 channels 2 258 } 259 { 260 pcm { 261 @func concat 262 strings [ 263 "cards.Echo_Echo3G.pcm.side.0:CARD=" $CARD 264 ] 265 } 266 channels 2 267 } 268 ] 269 bindings [ 270 { slave 0 channel 0 } 271 { slave 0 channel 1 } 272 { slave 1 channel 0 } 273 { slave 1 channel 1 } 274 { slave 2 channel 0 } 275 { slave 2 channel 1 } 276 { slave 3 channel 0 } 277 { slave 3 channel 1 } 278 ] 279} 280 281<confdir:pcm/iec958.conf> 282Echo_Echo3G.pcm.iec958.0 { 283 @args [ CARD AES0 AES1 AES2 AES3 ] 284 @args.CARD { 285 type string 286 } 287 @args.AES0 { 288 type integer 289 } 290 @args.AES1 { 291 type integer 292 } 293 @args.AES2 { 294 type integer 295 } 296 @args.AES3 { 297 type integer 298 } 299 type hooks 300 slave.pcm { 301 type hw 302 card $CARD 303 device 1 304 } 305 306 hooks.0 { 307 type ctl_elems 308 hook_args [ 309 { 310 interface PCM 311 name "IEC958 Playback Default" 312 preserve true 313 optional true 314 value [ $AES0 $AES1 $AES2 $AES3 ] 315 } 316 ] 317 } 318} 319