aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2006-07-23 04:00:52 +0000
committerWarren Dukes <warren.dukes@gmail.com>2006-07-23 04:00:52 +0000
commit14eea124f690516c6f07b40f0fa33a23eacfa9ca (patch)
tree9c10924bf915edf57e0b9cce481413e8c70b8a34 /src
parentfe76580ce4b809206bc09c862dcc642c64957b94 (diff)
downloadmpd-14eea124f690516c6f07b40f0fa33a23eacfa9ca.tar.gz
mpd-14eea124f690516c6f07b40f0fa33a23eacfa9ca.tar.xz
mpd-14eea124f690516c6f07b40f0fa33a23eacfa9ca.zip
chang the default period_time to 50ms. On my setup, setting the period_time to 0ms sounds like complete crap. 50ms is the default that xmms has used for years, so lets just stick with that.
git-svn-id: https://svn.musicpd.org/mpd/trunk@4433 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src')
-rw-r--r--src/audioOutputs/audioOutput_alsa.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/audioOutputs/audioOutput_alsa.c b/src/audioOutputs/audioOutput_alsa.c
index 2caee99e8..603abcee4 100644
--- a/src/audioOutputs/audioOutput_alsa.c
+++ b/src/audioOutputs/audioOutput_alsa.c
@@ -26,7 +26,10 @@
#define ALSA_PCM_NEW_SW_PARAMS_API
#define MPD_ALSA_BUFFER_TIME 500000
-#define MPD_ALSA_PERIOD_TIME 0
+/* the default period time of xmms is 50 ms, so let's use that as well.
+ * a user can tweak this parameter via the "period_time" config parameter.
+ */
+#define MPD_ALSA_PERIOD_TIME 50000
#define MPD_ALSA_SAMPLE_XFER 256
#include "../conf.h"