#$Id$ #not needed for alsa 1.10 and later. # {{{default: front pcm.!default { type plug slave.pcm "front_dmixer" } #also call it front for symmettry pcm.!front { type plug slave.pcm "front_dmixer" } pcm.front_dmixer { type dmix ipc_key 1024 slave { pcm "hw:0,0" format s16_LE period_time 0 period_size 1024 buffer_size 4096 rate 44100 } bindings { 0 0 1 1 } } # }}} # {{{Rear: pcm.!rear { type plug slave.pcm "rear_dmixer" } pcm.rear_dmixer { type dmix ipc_key 1024 slave { pcm "hw:0,1" format s16_LE period_time 0 period_size 1024 buffer_size 4096 rate 44100 } bindings { 0 0 1 1 } } # }}} # {{{center: pcm.!center { type plug slave.pcm "center_dmixer" } pcm.center_dmixer { type dmix ipc_key 1024 slave { pcm "hw:0,2" format s16_LE period_time 0 period_size 1024 buffer_size 4096 rate 44100 } bindings { 0 0 1 1 } } # }}} # {{{control and snoop ctl.!default { type hw card 0 } pcm.mixin { type dsnoop ipc_key 2048 # must be unique for all dmix plugins!!!! ipc_key_add_uid yes slave { pcm "hw:0,1" period_size 1024 buffer_size 4096 periods 0 period_time 0 } bindings { 0 0 0 1 } } # }}} # {{{sub device example pcm.sub1 { type hw card 0 device 0 subdevice -1 } # }}} # {{{end of file # local variables: # mode: sh # folded-file: t # end: # }}}