very slow mpd

Discussion about my Wifi Radio project at http://mightyohm.com/wifiradio/ or my WL-520gU talk at NOTACON.
Post Reply
bola
Posts: 5
Joined: Fri Sep 04, 2009 4:01 am

very slow mpd

Post by bola »

Hi.
Is there any solution to fix the speed problem with mpd?
if i send the volume command it takes about 5s until mpd will set it up.
thats very annoying while using it as a webradio.
User avatar
mightyohm
Site Admin
Posts: 1064
Joined: Fri Apr 03, 2009 10:29 pm
Location: Seattle, WA
Contact:

Re: very slow mpd

Post by mightyohm »

I think I've seen this too. You could try reducing the audio buffer size in /etc/mpd.conf, but you may experience skips in playback as a result.

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%"
#
################################################################
bola
Posts: 5
Joined: Fri Sep 04, 2009 4:01 am

Re: very slow mpd

Post by bola »

hm no change. it still takes a lot of time until mpd will set the volume. other actions like play, stop are much faster.
is there no other way to set the volume of oss ? maybe /dev/sound/mixer but i cant find a way to communicate
Post Reply