I have the following mpd.conf alsa outputs configured:
Code: Select all
audio_output {
enabled "yes"
type "alsa"
name "Direct"
device "hw:0,0"
dop "no"
auto_resample "no"
auto_channels "no"
auto_format "no"
}
audio_output {
enabled "yes"
type "httpd"
name "HttpStream"
#encoder "vorbis" # optional
encoder "lame" # optional
port "8090"
#quality "4" # do not define if bitrate is defined
bitrate "256" # do not define if quality is defined
format "44100:16:1"
always_on "yes" # prevent MPD from disconnecting all listeners when playback is stopp
ed.
tags "yes" # httpd supports sending tags to listening streams.
}
Basically - within 1 - 3 seconds of playing via the "Direct" device above - there is a small gap / stutter in the output. Only at the beginning of the track. I don't believe the stutter occurs on a pause -> play situation.
When I disable the HttpStream device - (e.g. via mpc disable HttpStream) the stutter disappears and everything is smooth.
Does anyone have any ideas? There is nothing in mpd.log to indicate a buffer underrun or problem. I will try starting in verbose mode and double check.