pcm.noise_gate { type plug slave.pcm "ladspa_noise_gate"; } pcm.ladspa_noise_gate { type ladspa slave.pcm "duplex" path "/usr/lib/ladspa"; plugins [{ label hard_gate input { controls [ 0.1 ] } }] } pcm.dsnooper { type dsnoop ipc_key 234886 ipc_perm 0660 slave.pcm "hw:0,0" } pcm.dmixer { type dmix ipc_key 234885 slave { pcm "hw:0,0" period_time 0 buffer_time 0 period_size 1024 buffer_size 8192 # rate 44100 } # bindings { # 0 0 # 1 1 # } } pcm.duplexasym { type asym playback.pcm "dmixer" # playback on all speakers capture.pcm "dsnooper" # recording } pcm.duplex { # plug and play on all speakers type plug slave.pcm "duplexasym" } pcm.!default { type plug slave.pcm "duplexasym" }