• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  *  ALSA lib header file include/config.h
3  *  Copyright (c) 2022 Huawei Device Co., Ltd.
4  *
5  *   This library is free software; you can redistribute it and/or modify
6  *   it under the terms of the GNU Lesser General Public License as
7  *   published by the Free Software Foundation; either version 2.1 of
8  *   the License, or (at your option) any later version.
9  *
10  *   This program is distributed in the hope that it will be useful,
11  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *   GNU Lesser General Public License for more details.
14  *
15  *   You should have received a copy of the GNU Lesser General Public
16  *   License along with this library; if not, write to the Free Software
17  *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
18  *
19  */
20 
21 #ifndef __ALSA_CONFIG_H
22 #define __ALSA_CONFIG_H
23 
24 /* Directory with aload* device files */
25 #define ALOAD_DEVICE_DIRECTORY "/dev/"
26 
27 /* directory containing ALSA configuration database */
28 #define ALSA_CONFIG_DIR "/system/etc/audio/alsa/share"
29 
30 /* Enable assert at error message handler */
31 /* #undef ALSA_DEBUG_ASSERT */
32 
33 /* Directory with ALSA device files */
34 #define ALSA_DEVICE_DIRECTORY "/dev/snd/"
35 
36 /* directory containing ALSA add-on modules */
37 #define ALSA_PLUGIN_DIR "/system/lib"
38 
39 /* Build hwdep component */
40 #define BUILD_HWDEP "1"
41 
42 /* Build mixer component */
43 #define BUILD_MIXER "1"
44 
45 /* Build PCM component */
46 #define BUILD_PCM "1"
47 
48 /* Build PCM adpcm plugin */
49 #define BUILD_PCM_PLUGIN_ADPCM "1"
50 
51 /* Build PCM alaw plugin */
52 #define BUILD_PCM_PLUGIN_ALAW "1"
53 
54 /* Build PCM lfloat plugin */
55 #define BUILD_PCM_PLUGIN_LFLOAT "1"
56 
57 /* Build PCM mmap-emul plugin */
58 #define BUILD_PCM_PLUGIN_MMAP_EMUL "1"
59 
60 /* Build PCM mulaw plugin */
61 #define BUILD_PCM_PLUGIN_MULAW "1"
62 
63 /* Build PCM rate plugin */
64 #define BUILD_PCM_PLUGIN_RATE "1"
65 
66 /* Build PCM route plugin */
67 #define BUILD_PCM_PLUGIN_ROUTE "1"
68 
69 /* Build raw MIDI component */
70 #define BUILD_RAWMIDI "1"
71 
72 /* Build sequencer component */
73 #define BUILD_SEQ "1"
74 
75 /* Build DSP Topology component */
76 #define BUILD_TOPOLOGY "1"
77 
78 /* Build UCM component */
79 #define BUILD_UCM "1"
80 
81 /* Have clock gettime */
82 #define HAVE_CLOCK_GETTIME 1
83 
84 /* Define to 1 if you have the <dlfcn.h> header file. */
85 #define HAVE_DLFCN_H 1
86 
87 /* Define to 1 if you have the `eaccess' function. */
88 #define HAVE_EACCESS 1
89 
90 /* Define to 1 if you have the <endian.h> header file. */
91 #define HAVE_ENDIAN_H 1
92 
93 /* Define to 1 if you have the <inttypes.h> header file. */
94 #define HAVE_INTTYPES_H 1
95 
96 /* Have libdl */
97 #define HAVE_LIBDL 1
98 
99 /* Have libpthread */
100 #define HAVE_LIBPTHREAD 1
101 
102 /* Define to 1 if you have the `resmgr' library (-lresmgr). */
103 /* #undef HAVE_LIBRESMGR */
104 
105 /* Have librt */
106 #define HAVE_LIBRT 1
107 
108 /* Define to 1 if you have the <memory.h> header file. */
109 #define HAVE_MEMORY_H 1
110 
111 /* MMX technology is enabled */
112 /* #undef HAVE_MMX */
113 
114 /* Define if your pthreads implementation have PTHREAD_MUTEX_RECURSIVE */
115 #define HAVE_PTHREAD_MUTEX_RECURSIVE /**/
116 
117 /* Avoid calculation in float */
118 /* #undef HAVE_SOFT_FLOAT */
119 
120 /* Define to 1 if you have the <stdint.h> header file. */
121 #define HAVE_STDINT_H 1
122 
123 /* Define to 1 if you have the <stdlib.h> header file. */
124 #define HAVE_STDLIB_H 1
125 
126 /* Define to 1 if you have the <strings.h> header file. */
127 #define HAVE_STRINGS_H 1
128 
129 /* Define to 1 if you have the <string.h> header file. */
130 #define HAVE_STRING_H 1
131 
132 /* Define to 1 if you have the <sys/endian.h> header file. */
133 /* #undef HAVE_SYS_ENDIAN_H */
134 
135 /* Define to 1 if you have the <sys/shm.h> header file. */
136 #define HAVE_SYS_SHM_H 1
137 
138 /* Define to 1 if you have the <sys/stat.h> header file. */
139 #define HAVE_SYS_STAT_H 1
140 
141 /* Define to 1 if you have the <sys/types.h> header file. */
142 #define HAVE_SYS_TYPES_H 1
143 
144 /* Define to 1 if you have the <unistd.h> header file. */
145 #define HAVE_UNISTD_H 1
146 
147 /* Define to 1 if you have the `uselocale' function. */
148 #define HAVE_USELOCALE 1
149 
150 /* Enable use of wordexp */
151 /* #undef HAVE_WORDEXP */
152 
153 /* Define to 1 if compiler supports __thread */
154 #define HAVE___THREAD 1
155 
156 /* Lockless dmix as default */
157 /* #undef LOCKLESS_DMIX_DEFAULT */
158 
159 /* Define to the sub-directory where libtool stores uninstalled libraries. */
160 #define LT_OBJDIR ".libs/"
161 
162 /* No assert debug */
163 /* #undef NDEBUG */
164 
165 /* Name of package */
166 #define PACKAGE "alsa-lib"
167 
168 /* Define to the address where bug reports for this package should be sent. */
169 #define PACKAGE_BUGREPORT ""
170 
171 /* Define to the full name of this package. */
172 #define PACKAGE_NAME "alsa-lib"
173 
174 /* Define to the full name and version of this package. */
175 #define PACKAGE_STRING "alsa-lib 1.2.6"
176 
177 /* Define to the one symbol short name of this package. */
178 #define PACKAGE_TARNAME "alsa-lib"
179 
180 /* Define to the home page for this package. */
181 #define PACKAGE_URL ""
182 
183 /* Define to the version of this package. */
184 #define PACKAGE_VERSION "1.2.6"
185 
186 /* Max number of cards */
187 #define SND_MAX_CARDS 32
188 
189 /* Define to 1 if you have the ANSI C header files. */
190 #define STDC_HEADERS 1
191 
192 /* Support /dev/aload* access for auto-loading */
193 #define SUPPORT_ALOAD "1"
194 
195 /* Support resmgr with alsa-lib */
196 /* #undef SUPPORT_RESMGR */
197 
198 /* Disable thread-safe API functions */
199 #define THREAD_SAFE_API "1"
200 
201 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
202 #define TIME_WITH_SYS_TIME 1
203 
204 /* directory to put tmp socket files */
205 #define TMPDIR "/tmp"
206 
207 /* sound library version string */
208 #define VERSION "1.2.6"
209 
210 /* compiled with versioned symbols */
211 #define VERSIONED_SYMBOLS
212 
213 /* Define to 1 if on MINIX. */
214 /* #undef _MINIX */
215 
216 /* Define to 2 if the system does not provide POSIX.1 features except with
217    this defined. */
218 /* #undef _POSIX_1_SOURCE */
219 
220 /* Define to 1 if you need to in order for `stat' and other things to work. */
221 /* #undef _POSIX_SOURCE */
222 
223 /* Toolchain Symbol Prefix */
224 #define __SYMBOL_PREFIX ""
225 
226 /* Define to empty if `const' does not conform to ANSI C. */
227 /* #undef const */
228 
229 /* Define to `__inline__' or `__inline' if that's what the C compiler
230    calls it, or to nothing if 'inline' is not supported under any name.  */
231 #ifndef __cplusplus
232 /* #undef inline */
233 #endif
234 
235 #endif /* __ALSA_CONFIG_H */
236