You are not logged in.

#1 2011-11-18 22:03:42

shadyabhi
Member
From: Bangalore
Registered: 2010-05-23
Posts: 262
Website

[SOLVED] Unable to change Volume in mpd using mpd clients

shadyabhi@archlinux ~ $ cat .asoundrc
ctl.equal {
        type equal;
}

pcm.plugequal {
        type equal;
# Modify the line below if you don't
# want to use sound card 0.
#slave.pcm "plughw:0,0";
#by default we want to play from more sources at time:
        slave.pcm "plug:dmix";
}
#pcm.equal {
# Or if you want the equalizer to be your
# default soundcard uncomment the following
# line and comment the above line.
        pcm.!default {
                type plug;
                slave.pcm plugequal;
        }
shadyabhi@archlinux ~ $ 

My mpd.conf: http://sprunge.us/UDPS (Basically, it uses the default of the system).

I have configured my asoundrc to enable dmix so that more than one application can use sound card.

Last edited by shadyabhi (2011-11-19 21:49:15)

Offline

#2 2011-11-19 16:03:04

schalox
Member
From: Finland
Registered: 2011-05-10
Posts: 21

Re: [SOLVED] Unable to change Volume in mpd using mpd clients

Here's the audio_output part of my mpd.conf:

audio_output {
	type		"alsa"
	name		"My ALSA Device"
#	device		"hw:0,1"	# optional
#	format		"44100:16:2"	# optional
	mixer_type      "software"	# optional
#	mixer_device	"default"	# optional
#	mixer_control	"PCM"		# optional
#	mixer_index	"0"		# optional
}

mixer_type is the important thing, I think it's set to hardware by default. If I remember correctly, setting it to software should fix your problem.

Last edited by schalox (2011-11-19 18:15:45)

Offline

#3 2011-11-19 21:49:00

shadyabhi
Member
From: Bangalore
Registered: 2010-05-23
Posts: 262
Website

Re: [SOLVED] Unable to change Volume in mpd using mpd clients

Solved. Thanks.

Offline

Board footer

Powered by FluxBB