music player daemon (fork)
Go to file
Max Kellermann 5b2374b949 player/Thread: calculate buffered_before_play based on a fixed duration
Previously, there was the setting `buffered_before_play` which
specified a percentage of the audio buffer, defaulting to `10%`.  That
was working well enough for quite some time, until high-quality audio
formats became common.

At 44.1 kHz, 16 bit stereo, MPD collected 2.3 seconds worth of data in
the buffer before starting playback.  With the same default settings
and 192 kHz, 24 bit stereo, that was only 0.27 seconds.

Making this depend on the byte size only leads to high latency at low
quality, and too little data at high quality.  The natural choice
would be to use a duration instead of a byte size, which should give
the same good experience with all audio formats.

Since the `buffered_before_play` configuration setting was not
understood well by users and caused more harm than good, this commit
deprecates it.  It has now no effect.
2018-09-23 15:46:29 +02:00
android android/Main: remove SDK_INT diversion 2018-08-20 11:25:47 +02:00
doc doc/user.rst: document the sles output plugin 2018-09-11 20:44:54 +02:00
m4 m4: update various libraries from autoconf-archive 20170928 2018-07-16 11:03:58 +02:00
python/build android/build.py: add aarch64 support 2018-08-17 19:20:25 +02:00
scripts scripts: delete obsolete scripts 2013-04-17 00:37:30 +02:00
src player/Thread: calculate buffered_before_play based on a fixed duration 2018-09-23 15:46:29 +02:00
systemd lib/systemd/Watchdog: implement the systemd watchdog protocol 2018-08-02 11:15:35 +02:00
test player/CrossFade: use std::chrono::duration 2018-09-22 19:37:02 +02:00
win32 android/build.py: add aarch64 support 2018-08-17 19:20:25 +02:00
.gitignore release v0.19.21 2016-12-13 11:00:39 +01:00
.travis.yml .travis.yml: install Boost 1.67 from a PPA 2018-09-02 17:28:01 +02:00
AUTHORS AUTHORS: add various recent contributors 2018-03-05 19:23:36 +01:00
autogen.sh autogen.sh: re-add $ACLOCAL_FLAGS, $AUTOMAKE_FLAGS 2014-01-27 10:35:37 +01:00
configure.ac db/proxy: require libmpdclient 2.9 2018-09-02 08:21:11 +02:00
COPYING Update the text of the GPLv2, this fixes the address and a few other oddities. 2008-12-20 19:02:09 -08:00
Makefile.am player/Thread: move StartPlayerThread() into PlayerControl 2018-09-21 17:14:19 +02:00
mpd.svg import MPD SVG icon 2014-07-14 19:04:46 +02:00
NEWS player/Thread: calculate buffered_before_play based on a fixed duration 2018-09-23 15:46:29 +02:00
README.md release v0.20.7 2017-05-15 23:01:49 +02:00
valgrind.suppressions valgrind.suppressions: more library suppressions 2018-01-04 10:20:53 +01:00

Music Player Daemon

http://www.musicpd.org

A daemon for playing music of various formats. Music is played through the server's audio device. The daemon stores info about all available music, and this info can be easily searched and retrieved. Player control, info retrieval, and playlist management can all be managed remotely.

For basic installation instructions read the manual.

Users

Developers

Legal

MPD is released under the GNU General Public License version 2, which is distributed in the COPYING file.