1 /* 2 * Copyright (c) 2024 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 #ifndef PULSEAUDIO_HDI_CONFIG_H 16 #define PULSEAUDIO_HDI_CONFIG_H 17 18 #define DISABLE_ORC 1 19 20 #define ENABLE_LEGACY_DATABASE_ENTRY_FORMAT 1 21 22 #define HAVE_ACCEPT4 1 23 24 #define HAVE_ALSA 1 25 26 #define HAVE_ALSA_UCM 1 27 28 #define HAVE_ARPA_INET_H 1 29 30 #define HAVE_ATOMIC_BUILTINS 1 31 32 #define HAVE_ATOMIC_BUILTINS_MEMORY_MODEL 1 33 34 #define HAVE_BYTESWAP_H 1 35 36 #define HAVE_CLOCK_GETTIME 1 37 38 #define HAVE_COREAUDIO 0 39 40 #define HAVE_CTIME_R 1 41 42 #define HAVE_DECL_ENVIRON 1 43 44 #define HAVE_DECL_SOUND_PCM_READ_BITS 1 45 46 #define HAVE_DECL_SOUND_PCM_READ_CHANNELS 1 47 48 #define HAVE_DECL_SOUND_PCM_READ_RATE 1 49 50 #define HAVE_DLADDR 1 51 52 #define HAVE_DLFCN_H 1 53 54 #define HAVE_FAST_64BIT_OPERATIONS 1 55 56 #define HAVE_FCHMOD 1 57 58 #define HAVE_FCHOWN 1 59 60 #define HAVE_FORK 1 61 62 #define HAVE_FSTAT 1 63 64 #define HAVE_GETADDRINFO 1 65 66 #define HAVE_GETGRGID_R 1 67 68 #define HAVE_GETGRNAM_R 1 69 70 #define HAVE_GETPWNAM_R 1 71 72 #define HAVE_GETPWUID_R 1 73 74 #define HAVE_GETTIMEOFDAY 1 75 76 #define HAVE_GETUID 1 77 78 #define HAVE_GRP_H 1 79 80 #define HAVE_HAL_COMPAT 1 81 82 #define HAVE_ICONV 1 83 84 #define HAVE_IPV6 1 85 86 #define HAVE_LANGINFO_H 1 87 88 #define HAVE_LINUX_SOCKIOS_H 1 89 90 #define HAVE_LOCALE_H 1 91 92 #define HAVE_LRINTF 1 93 94 #define HAVE_LSTAT 1 95 96 #define HAVE_MEMFD_CREATE 1 97 98 #define HAVE_MKFIFO 1 99 100 #define HAVE_MLOCK 1 101 102 /* Compiler supports mmx. */ 103 #define HAVE_MMX 1 104 105 #define HAVE_NANOSLEEP 1 106 107 #define HAVE_NETDB_H 1 108 109 #define HAVE_NETINET_IN_H 1 110 111 #define HAVE_NETINET_IN_SYSTM_H 1 112 113 #define HAVE_NETINET_IP_H 1 114 115 #define HAVE_NETINET_TCP_H 1 116 117 #define HAVE_OPEN64 1 118 119 #define HAVE_OPENSSL 1 120 121 #define HAVE_OSS_OUTPUT 1 122 123 #define HAVE_OSS_WRAPPER 1 124 125 #define HAVE_PCREPOSIX_H 1 126 127 #define HAVE_PIPE 1 128 129 #define HAVE_PIPE2 1 130 131 #define HAVE_POLL_H 1 132 133 #define HAVE_POSIX_FADVISE 1 134 135 #define HAVE_POSIX_MADVISE 1 136 137 #define HAVE_POSIX_MEMALIGN 1 138 139 #define HAVE_PPOLL 1 140 141 #define HAVE_PTHREAD 1 142 143 #define HAVE_PTHREAD_GETNAME_NP 1 144 145 #define HAVE_PTHREAD_PRIO_INHERIT 1 146 147 #define HAVE_PTHREAD_SETAFFINITY_NP 1 148 149 #define HAVE_PTHREAD_SETNAME_NP 1 150 151 #define HAVE_PWD_H 1 152 153 #define HAVE_READLINK 1 154 155 #define HAVE_REGEX_H 1 156 157 #define HAVE_RUNNING_FROM_BUILD_TREE 1 158 159 #define HAVE_SCHED_H 1 160 161 #define HAVE_SETEGID 1 162 163 #define HAVE_SETEUID 1 164 165 #define HAVE_SETPGID 1 166 167 #define HAVE_SETREGID 1 168 169 #define HAVE_SETRESGID 1 170 171 #define HAVE_SETRESUID 1 172 173 #define HAVE_SETREUID 1 174 175 #define HAVE_SETSID 1 176 177 #define HAVE_SIGACTION 1 178 179 #define HAVE_SIGXCPU 1 180 181 /* Compiler supports sse. */ 182 #define HAVE_SSE 1 183 184 #define HAVE_STDINT_H 1 185 186 #define HAVE_STD_BOOL 1 187 188 #define HAVE_STRERROR_R 1 189 190 #define HAVE_STRTOD_L 1 191 192 #define HAVE_STRTOF 1 193 194 #define HAVE_SYMLINK 1 195 196 #define HAVE_SYSCONF 1 197 198 #define HAVE_SYSLOG_H 1 199 200 #define HAVE_SYS_EVENTFD_H 1 201 202 #define HAVE_SYS_IOCTL_H 1 203 204 #define HAVE_SYS_MMAN_H 1 205 206 #define HAVE_SYS_PRCTL_H 1 207 208 #define HAVE_SYS_RESOURCE_H 1 209 210 #define HAVE_SYS_SELECT_H 1 211 212 #define HAVE_SYS_SOCKET_H 1 213 214 #define HAVE_SYS_SYSCALL_H 1 215 216 #define HAVE_SYS_UIO_H 1 217 218 #define HAVE_SYS_UN_H 1 219 220 #define HAVE_SYS_WAIT_H 1 221 222 #define HAVE_UNAME 1 223 224 #define HAVE_WAVEOUT 0 225 226 #define ICONV_CONST 227 228 #define LIBICONV_PLUG 1 229 230 #define MESON_BUILD 1 231 232 #define PACKAGE "pulseaudio" 233 234 #define PACKAGE_NAME "pulseaudio" 235 236 #define PACKAGE_VERSION "14.0-271-g1a19" 237 238 #define PA_ACCESS_GROUP "pulse-access" 239 240 #define PA_ACCESS_GROUP "pulse-access" 241 242 #define PA_ALSA_PATHS_DIR "/usr/local/share/pulseaudio/alsa-mixer/paths" 243 244 #define PA_ALSA_PROFILE_SETS_DIR "/usr/local/share/pulseaudio/alsa-mixer/profile-sets" 245 246 #define PA_API_VERSION 12 247 248 #define PA_BINARY "/system/bin" 249 250 #define PA_BUILDDIR "/home/workspace/pa/pulseaudio/confgure" 251 252 #define PA_CFLAGS "Not yet supported on meson" 253 254 #define PA_DEFAULT_CONFIG_DIR "/system/etc/pulse" 255 256 #define PA_DEFAULT_CONFIG_DIR_UNQUOTED /usr/local/etc/pulse 257 258 #define PA_DLSEARCHPATH "/system/lib" 259 260 #define PA_INCDIR /usr/local/include 261 262 #define PA_LIBDIR /usr/local/lib/x86_64-linux-gnu 263 264 #define PA_MACHINE_ID "/usr/local/etc/machine-id" 265 266 #define PA_MACHINE_ID_FALLBACK "/var/local/lib/dbus/machine-id" 267 268 #define PA_MAJOR 14 269 270 #define PA_MINOR 0 271 272 #define PA_PROTOCOL_VERSION 35 273 274 #define PA_SOEXT ".so" 275 276 #define PA_SYSTEM_CONFIG_PATH "/var/local/lib/pulse" 277 278 #define PA_SYSTEM_GROUP "pulse" 279 280 #define PA_SYSTEM_RUNTIME_PATH "/data/data/.pulse_dir/runtime" 281 282 #define PA_SYSTEM_STATE_PATH "/data/data/.pulse_dir/state" 283 284 #define PA_SYSTEM_USER "pulse" 285 286 #define PULSEDSP_LOCATION /usr/local/lib/x86_64-linux-gnu/pulseaudio 287 288 #define PULSE_LOCALEDIR "/usr/local/share/locale" 289 290 #endif 291