1# 2# Configuration for Digigram VXpocket440 3# 4 5<confdir:pcm/front.conf> 6 7VXPocket440.pcm.front.0 { 8 @args [ CARD ] 9 @args.CARD { 10 type string 11 } 12 type hw 13 card $CARD 14} 15 16<confdir:pcm/rear.conf> 17 18VXPocket440.pcm.rear.0 { 19 @args [ CARD ] 20 @args.CARD { 21 type string 22 } 23 type hw 24 card $CARD 25 device 1 26} 27 28<confdir:pcm/surround40.conf> 29 30VXPocket440.pcm.surround40.0 { 31 @args [ CARD ] 32 @args.CARD { 33 type string 34 } 35 type multi 36 master 1 37 slaves [ 38 { 39 pcm { 40 @func concat 41 strings [ 42 "cards.VXPocket440.pcm.front.0:CARD=" $CARD 43 ] 44 } 45 channels 2 46 } 47 { 48 pcm { 49 @func concat 50 strings [ 51 "cards.VXPocket440.pcm.rear.0:CARD=" $CARD 52 ] 53 } 54 channels 2 55 } 56 ] 57 bindings [ 58 { slave 0 channel 0 } 59 { slave 0 channel 1 } 60 { slave 1 channel 0 } 61 { slave 1 channel 1 } 62 ] 63} 64 65<confdir:pcm/iec958.conf> 66 67VXPocket440.pcm.iec958.0 { 68 @args [ CARD AES0 AES1 AES2 AES3 ] 69 @args.CARD { 70 type string 71 } 72 @args.AES0 { 73 type integer 74 } 75 @args.AES1 { 76 type integer 77 } 78 @args.AES2 { 79 type integer 80 } 81 @args.AES3 { 82 type integer 83 } 84 type hooks 85 slave.pcm { 86 type hw 87 card $CARD 88 } 89 hooks.0 { 90 type ctl_elems 91 hook_args [ 92 { 93 interface PCM 94 name "IEC958 Playback Default" 95 lock true 96 preserve true 97 optional true 98 value [ $AES0 $AES1 $AES2 $AES3 ] 99 } 100 { 101 # for compatibility with older drivers 102 name "IEC958 Playback Default" 103 lock true 104 preserve true 105 optional true 106 value [ $AES0 $AES1 $AES2 $AES3 ] 107 } 108 ] 109 } 110} 111