I use only one active output at a time, this can be set with Minion instead of going into the script.
as seen below auto_resample is set to no so alsa will not automatically resample. Then further down if you uncomment out the last line for mixer type MPD will not touch any type of mixing.
to see what you are outputting use this as see in the mpd wiki under tuning, if you have more than one card you will have to change pcm0p to 1p.
cat /proc/asound/card0/pcm0p/sub0/hw_params
audio_output {
type "alsa"
name "my ALSA device"
device "hw:1,0" <
For SPDIF replace "hw:1,0" with "cards.pcm.iec958"
auto_resample "no"
use_mmap "yes"
period_time 0
buffer_size 4
period_size 2
}
# Volume control mixer ########################################################
#
# These are the global volume control settings. By default, this setting will
# be detected to the available audio output device, with preference going to
# hardware mixing. Hardware and software mixers for individual audio_output
# sections cannot yet be mixed.
#
# An example for controlling an ALSA, OSS or Pulseaudio mixer; If this
# setting is used other sound applications will be affected by the volume
# being controlled by MPD.
#
#mixer_type "hardware"
#
# An example for controlling all mixers through software. This will control
# all controls, even if the mixer is not supported by the device and will not
# affect any other sound producing applications.
#
#mixer_type "software"
#
# This example will not allow MPD to touch the mixer at all and will disable
# all volume controls.
#
#mixer_type "disabled"
#
###############################################################################