On 04/17/2007 06:24 PM, Ralph Katz wrote: > How can I make alsa dmix default for all sound? > > On sarge, esound provided sound mixing for this box. Upgrading to etch, > I changed to alsa and think dmix can provide a better solution. I found > good help at http://alsa.opensrc.org and currently have dmix working > nicely for gaim, mplayer, and gkrellm by configuring each one with a > simple command line or option change. > > Could asoundconf help set a default for dmix? I can't understand its > man page. There are no current dotfiles for alsa/asound. > > If each app must be configure for dmix individually, how can these apps > be set for dmix: flash plugin, xmms, totem? The syntax that worked for > the apps already configured doesn't seem to fit here. > > Pointers and suggestions appreciated. > > Thanks, > Ralph
Too many hours of searching led me to this drop-in solution: Create /etc/asound.conf containing: # /etc/asound.conf - this lets multiple ALSA clients use the audio device at once # Example /etc/asound.conf or ~/.asoundrc file showing how # to configure ALSA so that a dmix plugin is used by default # # The writing of alsa-lib configuration files is explained in # /usr/share/doc/libasound2-doc/html/index.html, provided by the # libasound2-doc package. # # 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 "dmix" } # # Make OSS apps default to using dmix plugin too pcm.dsp0 { type plug slave.pcm "dmix" } # ctl.mixer0 { type hw card 0 } Pasted verbatim from http://www.liddicott.com/~sam/?p=14 . Perhaps this may be helpful to others as well. Regards, Ralph Katz -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]