From 9891d61206faa8b4fb1bd146b74da010264a4b69 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 7 Nov 2015 23:05:45 -0800 Subject: Add options to disable Pulse's and ALSA's resamplers --- alsoftrc.sample | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'alsoftrc.sample') diff --git a/alsoftrc.sample b/alsoftrc.sample index 3e7494dd..d40e6c37 100644 --- a/alsoftrc.sample +++ b/alsoftrc.sample @@ -132,7 +132,7 @@ # sinc4 - extrapolates samples using a 4-point Sinc filter # sinc8 - extrapolates samples using an 8-point Sinc filter # bsinc - extrapolates samples using a band-limited Sinc filter (varying -# between 12 and 24 points) +# between 12 and 24 points, with anti-aliasing) # Specifying other values will result in using the default (linear). #resampler = linear @@ -227,6 +227,13 @@ # etc). #allow-moves = false +## fix-rate: +# Specifies whether to match the playback device's sample rate to the hardware +# device's sample rate. Enabling this allows OpenAL Soft to resample sources +# directly to the actual output rate, avoiding a second resample pass by the +# PulseAudio server. +#fix-rate = false + ## ## ALSA backend stuff ## @@ -273,6 +280,13 @@ # and anything else will force mmap off. #mmap = true +## allow-resampler: +# Specifies whether to allow ALSA's built-in resampler. Enabling this will +# allow the playback device to be set to a different sample rate than the +# actual output, causing ALSA to apply its own resampling pass after OpenAL +# Soft resamples and mixes the sources and effects for output. +#allow-resampler = false + ## ## OSS backend stuff ## -- cgit v1.2.3