How to fix the MPD and FLASH conflict with ALSA

Write tutorials and howtos in here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

How to fix the MPD and FLASH conflict with ALSA

Postby Zyxon on Tue Aug 17, 2010 8:54 am

There is a widely known issue which is that MPD (Music player Daemon) and flash are conflicting which ends up that one of them won't have sound (the one which was started earlier). So if you want to run MPD and flash at the same time this Howto is just for you. =)

First, open up a terminal, type alsamixer and make sure, that nothing is muted (MM)
Second, go to /etc/mpd, and open up mpd.conf with your favorite text editor. Press Ctrl+F, and look for the line audio_output. Edit the block to look something like this:
Code: Select all
audio_output {
        type                    "alsa"
        name                    "Sound Card"
        options                 "dev=dmixer"
        device                  "plug:dmix"
}


When you are finished with the editing save the changes, and exit the editor.
The last thing you will have to do is restarting mpd. In a terminal type: /etc/rc.d/mpd restart. Don't forget to restart firefox too, just in case. ;)

This is why this occurs:

* The sound card does not support hardware mixing (uses dmix plugin)
* An application does not work with ALSA with it's default settings

Detailed description can be found here.

This tutorial was taken from the official Arch Linux wiki.
Zyxon
Level 1
Level 1
 
Posts: 5
Joined: Tue Aug 17, 2010 2:48 am

Linux Mint is funded by ads and donations.
 

Re: How to fix the MPD and FLASH conflict with ALSA

Postby yonatan on Tue Jan 04, 2011 11:33 pm

Thanks!

I was searching for this for a long time!
yonatan
Level 1
Level 1
 
Posts: 10
Joined: Mon May 31, 2010 7:24 am


Return to Tutorials / Howtos

Who is online

Users browsing this forum: No registered users and 9 guests