Page 1 of 1

Audio Skips

Posted: Wed Oct 27, 2010 9:03 pm
by Tiger
I have a problem where if I'm on a streaming radio Channel for a few minutes, the audio starts to skip ever few seconds and doesn't stop. If i switch to a different station it will play fine for a few minutes and then start all over again. All these streams are Shoutcast streams. Does anybody know what's going on?

Re: Audio Skips

Posted: Thu Oct 28, 2010 8:26 am
by mightyohm
The router might not have enough internet bandwidth to keep the stream playing continuously, or there could be something more subtle going on.

You could try adjusting the mpd buffering settings to see if you can improve things. Look in /etc/mpd.conf. I would play with http_buffer_size and http_prebuffer_size (you'll have to uncomment those lines to activate the settings).

#

Code: Select all

########################## BUFFERING ##########################
#
# The size of the buffer containing decoded audio.  You probably
# shouldn't change this.
#
#audio_buffer_size               "2048"
#
# How much of the buffer to fill before beginning to play.
# Increase this if you hear skipping when changing songs.
#
#buffer_before_play              "10%"
#
# Similar options for the HTTP stream buffer.  If you hear
# skipping while playing HTTP streams, you may wish to increase
# these.
#
#http_buffer_size                "128"
#http_prebuffer_size             "25%"
#
################################################################

Re: Audio Skips

Posted: Thu Oct 28, 2010 12:16 pm
by mtennant
If I play one station (WRNN Talk Radio, Socastee SC, USA) and then switch to another station, that station will start skipping.

If I stop and start the skipping station again, it will play normally.

The first station (WRNN) plays at a strange sampling/bit rate and seems to screw things up for other stations, unless you stop and start again.

See if your stations act the same way.

Re: Audio Skips

Posted: Thu Oct 28, 2010 4:13 pm
by Tiger
Your right if I hit stop and then play the next station there is no skipping. Thanks

Re: Audio Skips

Posted: Fri Oct 29, 2010 4:07 am
by mtennant
You're welcome. Now, the real question to the gurus is, why does it do this?

Is this a bug that is fixed in later versions of MPD?