1# 2# Configuration for the Aureon71 (Envy24HT) chip 3# 4 5# default with dmix & dsnoop 6Aureon71.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 30Aureon71.pcm.front.0 { 31 @args [ CARD ] 32 @args.CARD { 33 type string 34 } 35 type hw 36 card $CARD 37} 38 39<confdir:pcm/rear.conf> 40 41Aureon71.pcm.rear.0 { 42 @args [ CARD ] 43 @args.CARD { 44 type string 45 } 46 type hw 47 card $CARD 48 device 2 49} 50 51<confdir:pcm/center_lfe.conf> 52 53Aureon71.pcm.center_lfe.0 { 54 @args [ CARD ] 55 @args.CARD { 56 type string 57 } 58 type hw 59 card $CARD 60 device 2 61 subdevice 1 62} 63 64<confdir:pcm/side.conf> 65 66Aureon71.pcm.side.0 { 67 @args [ CARD ] 68 @args.CARD { 69 type string 70 } 71 type hw 72 card $CARD 73 device 2 74 subdevice 2 75} 76 77<confdir:pcm/surround40.conf> 78 79Aureon71.pcm.surround40.0 { 80 @args [ CARD ] 81 @args.CARD { 82 type string 83 } 84 type hw 85 card $CARD 86 channels 4 87} 88 89<confdir:pcm/surround21.conf> 90<confdir:pcm/surround41.conf> 91<confdir:pcm/surround50.conf> 92<confdir:pcm/surround51.conf> 93 94Aureon71.pcm.surround51.0 { 95 @args [ CARD ] 96 @args.CARD { 97 type string 98 } 99 type hw 100 card $CARD 101 channels 6 102} 103 104<confdir:pcm/surround71.conf> 105 106Aureon71.pcm.surround71.0 { 107 @args [ CARD ] 108 @args.CARD { 109 type string 110 } 111 type hw 112 card $CARD 113} 114 115<confdir:pcm/iec958.conf> 116 117Aureon71.pcm.iec958.0 { 118 @args [ CARD AES0 AES1 AES2 AES3 ] 119 @args.CARD { 120 type string 121 } 122 @args.AES0 { 123 type integer 124 } 125 @args.AES1 { 126 type integer 127 } 128 @args.AES2 { 129 type integer 130 } 131 @args.AES3 { 132 type integer 133 } 134 type asym 135 playback.pcm { 136 type linear 137 slave.pcm { 138 type hooks 139 slave.pcm { 140 type hw 141 card $CARD 142 device 1 143 } 144 hooks.0 { 145 type ctl_elems 146 hook_args [ 147 { 148 interface MIXER 149 name "IEC958 Output Switch" 150 lock true 151 preserve true 152 value true 153 } 154 { 155 interface PCM 156 name "IEC958 Playback Default" 157 device 1 158 lock true 159 preserve true 160 value [ $AES0 $AES1 $AES2 $AES3 ] 161 } 162 ] 163 } 164 } 165 slave.format S32_LE 166 } 167 capture.pcm { 168 type linear 169 slave.pcm { 170 type hooks 171 slave.pcm { 172 type hw 173 card $CARD 174 device 1 175 } 176 hooks.0 { 177 type ctl_elems 178 hook_args [ 179 { 180 interface MIXER 181 name "IEC958 Capture Switch" 182 lock true 183 preserve true 184 value true 185 } 186 ] 187 } 188 } 189 slave.format S32_LE 190 } 191} 192