[Bug 364475] Re: MPD Prevents Other Applications from Using Audio while not stopped

2009-11-17 Thread blahde
Today I could fix that one.

First I followed the instructions from this thread
http://ubuntuforums.org/archive/index.php/t-1143874.html (monsterstacks
2nd Post). Including uncommenting the user line and putting in the
name of my regular user account. But that didn't do any change except
the fact that I can now start mpd as a normal user, so I went on with
that settings.

Afer I commented all #optional lines from audio_output {} it worked. Now
when I use the gnome audio-settings to change to my 2nd external
Soundcard mpd switches to that card, even without a restart. That is
really nice.

Here is how my audio output section in the mpd.conf looks like now:

audio_output {
typealsa
nameMy ALSA Device
#device hw:0,0# optional
#format 44100:16:2# optional
#mixer_device   default   # optional
#mixer_control  PCM   # optional
#mixer_index0 # optional

}

I am not sure if the changes concerning the user that is running mpd are
necessary or if the changes in the audio_output section did it all. I am
just happy that it is workin now. I am not sure if this is a general bug
of MPD in Ubuntu, it maybe related to my System (Samsung NC10) or my
stupidity. But maybe MPD should be setup so that it is not run as root.

-- 
MPD Prevents Other Applications from Using Audio while not stopped
https://bugs.launchpad.net/bugs/364475
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

-- 
universe-bugs mailing list
universe-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/universe-bugs


[Bug 364475] Re: MPD Prevents Other Applications from Using Audio while not stopped

2009-11-10 Thread blahde
I am experincing the same Problem on karmic now.

When I am playing any sort of sound in any other application the mpd log comes 
up with the message:
output: Failed to open My ALSA Device [alsa]: Failed to open ALSA device 
hw:0,0: Device or resource busy when i am hitting the Play button in a local 
or remote Client.

Than if I exit all programs accessing ALSA, after a few seconds MPD is
willing to play music. But than (as described in the title) all the
other applications are muted.

This was not the case on jaunty. I did not use pulse on Jaunty, in order
to get my external soundcard working I had only ALSA installed and I am
pretty sure that I heard pidgin notifications while listening to music
in MPD. Now I can't test it anymore, cause i have replaced jaunty with
karmic.

The only changes i made in the mpd.conf was that I set the mixer_type to
softare, but changing it back to hardware does not solve the issue.

Any help on this would be appreciated.

-- 
MPD Prevents Other Applications from Using Audio while not stopped
https://bugs.launchpad.net/bugs/364475
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

-- 
universe-bugs mailing list
universe-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/universe-bugs