1# 2# Configuration for PC-Speaker driver 3# 4 5<confdir:pcm/front.conf> 6 7PC-Speaker.pcm.front.0 { 8 @args [ CARD ] 9 @args.CARD { 10 type string 11 } 12 type softvol 13 slave.pcm { 14 type hw 15 card $CARD 16 } 17 control { 18 name "Master Playback Volume" 19 card $CARD 20 } 21 min_dB -10.0 22 max_dB 20.0 23} 24 25# default with dmix & null 26PC-Speaker.pcm.default { 27 @args [ CARD ] 28 @args.CARD { 29 type string 30 } 31 type asym 32 playback.pcm { 33 type plug 34 slave.pcm { 35 type softvol 36 control { 37 name "Master Playback Volume" 38 card $CARD 39 } 40 min_dB -10.0 41 max_dB 20.0 42 slave.pcm { 43 @func concat 44 strings [ "dmix:" $CARD ] 45 } 46 } 47 } 48 capture.pcm { 49 type null 50 } 51} 52 53