You are not logged in.
Pages: 1
Hi everyone!
I got a problem, since i had installed gnome 3 beside my default WM.
There were no problems changing everything from alsa to pulse and i got sound to,
but it seems like, there is a pause/resume issue with MPD.
Everytime i pause a song and after a while trying to resume it there is no output.
I have to stop the song and then play it from the begining to get it startet again.
I had these problems not before as i used alsa only. It seems to be some issue
between Pulseaudio and mpd going on.
I'am using:
MPD v. 0.16.2
ncmpcpp als client.
amixer to control soundlevel
Pulseaudio.
I hope someone can tell me whats the matter because its very disturbing and i couldn't find
something simmilar in this forum.
Sorry for my poor englisch...
Offline
I don't know if I can help you but just to clarify: When you say that you have changed "everything from alsa to pulse", does that include changing MPDs output from ALSA to Pulse? The /etc/mpd.conf file contains a section named audio_output which should also be changed to Pulse settings.
Or maybe you're keeping it on ALSA so as to be able to use it from your default non-pulse supporting WM?
At any rate, if MPD outputs ALSA it will still be picked up by the ALSA plugin in Pulse, but maybe - I have no evidence for this, it's just random guessing, mind you - it might not be as perfect as native Pulse output?
EDIT: Oh and your English is fine, but try to avoid the 'c' in Englisch - it's dead German give-away
Last edited by madchine (2011-05-22 12:45:11)
Offline
This is how my mpd.conf audio_output section looks like, maybe this will help somehow
audio_output {
type "pulse"
name "MPD output"
device "hw:0,0"
mixer_control "master"
}
But it's curious because all other not MPD based players, like rhythmbox, work fine though.
My default WM is dwm, but i would prefer, to use gnome too.
Offline
Well, so much for my theory...
A few things off the top of my head:
- I think the ability to assign ALSA control over mixers is an ALSA thing seeing as the PA output will have its own volume control. And I don't think you need to name the hardware device either - that's an ALSA thing as well. Probably doesn't hurt but you might wanna try commenting them out - see if it makes any difference?
- When you say 'no output' what exactly do you mean? Just no sound or have tried looking at the 'Applications' tab in the Gnome 3 sound settings? Does the output have an entry there while playing? While pausing? After unpausing?
- As a last suggestion, you might want to try adding an additional output section to mpd.conf (as the comments state, you can have as many as you like), namely a classic ALSA output. As I noted in the last post, it should get picked up by PA. It's not much of an idea but it might give some information about the problem. You might want to comment out the PA output while testing. Standard example:
audio_output {
type "alsa"
name "My ALSA Device"
device "hw:0,0" # optional
format "44100:16:2" # optional
}
Offline
Hmmm sounds pretty similar, neh?
Offline
I am having pretty much the same problem on this machine. If I pause, then try to resume a playing track, most of the time it won't continue; sometimes it will. If I keep trying to pause and resume, MPD eventually completely locks up.
Last edited by Wintervenom (2011-06-02 03:26:27)
Offline
Same problem here, my mpd.conf audio_output settings are:
audio_output {
type "pulse"
name "My Pulse Output"
}
running Gnome 3 without gnome-shell (xmonad as window manager).
mpd is run as current user.
Anyone found a solution?
Offline
I had the same problem.
A solution I found is to have pulseaudio-alsa installed, and configure mpd output for alsa:
audio_output {
type "alsa"
name "mpd output"
}
Offline
Thx, this works ... pity, that pulse audio can not be used directly.
Offline
Darn... Same problem here... Is there an existing bug report to tackle this?
Be formless, shapeless... like water. Now you put water into a cup, it becomes the cup; you put water into a bottle it becomes the bottle; if you put it in a teapot it becomes the teapot... Now water can flow, or it can crash... Be water my friend
Offline
tar xvf pulseaudio-alsa-1-2-any.pkg.tar.xz
.PKGINFO
etc/
etc/asound.conf
pavilion ~/Downloads:
cat etc/asound.conf
# Use PulseAudio by default
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
# Explicit PulseAudio device
pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
Dependencies: pulseaudio and alsa-plugins
Setting Up a Scripting Environment | Proud donor to wikipedia - link
Offline
Pages: 1