aboutsummaryrefslogtreecommitdiffstats
path: root/alsoftrc.sample
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-02-07 19:29:48 -0800
committerChris Robinson <[email protected]>2010-02-07 19:29:48 -0800
commit3a87c3c3ba493521a28dfcab93bfa2d372f4dd22 (patch)
tree46aef61cb153981ec36ac29fcc3ee1bce7bf029b /alsoftrc.sample
parent54dc26b1454de33859e912e757bfa97f9a2e6fd0 (diff)
Avoid using periods with PulseAudio, and add an option to specify its buffer length
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
##