Cool stuff you can do with MPD. A place for you to put your hacks and patches, or be inspired by others'.
3 posts • Page 1 of 1
The default values for audio_buffer_size and buffer_before_play are 4096 and 10%. Is it possible to set MPD to replay from memory by increasing the buffer size to, say 1GB and the value of buffer_before_play to 100%? Is this meaningful on a dedicated music server? How do optimal values of audio_buffer_size and buffer_before_play relate to RAM size or other relevant hardware parameters? Thanks, nbpf
I do not mind waiting but the upper limit for audio_buffer_size seems to be 65536. With higher values MPD fails to start but no errors are logged in /var/log/mpd/mpd.log. With audio_buffer_size set to 65536 and with buffer_before_play set at 100% there is no perceivable delay with respect to the default values. Why isn't it possible to set audio_buffer_size to values higher than 65536?max wrote:That may work, but it means that MPD will not start playback until it has read & decoded everything. Which may take longer that you're willing to wait when you press "play".