Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go

Duplex Mixing


Duplex mixing will allow multiple sounds to be sent to the audio card at a time. Copy /usr/share/doc/libasound2/examples/asound.conf_dmix to /etc/asound and restart alsa:

  $ wajig restart alsa

Then multiple command line mplayers can all play at the same time. Be sure to configure xmms and beep-media-player to use the ALSA output device.

When running quodlibet there is crackling in the audio, which is not there when the dmix is removed! Running mplayer and beep-media-player are just fine.

Further details on setting up dmix is available from http://alsa.opensrc.org/index.php?page=DmixPlugin.


Copyright © 1995-2018 Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
Brought to you by Togaware and the author of the open source software Rattle and wajig.
Also the author of Data Mining with Rattle and Essentials of Data Science.