summaryrefslogtreecommitdiffstats
path: root/openalrc.sample
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-01-14 15:30:52 -0800
committerChris Robinson <[email protected]>2008-01-14 15:30:52 -0800
commitdfc0118b8bfb5406a6adaf8032ed8f75ed7245d7 (patch)
treed2221597dff8bcc4061975504fe655a45136e7b4 /openalrc.sample
parentd9ef062cafbac12dbb25fe3c58efdf1b53525ff2 (diff)
Add an option for disabling ALSA mmap
Diffstat (limited to 'openalrc.sample')
-rw-r--r--openalrc.sample6
1 files changed, 6 insertions, 0 deletions
diff --git a/openalrc.sample b/openalrc.sample
index 37325d14..0e33e648 100644
--- a/openalrc.sample
+++ b/openalrc.sample
@@ -55,6 +55,12 @@ periods = 4 # Sets the number of update buffers. Default is 4
capture = default # Sets the device name for the default capture device.
# Default is default
+mmap = true # Sets whether to try using mmap mode (helps reduce latencies and
+ # CPU consumption). If mmap isn't available, it will automatically
+ # fall back to non-mmap mode. True, yes, on, and non-0 values will
+ # attempt to use mmap. 0 and anything else will force mmap off.
+ # Default is true.
+
[oss] # OSS backend stuff
device = /dev/dsp # Sets the device name for OSS output. Default is /dev/dsp