music player daemon (fork)
Go to file
Max Kellermann 554a34fb95 alsa: better period_time default value for high sample rates
The default values for buffer_time and period_time were both capped by
the hardware limits on practically all chips.  The result was a
period_time which was half as big as the buffer_time.  On some chips,
this led to lots of underruns when using a high sample rate (192 kHz),
because MPD had very little time to send new samples to ALSA.

A period time which is one fourth of the buffer time turned out to be
much better.  If no period_time is configured, see how much
buffer_time the hardware accepts, and try to configure one fourth of
it as period_time, instead of hard-coding the default period_time
value.

This is yet another attempt to provide a solution which is valid for
all sound chips.  Using the SND_PCM_NONBLOCK flag also seemed to solve
the underruns, but put a lot more CPU load to MPD.
2009-03-08 03:55:01 +01:00
doc Add sticker list command. 2009-03-03 07:49:23 +01:00
m4 configure: Move the faad stuff to m4/faad.m4 2009-03-06 08:30:59 -08:00
scripts added build test script "test.sh" 2008-12-24 11:35:57 +01:00
src alsa: better period_time default value for high sample rates 2009-03-08 03:55:01 +01:00
test test: init input streams cause decoders are using it 2009-03-03 21:30:26 +01:00
.gitignore test: added test program which reads tags from a file 2009-02-28 17:04:37 +01:00
AUTHORS AUTHORS: added Romain Bignon, Rasmus Steinke 2009-03-07 16:13:23 +01:00
autogen.sh autogen.sh: removed libtoolize 2008-11-22 14:57:06 +01:00
configure.ac configure.ac: fix --enable-bzip2 and --enable-iso9660 variable name 2009-03-07 23:05:25 +01: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
INSTALL wildmidi: new decoder plugin for MIDI files 2009-02-12 16:43:18 +01:00
Makefile.am pulse mixer 2009-03-07 15:59:20 +01:00
NEWS alsa: better period_time default value for high sample rates 2009-03-08 03:55:01 +01:00
README Word wrap to 80 char lines 2008-12-20 19:27:02 -08:00
TODO Update ChangeLog and TODO 2008-02-25 00:19:14 +00:00
UPGRADING UPGRADING: added a 0.14 section 2008-11-05 21:27:30 +01:00
valgrind.suppressions updated valgrind.suppressions 2009-03-03 07:56:06 +01:00

		       Music Player Daemon (MPD)
			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 information see the INSTALL file.

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

You should have received a copy of the GNU General Public License along with
this program.  If not, see <http://www.gnu.org/licenses/>.