ALSA’s Dmix for concurrent audio

Hi, I’ve just discovered Dmix, a plugin supplied with ALSA which allows for direct mixing of multiple streams of audio (for example, you can have amaroK playing your favourite MP3 and still hear KDE notifications when new friends join in IM)

As from alsa-lib 1.0.9, Dmix is activated by default so absolutely no (manual) configuration required. I can confirm that Dmix is working out of the box for me with my somewhat high-end Terratec DMX 6fire 24/96 sound card (ICE1712 ALSA driver).

amaroK supports ALSA natively and getting it to use the Dmix plugin is simple:

As soon as plug:dmix is specified as the device to use, amaroK stops monopolising the sound card and other audio applications (if they support ALSA) can be used at the same time.

To be continued…

  • Share/Bookmark

About avinash

I am the Managing-Director of Knowledge Seven Ltd, provider of quality consultancy, support and training for open source software. I am also an amateur photographer and musician. I use a Google Nexus One Android smartphone, an Apple MacBook, Mac OS X, Linux and a lot of open source software. I am married to Christina and we have two wonderful kids, Kyan & Anya. In case you are wondering, Noulakaz means "our home" in my native language, créole.
This entry was posted in Linux. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

CommentLuv Enabled