1# 2# Configuration for the Aureon51 (Envy24HT) chip 3# 4 5# default with dmix & dsnoop 6Aureon51.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 30Aureon51.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 41Aureon51.pcm.rear.0 { 42 @args [ CARD ] 43 @args.CARD { 44 type string 45 } 46 type hw 47 card $CARD 48 device 2 49 subdevice 1 50} 51 52<confdir:pcm/center_lfe.conf> 53 54Aureon51.pcm.center_lfe.0 { 55 @args [ CARD ] 56 @args.CARD { 57 type string 58 } 59 type hw 60 card $CARD 61 device 2 62} 63 64<confdir:pcm/side.conf> 65 66Aureon51.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 79Aureon51.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 94Aureon51.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/iec958.conf> 105 106Aureon51.pcm.iec958.0 { 107 @args [ CARD AES0 AES1 AES2 AES3 ] 108 @args.CARD { 109 type string 110 } 111 @args.AES0 { 112 type integer 113 } 114 @args.AES1 { 115 type integer 116 } 117 @args.AES2 { 118 type integer 119 } 120 @args.AES3 { 121 type integer 122 } 123 type asym 124 playback.pcm { 125 type linear 126 slave.pcm { 127 type hooks 128 slave.pcm { 129 type hw 130 card $CARD 131 device 1 132 } 133 hooks.0 { 134 type ctl_elems 135 hook_args [ 136 { 137 interface MIXER 138 name "IEC958 Output Switch" 139 lock true 140 preserve true 141 value true 142 } 143 { 144 interface PCM 145 name "IEC958 Playback Default" 146 device 1 147 lock true 148 preserve true 149 value [ $AES0 $AES1 $AES2 $AES3 ] 150 } 151 ] 152 } 153 } 154 slave.format S32_LE 155 } 156 capture.pcm { 157 type linear 158 slave.pcm { 159 type hooks 160 slave.pcm { 161 type hw 162 card $CARD 163 device 1 164 } 165 hooks.0 { 166 type ctl_elems 167 hook_args [ 168 { 169 interface MIXER 170 name "IEC958 Capture Switch" 171 lock true 172 preserve true 173 value true 174 } 175 ] 176 } 177 } 178 slave.format S32_LE 179 } 180} 181