summaryrefslogtreecommitdiffstats
path: root/rules/alsa-lib.in
blob: 732cd6dd8b54485e3c66c205938b7dec1b904f3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
## SECTION=system_libraries
menuconfig ALSA_LIB
	tristate
	prompt "alsa libaries                 "
	select LIBC_DL
	select LIBC_M
	select LIBC_PTHREAD
	select LIBC_RT
	help
	  This is the userspace library to the kernel's "Advanced Linux Sound Architecture" feature

if ALSA_LIB

choice
	prompt "Base library"
	default ALSA_LIB_FULL

	config ALSA_LIB_FULL
		bool
		prompt "full featured ALSA libs"
		help
		  Full featured ALSA library. No limits.

	config ALSA_LIB_LIGHT
		bool
		prompt "embedded ALSA libs"
		help
		  SALSA-Lib is a small, light-weight, hot and spicy version of
		  the ALSA library, mainly for embedded systems with limited
		  resources. The library is designed to be source-level
		  compatible with ALSA library API for limited contents.  Most
		  of function calls are inlined, and accesses directly to the
		  hardware via system calls.
		  Some components like ALSA sequencer aren't supported, and
		  most of all, the alsa-lib plugins and configurations are
		  completely dropped.  Thus, neither dmix nor format
		  conversion is available with SALSA-lib.
endchoice

config ALSA_LIB_RESMGR
	bool
	depends on BROKEN
	prompt "build resmgr"
	help
	  support resmgr (optional component)

config ALSA_LIB_READ
	bool
	default y
	prompt "build read support"
	help
	  Reading /dev/aload* is the default. Disable it on demand

config ALSA_LIB_MIXER
	bool
	default y
	prompt "build mixer"
	help
	  Disable the mixer component if you do not need it

config ALSA_LIB_PCM
	bool
	default y
	prompt "build pcm"
	help
	  Disable the PCM component if you do not need it

config ALSA_LIB_RAWMIDI
	bool
	default y
	prompt "build raw midi support"
	help
	  Disable the raw MIDI component if you do not need it

config ALSA_LIB_HWDEP
	bool
	default y
	prompt "build hwdep"
	help
	  Disable the hwdep component if you do not need it

config ALSA_LIB_SEQ
	bool
	default y
	prompt "build sequencer"
	help
	  Disable the sequencer component if you do not need it

config ALSA_LIB_INSTR
	bool
	default y
	prompt "build intrument support"
	help
	  Disable the instrument component if you do not need it

config ALSA_LIB_STATIC
	bool
	prompt "Build static library only"
	depends on BROKEN
	help
	  This will build the static library only. On architectures with
	  a low register count (like ia32) this makes sense, due to
	  allowing the compiler to use one additional register and
	  speeding up things (if only one application uses this library)
	  Note: This feature does not work yet. For example the esound
	  daemon fails to link due to missing exported functions.

endif