1# 2# Configuration for the ATI IXP 150/200/250 chips 3# 4 5<confdir:pcm/front.conf> 6 7ATIIXP-SPDMA.pcm.front.0 { 8 @args [ CARD ] 9 @args.CARD { 10 type string 11 } 12 type hw 13 card $CARD 14} 15 16# default with dmix/dsnoop 17ATIIXP.pcm.default { 18 @args [ CARD ] 19 @args.CARD { 20 type string 21 } 22 type asym 23 playback.pcm { 24 type plug 25 slave.pcm { 26 @func concat 27 strings [ "dmix:" $CARD ] 28 } 29 } 30 capture.pcm { 31 type plug 32 slave.pcm { 33 @func concat 34 strings [ "dsnoop:" $CARD ] 35 } 36 } 37} 38 39<confdir:pcm/surround40.conf> 40 41ATIIXP-SPDMA.pcm.surround40.0 { 42 @args [ CARD ] 43 @args.CARD { 44 type string 45 } 46 type hooks 47 slave.pcm { 48 type hw 49 card $CARD 50 channels 4 51 } 52 hooks.0 { 53 type ctl_elems 54 hook_args [ 55 { 56 name "Channel Mode" 57 preserve true 58 value "4ch" 59 lock true 60 optional true 61 } 62 # for old drivers 63 { 64 name "Line-In As Surround" 65 preserve true 66 value true 67 optional true 68 } 69 { 70 name "Surround Down Mix" 71 preserve true 72 value off 73 lock true 74 optional true 75 } 76 ] 77 } 78} 79 80<confdir:pcm/surround41.conf> 81<confdir:pcm/surround50.conf> 82<confdir:pcm/surround51.conf> 83 84ATIIXP-SPDMA.pcm.surround51.0 { 85 @args [ CARD ] 86 @args.CARD { 87 type string 88 } 89 type hooks 90 slave.pcm { 91 type hw 92 card $CARD 93 channels 6 94 } 95 hooks.0 { 96 type ctl_elems 97 hook_args [ 98 { 99 name "Channel Mode" 100 preserve true 101 value "6ch" 102 lock true 103 optional true 104 } 105 # for old drivers 106 { 107 name "Line-In As Surround" 108 preserve true 109 value true 110 optional true 111 } 112 { 113 name "Mic As Center/LFE" 114 preserve true 115 value true 116 optional true 117 } 118 { 119 name "Surround Down Mix" 120 preserve true 121 value off 122 lock true 123 optional true 124 } 125 { 126 name "Center/LFE Down Mix" 127 preserve true 128 value off 129 lock true 130 optional true 131 } 132 ] 133 } 134} 135 136<confdir:pcm/iec958.conf> 137 138ATIIXP-SPDMA.pcm.iec958.0 { 139 @args [ CARD AES0 AES1 AES2 AES3 ] 140 @args.CARD { 141 type string 142 } 143 @args.AES0 { 144 type integer 145 } 146 @args.AES1 { 147 type integer 148 } 149 @args.AES2 { 150 type integer 151 } 152 @args.AES3 { 153 type integer 154 } 155 type iec958 156 slave { 157 pcm { 158 type hw 159 card $CARD 160 device 1 161 } 162 format IEC958_SUBFRAME_LE 163 } 164 status [ $AES0 $AES1 $AES2 $AES3 ] 165} 166