1# 2# Configuration for the VC4-HDMI sound card using software IEC958 3# subframe conversion 4# 5 6<confdir:pcm/front.conf> 7 8vc4-hdmi.pcm.front.0 { 9 @args [ CARD ] 10 @args.CARD { 11 type string 12 } 13 type hw 14 card $CARD 15} 16 17# default with dmix 18vc4-hdmi.pcm.default { 19 @args [ CARD ] 20 @args.CARD { 21 type string 22 } 23 type asym 24 playback.pcm { 25 type plug 26 slave.pcm { 27 @func concat 28 strings [ "dmix:" $CARD ] 29 } 30 } 31} 32 33<confdir:pcm/iec958.conf> 34 35vc4-hdmi.pcm.iec958.0 { 36 @args [ CARD AES0 AES1 AES2 AES3 ] 37 @args.CARD { 38 type string 39 } 40 @args.AES0 { 41 type integer 42 } 43 @args.AES1 { 44 type integer 45 } 46 @args.AES2 { 47 type integer 48 } 49 @args.AES3 { 50 type integer 51 } 52 type iec958 53 slave { 54 format IEC958_SUBFRAME_LE 55 pcm { 56 type plug 57 slave.pcm { 58 type hw 59 card $CARD 60 } 61 } 62 } 63 status [ $AES0 $AES1 $AES2 $AES3 ] 64} 65