xref: /OK3568_Linux_fs/buildroot/package/alsa-lib/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1comment "alsa-lib needs a toolchain w/ threads"
2	depends on !BR2_TOOLCHAIN_HAS_THREADS
3
4menuconfig BR2_PACKAGE_ALSA_LIB
5	bool "alsa-lib"
6	# Even though some parts of alsa-lib use threads only when
7	# available, some PCM plugins use them unconditionally. Since
8	# the usage of alsa-lib on no-thread systems is pretty
9	# unlikely, just require thread support globally for alsa-lib.
10	depends on BR2_TOOLCHAIN_HAS_THREADS
11	# Temporary until
12	# https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4913
13	# is fixed
14	select BR2_PACKAGE_ALSA_LIB_PCM
15	help
16	  The Advanced Linux Sound Architecture (ALSA) provides audio
17	  and MIDI functionality to the Linux operating system.
18
19	  http://www.alsa-project.org/
20
21if BR2_PACKAGE_ALSA_LIB
22
23config BR2_PACKAGE_ALSA_LIB_PYTHON
24	bool "Python support for alsa-lib"
25	depends on BR2_PACKAGE_PYTHON3
26	help
27	  Add python support for alsa-lib.
28	  Python will be built and libpython will be installed
29	  in the target directory
30	  http://www.alsa-project.org/
31
32config BR2_PACKAGE_ALSA_LIB_DEVDIR
33	string "directory with ALSA device files"
34	default "/dev/snd"
35
36config BR2_PACKAGE_ALSA_LIB_PCM_PLUGINS
37	string "built PCM plugins"
38	default "all" if BR2_USE_MMU
39	default "copy linear route mulaw alaw adpcm rate plug multi file null empty share meter hooks lfloat ladspa dmix dshare dsnoop asym iec958 softvol extplug ioplug mmap_emul" if !BR2_USE_MMU
40
41config BR2_PACKAGE_ALSA_LIB_CTL_PLUGINS
42	string "built control plugins"
43	default "all"
44
45config BR2_PACKAGE_ALSA_LIB_ALOAD
46	bool "aload"
47	default y
48
49config BR2_PACKAGE_ALSA_LIB_MIXER
50	bool "mixer"
51	default y
52
53config BR2_PACKAGE_ALSA_LIB_PCM
54	bool "pcm"
55	default y
56
57config BR2_PACKAGE_ALSA_LIB_RAWMIDI
58	bool "rawmidi"
59	default y
60
61config BR2_PACKAGE_ALSA_LIB_HWDEP
62	bool "hwdep"
63	default y
64
65config BR2_PACKAGE_ALSA_LIB_SEQ
66	bool "seq"
67	default y
68
69config BR2_PACKAGE_ALSA_LIB_UCM
70	bool "ucm"
71	default y
72	select BR2_PACKAGE_ALSA_LIB_MIXER
73
74config BR2_PACKAGE_ALSA_LIB_ALISP
75	bool "alisp"
76	default y
77	depends on BR2_USE_MMU
78
79config BR2_PACKAGE_ALSA_LIB_OLD_SYMBOLS
80	bool "old-symbols"
81	default y
82
83endif
84