1# 2# Configuration for the ICE1712 (Envy24) chip 3# 4 5# default with dmix & dsnoop 6ICE1712.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 30ICE1712.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 60ICE1712.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<confdir:pcm/surround71.conf> 82 83ICE1712.pcm.surround51.0 { 84 @args [ CARD ] 85 @args.CARD { 86 type string 87 } 88 type route 89 ttable.0.0 1 90 ttable.1.1 1 91 ttable.2.2 1 92 ttable.3.3 1 93 ttable.4.4 1 94 ttable.5.5 1 95 slave.pcm { 96 type hw 97 card $CARD 98 } 99 slave.channels 10 100} 101 102ICE1712.pcm.surround71.0 { 103 @args [ CARD ] 104 @args.CARD { 105 type string 106 } 107 type route 108 ttable.0.0 1 109 ttable.1.1 1 110 ttable.2.2 1 111 ttable.3.3 1 112 ttable.4.4 1 113 ttable.5.5 1 114 ttable.6.6 1 115 ttable.7.7 1 116 slave.pcm { 117 type hw 118 card $CARD 119 } 120 slave.channels 10 121} 122 123<confdir:pcm/iec958.conf> 124 125ICE1712.pcm.iec958.0 { 126 @args [ CARD AES0 AES1 AES2 AES3 ] 127 @args.CARD { 128 type string 129 } 130 @args.AES0 { 131 type integer 132 } 133 @args.AES1 { 134 type integer 135 } 136 @args.AES2 { 137 type integer 138 } 139 @args.AES3 { 140 type integer 141 } 142 type asym 143 playback.pcm { 144 type hooks 145 slave.pcm { 146 type route 147 ttable.0.8 1 148 ttable.1.9 1 149 slave.pcm { 150 type hw 151 card $CARD 152 } 153 slave.format S32_LE 154 slave.channels 10 155 } 156 hooks.0 { 157 type ctl_elems 158 hook_args [ 159 { 160 interface PCM 161 name "IEC958 Playback PCM Stream" 162 lock true 163 preserve true 164 value [ $AES0 $AES1 $AES2 $AES3 ] 165 } 166 ] 167 } 168 } 169 capture.pcm { 170 type route 171 ttable.0.8 1 172 ttable.1.9 1 173 slave.pcm { 174 type hw 175 card $CARD 176 } 177 slave.format S32_LE 178 slave.channels 12 179 } 180} 181