You are not logged in.

#1 2008-04-19 20:22:42

HyperBaton
Member
From: Belgium
Registered: 2008-01-18
Posts: 207

MPD Volume control with PulseAudio

I'm using PulseAudio as sound server now and compiled MPD with pulse output support. Sound output works perfectly, but the MPD volume control does not work (changing the volume with the slider in Sonata or GMPC does not do anything).

Is there anyone that has an idea on how to go about making this work?

Offline

#2 2008-04-19 20:31:16

venox
Member
From: Curitiba, Brazil
Registered: 2003-08-23
Posts: 137
Website

Re: MPD Volume control with PulseAudio

You can use a software mixer in mpd. Append this to your mpd.conf:

mixer_type          "software"

Offline

#3 2008-04-19 20:41:20

HyperBaton
Member
From: Belgium
Registered: 2008-01-18
Posts: 207

Re: MPD Volume control with PulseAudio

Awesome, that did it, thank you very much. I remember having to do complicated things for an ALSA softvol control, did not think it would be that simple.

Last edited by HyperBaton (2008-04-19 20:41:50)

Offline

#4 2008-04-19 20:54:03

venox
Member
From: Curitiba, Brazil
Registered: 2003-08-23
Posts: 137
Website

Re: MPD Volume control with PulseAudio

You can use just the same trick for alsa. smile

Offline

#5 2008-04-19 21:18:00

HyperBaton
Member
From: Belgium
Registered: 2008-01-18
Posts: 207

Re: MPD Volume control with PulseAudio

If only I knew before smile

Offline

#6 2008-04-22 17:04:31

WiLLiE
Member
From: Sweden
Registered: 2005-02-27
Posts: 135

Re: MPD Volume control with PulseAudio

How did you configure PA in mpd.conf?
My Mpd compiled with PA support from svn just freezes here with 100% CPU when I try to play something.

Offline

#7 2008-04-22 18:17:58

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: MPD Volume control with PulseAudio

You might want to test the last released version of mpd since svn has had a huge number of changes to it. If nothing else, it will illustrate whether the issue is pebcak or with mpd.


I am a gated community.

Offline

#8 2008-04-22 18:40:00

WiLLiE
Member
From: Sweden
Registered: 2005-02-27
Posts: 135

Re: MPD Volume control with PulseAudio

Oh. Yeah, that worked. Thanks.

Offline

#9 2008-04-22 20:31:35

HyperBaton
Member
From: Belgium
Registered: 2008-01-18
Posts: 207

Re: MPD Volume control with PulseAudio

I downloaded the source package, compiled the mpd executable and just replaced the original mpd executable in /usr/bin/mpd. That worked as well. Not the cleanest way though I suppose.

Offline

#10 2008-04-22 22:34:03

WiLLiE
Member
From: Sweden
Registered: 2005-02-27
Posts: 135

Re: MPD Volume control with PulseAudio

The "cleaner way": install abs, copy the directory /var/abs/extra/mpd to ~/builds/, cd ~/builds/mpd, make the package (makepkg), remove the old one (sudo pacman -Rd mpd), and then install the newly created package.

Offline

#11 2008-04-23 01:21:20

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: MPD Volume control with PulseAudio

If that worked, you should really contact the mpd devs to let them know about this, otherwise it'll end up in the next release.


I am a gated community.

Offline

Board footer

Powered by FluxBB