# Define our own pcm.dmixer because "pcm.dmix" is already taken by # /usr/share/alsa/alsa.conf and doesn't allow sharing between # users/groups # pcm.dmixer { type dmix # plugin type ipc_key 5678293 # unique ipc id ipc_perm 0666 # would like to use icp_group instead ipc_key_add_uid no # share the same mixer with all users slave { pcm "hw:0,0" period_time 0 # needed by oss (= 0) period_size 1024 # needed by oss (= 2^n) period_size 8192 # needed by oss (= 2^n) format S16_LE rate 48000 } } # Make ALSA apps default to using dmix plugin instead of hw plugin # (Exclamation point is needed in order to override the assignment to # pcm.default in /usr/share/alsa/alsa.conf.) # pcm.!default { type plug slave.pcm "dmixer" } # Make OSS apps default to using dmix plugin too # pcm.dsp0 { type plug slave.pcm "dmixer" } ctl.mixer0 { type hw card 0 }