Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I run mpd on a system with a built in sound card and a second card that I plugged in via USB.

Adressing the second sound card in the mpd.conf was easy:

change: device "hw:0:0" to device "hw:1"

This works fine so far, what's missing though is the volume control. How do I adress the mixer device of the USB card in the mpd config?

share|improve this question
up vote 2 down vote accepted

mpdconf.example says:

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

So you'd need mixer_device "hw:1", and maybe a different mixer_control if you device's control has another name.

share|improve this answer
    
Way too easy ;) I have set hw:1 for "device" and "mixer_device" now which works fine. – hennr Dec 2 '12 at 14:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .