1# 2# Configuration for the Audigy chip 3# 4 5<confdir:pcm/front.conf> 6 7Audigy.pcm.front.0 { 8 @args [ CARD ] 9 @args.CARD { 10 type string 11 } 12 type hooks 13 slave.pcm { 14 type hw 15 card $CARD 16 chmap [ "UNKNOWN" "FL,FR" ] 17 } 18 hooks.0 { 19 type ctl_elems 20 hook_args [ 21 { 22 interface PCM 23 name "EMU10K1 PCM Send Volume" 24 index { @func private_pcm_subdevice } 25 lock true 26 optional true 27 value [ 255 255 0 0 0 0 0 0 255 0 0 0 0 0 0 0 0 255 0 0 0 0 0 0 ] 28 } 29 { 30 interface PCM 31 name "EMU10K1 PCM Send Routing" 32 index { @func private_pcm_subdevice } 33 lock true 34 optional true 35 value [ 8 9 0 0 0 0 0 0 8 9 0 0 0 0 0 0 8 9 0 0 0 0 0 0 ] 36 } 37 ] 38 } 39} 40 41<confdir:pcm/rear.conf> 42 43Audigy.pcm.rear.0 { 44 @args [ CARD ] 45 @args.CARD { 46 type string 47 } 48 type hooks 49 slave.pcm { 50 type hw 51 card $CARD 52 chmap [ "UNKNOWN" "RL,RR" ] 53 } 54 hooks.0 { 55 type ctl_elems 56 hook_args [ 57 { 58 interface PCM 59 name "EMU10K1 PCM Send Volume" 60 index { @func private_pcm_subdevice } 61 lock true 62 optional true 63 value [ 0 0 255 255 0 0 0 0 0 0 255 0 0 0 0 0 0 0 0 255 0 0 0 0 ] 64 } 65 ] 66 } 67} 68 69<confdir:pcm/center_lfe.conf> 70 71Audigy.pcm.center_lfe.0 { 72 @args [ CARD ] 73 @args.CARD { 74 type string 75 } 76 type hooks 77 slave.pcm { 78 type hw 79 card $CARD 80 chmap [ "UNKNOWN" "FC,LFE" ] 81 } 82 hooks.0 { 83 type ctl_elems 84 hook_args [ 85 { 86 interface PCM 87 name "EMU10K1 PCM Send Volume" 88 index { @func private_pcm_subdevice } 89 lock true 90 optional true 91 value [ 255 255 0 0 0 0 0 0 255 0 0 0 0 0 0 0 0 255 0 0 0 0 0 0 ] 92 } 93 { 94 interface PCM 95 name "EMU10K1 PCM Send Routing" 96 index { @func private_pcm_subdevice } 97 lock true 98 optional true 99 value [ 6 7 0 0 0 0 0 0 6 7 0 0 0 0 0 0 6 7 0 0 0 0 0 0 ] 100 } 101 ] 102 } 103} 104 105<confdir:pcm/surround21.conf> 106<confdir:pcm/surround40.conf> 107<confdir:pcm/surround41.conf> 108<confdir:pcm/surround50.conf> 109 110Audigy.pcm.surround40.0 { 111 @args [ CARD ] 112 @args.CARD { 113 type string 114 } 115 type multi 116 slaves [ 117 { 118 pcm { 119 @func concat 120 strings [ 121 "cards.Audigy.pcm.front.0:CARD=" $CARD 122 ] 123 } 124 channels 2 125 } 126 { 127 pcm { 128 @func concat 129 strings [ 130 "cards.Audigy.pcm.rear.0:CARD=" $CARD 131 ] 132 } 133 channels 2 134 } 135 ] 136 bindings [ 137 { slave 0 channel 0 } 138 { slave 0 channel 1 } 139 { slave 1 channel 0 } 140 { slave 1 channel 1 } 141 ] 142} 143 144<confdir:pcm/surround51.conf> 145 146Audigy.pcm.surround51.0 { 147 @args [ CARD ] 148 @args.CARD { 149 type string 150 } 151 type multi 152 slaves [ 153 { 154 pcm { 155 @func concat 156 strings [ 157 "cards.Audigy.pcm.front.0:CARD=" $CARD 158 ] 159 } 160 channels 2 161 } 162 { 163 pcm { 164 @func concat 165 strings [ 166 "cards.Audigy.pcm.rear.0:CARD=" $CARD 167 ] 168 } 169 channels 2 170 } 171 { 172 pcm { 173 @func concat 174 strings [ 175 "cards.Audigy.pcm.center_lfe.0:CARD=" $CARD 176 ] 177 } 178 channels 2 179 } 180 ] 181 bindings [ 182 { slave 0 channel 0 } 183 { slave 0 channel 1 } 184 { slave 1 channel 0 } 185 { slave 1 channel 1 } 186 { slave 2 channel 0 } 187 { slave 2 channel 1 } 188 ] 189} 190 191<confdir:pcm/iec958.conf> 192 193Audigy.pcm.iec958.0 { 194 @args [ CARD AES0 AES1 AES2 AES3 ] 195 @args.CARD { 196 type string 197 } 198 @args.AES0 { 199 type integer 200 } 201 @args.AES1 { 202 type integer 203 } 204 @args.AES2 { 205 type integer 206 } 207 @args.AES3 { 208 type integer 209 } 210 type hooks 211 slave.pcm { 212 type hw 213 card $CARD 214 } 215 216 hooks.0 { 217 type ctl_elems 218 hook_args [ 219 { 220 interface PCM 221 name "IEC958 Playback Default" 222 lock true 223 preserve true 224 optional true 225 value [ $AES0 $AES1 $AES2 $AES3 ] 226 } 227 { 228 name "IEC958 Optical Raw Playback Switch" 229 lock true 230 preserve true 231 value [ 1 1 ] 232 } 233 { 234 interface PCM 235 name "EMU10K1 PCM Send Volume" 236 index { @func private_pcm_subdevice } 237 lock true 238 optional true 239 value [ 255 255 0 0 0 0 0 0 255 0 0 0 0 0 0 0 0 255 0 0 0 0 0 0 ] 240 } 241 { 242 interface PCM 243 name "EMU10K1 PCM Send Routing" 244 index { @func private_pcm_subdevice } 245 lock true 246 optional true 247 value [ 20 21 0 0 0 0 0 0 20 21 0 0 0 0 0 0 20 21 0 0 0 0 0 0 ] 248 } 249 { 250 name "Audigy Analog/Digital Output Jack" 251 lock true 252 preserve true 253 value 1 254 } 255 ] 256 } 257} 258