aboutsummaryrefslogtreecommitdiffstats
path: root/alsoftrc.sample
diff options
context:
space:
mode:
Diffstat (limited to 'alsoftrc.sample')
-rw-r--r--alsoftrc.sample10
1 files changed, 10 insertions, 0 deletions
diff --git a/alsoftrc.sample b/alsoftrc.sample
index aa95121e..58e09757 100644
--- a/alsoftrc.sample
+++ b/alsoftrc.sample
@@ -236,6 +236,16 @@
# still prevent autospawning even if this is set to true.
#spawn-server = false
+## buffer-length:
+# Specifies the PulseAudio buffer length, in sample frames. When set to a
+# non-0 value, it specifies the total buffer length for the playback stream,
+# overriding the period settings. Otherwise it uses the period size and count
+# to calculate a buffer size. PulseAudio, unlike other backends, does not work
+# in period chunks, but instead just has one buffer block which is refilled as
+# it nears empty. Because of this, the usual buffering metrics are unsuitable,
+# with the default 4096 frames being needlessly large.
+#buffer-length = 2048
+
##
## Wave File Writer stuff
##