From d39513f85163e202a44283856286fabb6902f2e0 Mon Sep 17 00:00:00 2001 From: Vinod Koul Date: Tue, 16 Jun 2015 21:00:22 +0530 Subject: ALSA: HDAC: move SND_HDA_PREALLOC_SIZE to core Since this is common option for HDA driver to specfiy pre-allocated buffer, we should make this option availble to all HDA driver by moving this to HDA core Signed-off-by: Vinod Koul Signed-off-by: Takashi Iwai --- sound/hda/Kconfig | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'sound/hda/Kconfig') 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. -- cgit v1.2.3