Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.