pcm.dmixed { type dmix ipc_key 1027 # ipc_key_add_uid 0 ipc_perm 0660 slave { pcm "hw:1,0" period_time 0 period_size 2048 buffer_size 16384 # buffer size < 6653, but pow(x, 2) rate 48000 # 192000 / 4 } bindings { 0 0 1 1 } } #pcm.dmixed2 { # type dmix # ipc_key 1028 ## ipc_key_add_uid 0 # ipc_perm 0660 # slave { # pcm "hw:0,0" # period_time 0 # period_size 2048 # buffer_size 16384 # buffer size < 6653, but pow(x, 2) # rate 48000 # 192000 / 4 # } # bindings { # 0 0 # 1 1 # } #} # #pcm.both { # type route # slave.pcm { # type multi # slaves.a.pcm "dmixed" # slaves.b.pcm "dmixed2" # slaves.a.channels 2; # slaves.b.channels 2; # bindings.0.slave a # bindings.0.channel 0 # bindings.1.slave a # bindings.1.channel 1 # bindings.2.slave b # bindings.2.channel 0 # bindings.3.slave b # bindings.3.channel 1 # } # ttable.0.0 1 # ttable.1.1 1 # ttable.0.2 1 # ttable.1.3 1 #} pcm.volume { type softvol slave.pcm "dmixed" control { name "Master" card 0 } } # Everything shall be dmixed, so redefine "default": pcm.!default { type plug slave.pcm "volume" hint { show on description "ALSA Default card with mixer" } } pcm.!front { type plug slave.pcm "volume" } # OSS via aoss should d(mix)stroyed: pcm.dsp0 { type plug slave.pcm "volume" } #hw:CARD=I2S,DEV=0 #pcm.asymed { # type asym # playback.pcm "dmixed" # capture.pcm "hw:1,0" # ?? #capture.pcm "dsnooped" #} #ctl.!default { # type hw # card 0 #} #ctl.mixer0 { # type hw # card 0 #}