aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/Kconfig
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-07-12 11:27:46 -0400
committerTakashi Iwai <tiwai@suse.de>2011-07-12 11:31:46 -0400
commitacfa634f7e199193ec28282e82a5a6dd8edebcb7 (patch)
tree49193fcf5bb5c21f61d1ff7d8a7e404ce4e774ad /sound/pci/hda/Kconfig
parent30b4503378c976cf66201a1e81820519f6bd79ac (diff)
ALSA: hda - Add Kconfig for the default buffer size
Add a Kconfig entry to specify the default buffer size. Distros using PulseAudio can choose a larger value here. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/Kconfig')
-rw-r--r--sound/pci/hda/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/sound/pci/hda/Kconfig b/sound/pci/hda/Kconfig
index 70762fca57ee..1f1a4ae4b791 100644
--- a/sound/pci/hda/Kconfig
+++ b/sound/pci/hda/Kconfig
@@ -14,6 +14,19 @@ menuconfig SND_HDA_INTEL
14 14
15if SND_HDA_INTEL 15if SND_HDA_INTEL
16 16
17config SND_HDA_PREALLOC_SIZE
18 int "Pre-allocated buffer size for HD-audio driver"
19 range 0 32768
20 default 64
21 help
22 Speficies the default pre-allocated buffer-size in kB for
23 HD-audio driver. A larger buffer (e.g. 2048) is preferred
24 for systems with PulseAudio. The default 64 is chosen just
25 from the compatibility reason.
26
27 Note that the pre-allocation size can be changed dynamically
28 via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
29
17config SND_HDA_HWDEP 30config SND_HDA_HWDEP
18 bool "Build hwdep interface for HD-audio driver" 31 bool "Build hwdep interface for HD-audio driver"
19 select SND_HWDEP 32 select SND_HWDEP