blob: 6e937a8146a184a4b8ee6211db0b0f235f5f5425 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001# ALSA soundcard-configuration
2config SND_TIMER
3 tristate
Linus Torvalds1da177e2005-04-16 15:20:36 -07004
5config SND_PCM
6 tristate
Jie Yang90bbaf62015-10-16 17:57:46 +08007 select SND_TIMER if SND_PCM_TIMER
Linus Torvalds1da177e2005-04-16 15:20:36 -07008
Russell King838d1632015-05-09 11:26:42 +01009config SND_PCM_ELD
10 bool
11
Russell King9203dd02015-05-09 11:26:47 +010012config SND_PCM_IEC958
13 bool
14
Daniel Mackb7ae6f32013-08-12 10:42:37 +020015config SND_DMAENGINE_PCM
Daniel Mack903eb312013-08-15 16:03:52 +020016 tristate
Daniel Mackb7ae6f32013-08-12 10:42:37 +020017
Linus Torvalds1da177e2005-04-16 15:20:36 -070018config SND_HWDEP
19 tristate
Linus Torvalds1da177e2005-04-16 15:20:36 -070020
Takashi Iwai111b0cd2017-06-09 15:11:58 +020021config SND_SEQ_DEVICE
22 tristate
23
Linus Torvalds1da177e2005-04-16 15:20:36 -070024config SND_RAWMIDI
25 tristate
Takashi Iwai111b0cd2017-06-09 15:11:58 +020026 select SND_SEQ_DEVICE if SND_SEQUENCER != n
Linus Torvalds1da177e2005-04-16 15:20:36 -070027
Takashi Iwai5c845be2012-01-13 09:53:53 +010028config SND_COMPRESS_OFFLOAD
29 tristate
30
Mark Brown0d94e412008-07-28 19:05:36 +010031config SND_JACK
32 bool
33
Takashi Iwaife0d1282016-02-17 09:44:25 +010034# enable input device support in jack layer
35config SND_JACK_INPUT_DEV
36 bool
37 depends on SND_JACK
38 default y if INPUT=y || INPUT=SND
39
Linus Torvalds1da177e2005-04-16 15:20:36 -070040config SND_OSSEMUL
Takashi Iwaieb3b7052017-06-09 13:56:05 +020041 bool "Enable OSS Emulation"
Tejun Heod886e872008-08-28 16:42:51 +020042 select SOUND_OSS_CORE
Takashi Iwaieb3b7052017-06-09 13:56:05 +020043 help
44 This option enables the build of OSS emulation layer.
Linus Torvalds1da177e2005-04-16 15:20:36 -070045
46config SND_MIXER_OSS
47 tristate "OSS Mixer API"
Takashi Iwaieb3b7052017-06-09 13:56:05 +020048 depends on SND_OSSEMUL
Linus Torvalds1da177e2005-04-16 15:20:36 -070049 help
50 To enable OSS mixer API emulation (/dev/mixer*), say Y here
51 and read <file:Documentation/sound/alsa/OSS-Emulation.txt>.
52
53 Many programs still use the OSS API, so say Y.
54
55 To compile this driver as a module, choose M here: the module
56 will be called snd-mixer-oss.
57
58config SND_PCM_OSS
59 tristate "OSS PCM (digital audio) API"
Takashi Iwaieb3b7052017-06-09 13:56:05 +020060 depends on SND_OSSEMUL
Linus Torvalds1da177e2005-04-16 15:20:36 -070061 select SND_PCM
62 help
63 To enable OSS digital audio (PCM) emulation (/dev/dsp*), say Y
64 here and read <file:Documentation/sound/alsa/OSS-Emulation.txt>.
65
66 Many programs still use the OSS API, so say Y.
67
68 To compile this driver as a module, choose M here: the module
69 will be called snd-pcm-oss.
70
Jaroslav Kysela21a34792006-01-13 09:12:11 +010071config SND_PCM_OSS_PLUGINS
72 bool "OSS PCM (digital audio) API - Include plugin system"
73 depends on SND_PCM_OSS
74 default y
75 help
76 If you disable this option, the ALSA's OSS PCM API will not
77 support conversion of channels, formats and rates. It will
78 behave like most of new OSS/Free drivers in 2.4/2.6 kernels.
79
Jie Yang90bbaf62015-10-16 17:57:46 +080080config SND_PCM_TIMER
81 bool "PCM timer interface" if EXPERT
82 default y
83 help
Randy Dunlapac1efcf2016-01-27 18:04:10 -080084 If you disable this option, pcm timer will be unavailable, so
85 those stubs that use pcm timer (e.g. dmix, dsnoop & co) may work
Jie Yang90bbaf62015-10-16 17:57:46 +080086 incorrectlly.
87
Randy Dunlapac1efcf2016-01-27 18:04:10 -080088 For some embedded devices, we may disable it to reduce memory
Jie Yang90bbaf62015-10-16 17:57:46 +080089 footprint, about 20KB on x86_64 platform.
90
Takashi Iwaibbaf5e92008-10-24 18:16:50 +020091config SND_HRTIMER
92 tristate "HR-timer backend support"
93 depends on HIGH_RES_TIMERS
94 select SND_TIMER
95 help
96 Say Y here to enable HR-timer backend for ALSA timer. ALSA uses
97 the hrtimer as a precise timing source. The ALSA sequencer code
98 also can use this timing source.
99
100 To compile this driver as a module, choose M here: the module
101 will be called snd-hrtimer.
102
Clemens Ladisch332682b2005-11-20 14:07:47 +0100103config SND_DYNAMIC_MINORS
Clemens Ladischb10e5392006-06-27 08:41:26 +0200104 bool "Dynamic device file minor numbers"
Clemens Ladisch332682b2005-11-20 14:07:47 +0100105 help
106 If you say Y here, the minor numbers of ALSA device files in
107 /dev/snd/ are allocated dynamically. This allows you to have
108 more than 8 sound cards, but requires a dynamic device file
109 system like udev.
110
111 If you are unsure about this, say N here.
112
Takashi Iwai7bb24912013-05-15 08:46:39 +0200113config SND_MAX_CARDS
114 int "Max number of sound cards"
115 range 4 256
116 default 32
117 depends on SND_DYNAMIC_MINORS
118 help
119 Specify the max number of sound cards that can be assigned
120 on a single machine.
121
Takashi Iwai59d48582005-12-01 10:51:58 +0100122config SND_SUPPORT_OLD_API
123 bool "Support old ALSA API"
Takashi Iwai59d48582005-12-01 10:51:58 +0100124 default y
125 help
126 Say Y here to support the obsolete ALSA PCM API (ver.0.9.0 rc3
127 or older).
128
Jie Yange0ecb052015-05-27 19:45:44 +0800129config SND_PROC_FS
130 bool "Sound Proc FS Support" if EXPERT
131 depends on PROC_FS
132 default y
133 help
134 Say 'N' to disable Sound proc FS, which may reduce code size about
135 9KB on x86_64 platform.
136 If unsure say Y.
137
Jaroslav Kysela21a34792006-01-13 09:12:11 +0100138config SND_VERBOSE_PROCFS
139 bool "Verbose procfs contents"
Jie Yange0ecb052015-05-27 19:45:44 +0800140 depends on SND_PROC_FS
Jaroslav Kysela21a34792006-01-13 09:12:11 +0100141 default y
142 help
143 Say Y here to include code for verbose procfs contents (provides
Matt LaPlantea982ac02007-05-09 07:35:06 +0200144 useful information to developers when a problem occurs). On the
Jaroslav Kysela21a34792006-01-13 09:12:11 +0100145 other side, it makes the ALSA subsystem larger.
146
Linus Torvalds1da177e2005-04-16 15:20:36 -0700147config SND_VERBOSE_PRINTK
148 bool "Verbose printk"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700149 help
150 Say Y here to enable verbose log messages. These messages
151 will help to identify source file and position containing
152 printed messages.
153
154 You don't need this unless you're debugging ALSA.
155
156config SND_DEBUG
157 bool "Debug"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700158 help
159 Say Y here to enable ALSA debug code.
160
Takashi Iwai62cf8722008-05-20 12:15:15 +0200161config SND_DEBUG_VERBOSE
162 bool "More verbose debug"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700163 depends on SND_DEBUG
164 help
Takashi Iwai62cf8722008-05-20 12:15:15 +0200165 Say Y here to enable extra-verbose debugging messages.
166
167 Let me repeat: it enables EXTRA-VERBOSE DEBUGGING messages.
168 So, say Y only if you are ready to be annoyed.
Jaroslav Kysela61fb63c2006-04-24 21:57:16 +0200169
170config SND_PCM_XRUN_DEBUG
171 bool "Enable PCM ring buffer overrun/underrun debugging"
172 default n
Takashi Iwaib7d90a32006-04-25 12:56:04 +0200173 depends on SND_DEBUG && SND_VERBOSE_PROCFS
Jaroslav Kysela61fb63c2006-04-24 21:57:16 +0200174 help
175 Say Y to enable the PCM ring buffer overrun/underrun debugging.
176 It is usually not required, but if you have trouble with
177 sound clicking when system is loaded, it may help to determine
178 the process or driver which causes the scheduling gaps.
Takashi Iwaie922b002008-02-18 13:03:13 +0100179
180config SND_VMASTER
181 bool
Michal Marek0528c742009-05-26 17:07:52 +0200182
Takashi Iwaicc6a8ac2008-06-17 16:39:06 +0200183config SND_DMA_SGBUF
184 def_bool y
185 depends on X86
186
Michal Marek0528c742009-05-26 17:07:52 +0200187source "sound/core/seq/Kconfig"