summary refs log tree commit diff
path: root/sound/hda/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'sound/hda/Kconfig')
-rw-r--r--sound/hda/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/sound/hda/Kconfig b/sound/hda/Kconfig
index 6dc3914fd28b..3129546398d0 100644
--- a/sound/hda/Kconfig
+++ b/sound/hda/Kconfig
@@ -14,3 +14,16 @@ config SND_HDA_I915
 config SND_HDA_EXT_CORE
        tristate
        select SND_HDA_CORE
+
+config SND_HDA_PREALLOC_SIZE
+	int "Pre-allocated buffer size for HD-audio driver"
+	range 0 32768
+	default 64
+	help
+	  Specifies the default pre-allocated buffer-size in kB for the
+	  HD-audio driver.  A larger buffer (e.g. 2048) is preferred
+	  for systems using PulseAudio.  The default 64 is chosen just
+	  for compatibility reasons.
+
+	  Note that the pre-allocation size can be changed dynamically
+	  via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.