Revision 164:9fa11135915a
| src/portaudio_20161030_catalina_patch/.gitattributes | ||
|---|---|---|
| 1 |
# Set the default behavior, in case people don't have core.autocrlf set. |
|
| 2 |
* text=auto |
|
| 3 |
|
|
| 4 |
# Explicitly declare text files you want to always be normalized and converted |
|
| 5 |
# to native line endings on checkout. |
|
| 6 |
*.c text |
|
| 7 |
*.h text |
|
| 8 |
*.cpp text |
|
| 9 |
*.hpp text |
|
| 10 |
*.fth text |
|
| 11 |
*.java text |
|
| 12 |
*.f text |
|
| 13 |
*.txt text |
|
| 14 |
*.dox text |
|
| 15 |
*.m text |
|
| 16 |
|
|
| 17 |
# Declare files that will always have CRLF line endings on checkout. |
|
| 18 |
*.sln text eol=crlf |
|
| 19 |
*.def text eol=crlf |
|
| 20 |
*.dsp text eol=crlf |
|
| 21 |
*.dsw text eol=crlf |
|
| 22 |
*.vcproj text eol=crlf |
|
| 23 |
*.sln text eol=crlf |
|
| 24 |
*.doc text eol=crlf |
|
| 25 |
*.bat text eol=crlf |
|
| 26 |
|
|
| 27 |
# Denote all files that are truly binary and should not be modified. |
|
| 28 |
*.dic binary |
|
| 29 |
*.odt binary |
|
| 30 |
*.pdf binary |
|
| 31 |
*.png binary |
|
| 32 |
*.jpg binary |
|
| 33 |
*.wav binary |
|
| 34 |
*.la binary |
|
| 35 |
config.guess binary |
|
| 36 |
config.status binary |
|
| 37 |
config.sub binary |
|
| 38 |
configure binary |
|
| 39 |
depcomp binary |
|
| 40 |
install-sh binary |
|
| 41 |
libtool binary |
|
| 42 |
missing binary |
|
| 43 |
|
|
| src/portaudio_20161030_catalina_patch/.gitignore | ||
|---|---|---|
| 1 |
# Compiled Object files |
|
| 2 |
*.slo |
|
| 3 |
*.lo |
|
| 4 |
*.o |
|
| 5 |
*.obj |
|
| 6 |
|
|
| 7 |
# annoying files |
|
| 8 |
**/.DS_Store |
|
| 9 |
|
|
| 10 |
# Generated by configure and make |
|
| 11 |
Makefile |
|
| 12 |
bin-stamp |
|
| 13 |
bin/* |
|
| 14 |
config.log |
|
| 15 |
config.status |
|
| 16 |
lib-stamp |
|
| 17 |
lib/* |
|
| 18 |
libtool |
|
| 19 |
portaudio-2.0.pc |
|
| 20 |
|
|
| 21 |
# Precompiled Headers |
|
| 22 |
*.gch |
|
| 23 |
*.pch |
|
| 24 |
|
|
| 25 |
# Compiled Dynamic libraries |
|
| 26 |
*.so |
|
| 27 |
*.dylib |
|
| 28 |
*.dll |
|
| 29 |
|
|
| 30 |
# Fortran module files |
|
| 31 |
*.mod |
|
| 32 |
|
|
| 33 |
# Compiled Static libraries |
|
| 34 |
*.lai |
|
| 35 |
*.la |
|
| 36 |
*.a |
|
| 37 |
*.lib |
|
| 38 |
|
|
| 39 |
# Executables |
|
| 40 |
*.exe |
|
| 41 |
*.out |
|
| 42 |
*.app |
|
| src/portaudio_20161030_catalina_patch/CMakeLists.txt | ||
|---|---|---|
| 1 |
# $Id: $ |
|
| 2 |
# |
|
| 3 |
# For a "How-To" please refer to the Portaudio documentation at: |
|
| 4 |
# http://www.portaudio.com/trac/wiki/TutorialDir/Compile/CMake |
|
| 5 |
# |
|
| 6 |
|
|
| 7 |
CMAKE_MINIMUM_REQUIRED(VERSION 2.8) |
|
| 8 |
|
|
| 9 |
# Check if the user is building PortAudio stand-alone or as part of a larger |
|
| 10 |
# project. If this is part of a larger project (i.e. the CMakeLists.txt has |
|
| 11 |
# been imported by some other CMakeLists.txt), we don't want to trump over |
|
| 12 |
# the top of that project's global settings. |
|
| 13 |
IF(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_LIST_DIR})
|
|
| 14 |
IF(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) |
|
| 15 |
MESSAGE(STATUS "Setting CMAKE_BUILD_TYPE type to 'Debug' as none was specified.") |
|
| 16 |
SET(CMAKE_BUILD_TYPE Debug CACHE STRING "Choose the type of build." FORCE) |
|
| 17 |
SET_PROPERTY(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release") |
|
| 18 |
ENDIF() |
|
| 19 |
|
|
| 20 |
PROJECT(portaudio) |
|
| 21 |
|
|
| 22 |
SET_PROPERTY(GLOBAL PROPERTY USE_FOLDERS ON) |
|
| 23 |
|
|
| 24 |
IF(WIN32 AND MSVC) |
|
| 25 |
OPTION(PA_DLL_LINK_WITH_STATIC_RUNTIME "Link with static runtime libraries (minimizes runtime dependencies)" ON) |
|
| 26 |
IF(PA_DLL_LINK_WITH_STATIC_RUNTIME) |
|
| 27 |
FOREACH(flag_var |
|
| 28 |
CMAKE_C_FLAGS CMAKE_C_FLAGS_DEBUG CMAKE_C_FLAGS_RELEASE |
|
| 29 |
CMAKE_C_FLAGS_MINSIZEREL CMAKE_C_FLAGS_RELWITHDEBINFO |
|
| 30 |
CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELEASE |
|
| 31 |
CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_RELWITHDEBINFO) |
|
| 32 |
IF(${flag_var} MATCHES "/MD")
|
|
| 33 |
STRING(REGEX REPLACE "/MD" "/MT" ${flag_var} "${${flag_var}}")
|
|
| 34 |
ENDIF() |
|
| 35 |
ENDFOREACH() |
|
| 36 |
ENDIF() |
|
| 37 |
ENDIF() |
|
| 38 |
ENDIF() |
|
| 39 |
|
|
| 40 |
SET(PA_PKGCONFIG_VERSION 19) |
|
| 41 |
|
|
| 42 |
# Most of the code from this point onwards is related to populating the |
|
| 43 |
# following variables: |
|
| 44 |
# PA_PUBLIC_INCLUDES - This contains the list of public PortAudio header |
|
| 45 |
# files. These files will be copied into /include paths on Unix'y |
|
| 46 |
# systems when "make install" is invoked. |
|
| 47 |
# PA_PRIVATE_INCLUDES - This contains the list of header files which |
|
| 48 |
# are not part of PortAudio, but are required by the various hostapis. |
|
| 49 |
# It is only used by CMake IDE generators (like Visual Studio) to |
|
| 50 |
# provide quick-links to useful headers. It has no impact on build |
|
| 51 |
# output. |
|
| 52 |
# PA_PRIVATE_INCLUDE_PATHS - This contains the list of include paths which |
|
| 53 |
# will be passed to the compiler while PortAudio is being built which |
|
| 54 |
# are not required by applications using the PortAudio API. |
|
| 55 |
# PA_PRIVATE_COMPILE_DEFINITIONS - This contains a list of preprocessor |
|
| 56 |
# macro definitions which will be set when compiling PortAudio source |
|
| 57 |
# files. |
|
| 58 |
# PA_SOURCES - This contains the list of source files which will be built |
|
| 59 |
# into the static and shared PortAudio libraries. |
|
| 60 |
# PA_NON_UNICODE_SOURCES - This also contains a list of source files which |
|
| 61 |
# will be build into the static and shared PortAudio libraries. However, |
|
| 62 |
# these sources will not have any unicode compiler definitions added |
|
| 63 |
# to them. This list should only contain external source dependencies. |
|
| 64 |
# PA_EXTRA_SHARED_SOURCES - Contains a list of extra files which will be |
|
| 65 |
# associated only with the shared PortAudio library. This only seems |
|
| 66 |
# relevant for Windows shared libraries which require a list of export |
|
| 67 |
# symbols. |
|
| 68 |
# Where other PA_* variables are set, these are almost always only used to |
|
| 69 |
# preserve the historic SOURCE_GROUP behavior (which again only has an impact |
|
| 70 |
# on IDE-style generators for visual appearance) or store the output of |
|
| 71 |
# find_library() calls. |
|
| 72 |
|
|
| 73 |
SET(PA_COMMON_INCLUDES |
|
| 74 |
src/common/pa_allocation.h |
|
| 75 |
src/common/pa_converters.h |
|
| 76 |
src/common/pa_cpuload.h |
|
| 77 |
src/common/pa_debugprint.h |
|
| 78 |
src/common/pa_dither.h |
|
| 79 |
src/common/pa_endianness.h |
|
| 80 |
src/common/pa_hostapi.h |
|
| 81 |
src/common/pa_memorybarrier.h |
|
| 82 |
src/common/pa_process.h |
|
| 83 |
src/common/pa_ringbuffer.h |
|
| 84 |
src/common/pa_stream.h |
|
| 85 |
src/common/pa_trace.h |
|
| 86 |
src/common/pa_types.h |
|
| 87 |
src/common/pa_util.h |
|
| 88 |
) |
|
| 89 |
|
|
| 90 |
SET(PA_COMMON_SOURCES |
|
| 91 |
src/common/pa_allocation.c |
|
| 92 |
src/common/pa_converters.c |
|
| 93 |
src/common/pa_cpuload.c |
|
| 94 |
src/common/pa_debugprint.c |
|
| 95 |
src/common/pa_dither.c |
|
| 96 |
src/common/pa_front.c |
|
| 97 |
src/common/pa_process.c |
|
| 98 |
src/common/pa_ringbuffer.c |
|
| 99 |
src/common/pa_stream.c |
|
| 100 |
src/common/pa_trace.c |
|
| 101 |
) |
|
| 102 |
|
|
| 103 |
SOURCE_GROUP("common" FILES ${PA_COMMON_INCLUDES} ${PA_COMMON_SOURCES})
|
|
| 104 |
|
|
| 105 |
SET(PA_PUBLIC_INCLUDES include/portaudio.h) |
|
| 106 |
|
|
| 107 |
SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake_support)
|
|
| 108 |
|
|
| 109 |
SET(PA_SKELETON_SOURCES src/hostapi/skeleton/pa_hostapi_skeleton.c) |
|
| 110 |
SOURCE_GROUP("hostapi\\skeleton" ${PA_SKELETON_SOURCES})
|
|
| 111 |
SET(PA_SOURCES ${PA_COMMON_SOURCES} ${PA_SKELETON_SOURCES})
|
|
| 112 |
SET(PA_PRIVATE_INCLUDE_PATHS src/common ${CMAKE_CURRENT_BINARY_DIR})
|
|
| 113 |
|
|
| 114 |
IF(WIN32) |
|
| 115 |
SET(PA_PRIVATE_COMPILE_DEFINITIONS ${PA_PRIVATE_COMPILE_DEFINITIONS} _CRT_SECURE_NO_WARNINGS)
|
|
| 116 |
|
|
| 117 |
SET(PA_PLATFORM_SOURCES |
|
| 118 |
src/os/win/pa_win_hostapis.c |
|
| 119 |
src/os/win/pa_win_util.c |
|
| 120 |
src/os/win/pa_win_waveformat.c |
|
| 121 |
src/os/win/pa_win_wdmks_utils.c |
|
| 122 |
src/os/win/pa_win_coinitialize.c) |
|
| 123 |
SET(PA_PLATFORM_INCLUDES |
|
| 124 |
src/os/win/pa_win_coinitialize.h |
|
| 125 |
src/os/win/pa_win_wdmks_utils.h) |
|
| 126 |
|
|
| 127 |
IF(MSVC) |
|
| 128 |
SET(PA_PLATFORM_SOURCES ${PA_PLATFORM_SOURCES} src/os/win/pa_x86_plain_converters.c)
|
|
| 129 |
SET(PA_PLATFORM_INCLUDES ${PA_PLATFORM_INCLUDES} src/os/win/pa_x86_plain_converters.h)
|
|
| 130 |
ELSE() |
|
| 131 |
SET(PA_PRIVATE_COMPILE_DEFINITIONS ${PA_PRIVATE_COMPILE_DEFINITIONS} _WIN32_WINNT=0x0501 WINVER=0x0501)
|
|
| 132 |
SET(DEF_EXCLUDE_X86_PLAIN_CONVERTERS ";") |
|
| 133 |
ENDIF() |
|
| 134 |
|
|
| 135 |
SOURCE_GROUP("os\\win" FILES ${PA_PLATFORM_SOURCES} ${PA_PLATFORM_INCLUDES})
|
|
| 136 |
SET(PA_SOURCES ${PA_SOURCES} ${PA_PLATFORM_SOURCES})
|
|
| 137 |
SET(PA_PRIVATE_INCLUDES ${PA_PRIVATE_INCLUDES} ${PA_PLATFORM_INCLUDES})
|
|
| 138 |
SET(PA_PRIVATE_INCLUDE_PATHS ${PA_PRIVATE_INCLUDE_PATHS} src/os/win)
|
|
| 139 |
|
|
| 140 |
SET(PA_LIBRARY_DEPENDENCIES ${PA_LIBRARY_DEPENDENCIES} winmm)
|
|
| 141 |
|
|
| 142 |
# Try to find ASIO SDK (assumes that portaudio and asiosdk folders are side-by-side, see |
|
| 143 |
# http://www.portaudio.com/trac/wiki/TutorialDir/Compile/WindowsASIOMSVC) |
|
| 144 |
FIND_PACKAGE(ASIOSDK) |
|
| 145 |
IF(ASIOSDK_FOUND) |
|
| 146 |
OPTION(PA_USE_ASIO "Enable support for ASIO" ON) |
|
| 147 |
ELSE() |
|
| 148 |
OPTION(PA_USE_ASIO "Enable support for ASIO" OFF) |
|
| 149 |
ENDIF() |
|
| 150 |
IF(PA_USE_ASIO) |
|
| 151 |
SET(PA_PRIVATE_INCLUDE_PATHS ${PA_PRIVATE_INCLUDE_PATHS} ${ASIOSDK_ROOT_DIR}/common)
|
|
| 152 |
SET(PA_PRIVATE_INCLUDE_PATHS ${PA_PRIVATE_INCLUDE_PATHS} ${ASIOSDK_ROOT_DIR}/host)
|
|
| 153 |
SET(PA_PRIVATE_INCLUDE_PATHS ${PA_PRIVATE_INCLUDE_PATHS} ${ASIOSDK_ROOT_DIR}/host/pc)
|
|
| 154 |
SET(PA_ASIO_SOURCES src/hostapi/asio/pa_asio.cpp src/hostapi/asio/iasiothiscallresolver.cpp) |
|
| 155 |
SET(PA_ASIOSDK_SOURCES ${ASIOSDK_ROOT_DIR}/common/asio.cpp ${ASIOSDK_ROOT_DIR}/host/pc/asiolist.cpp ${ASIOSDK_ROOT_DIR}/host/asiodrivers.cpp)
|
|
| 156 |
SOURCE_GROUP("hostapi\\ASIO" FILES ${PA_ASIO_SOURCES})
|
|
| 157 |
SOURCE_GROUP("hostapi\\ASIO\\ASIOSDK" FILES ${PA_ASIOSDK_SOURCES})
|
|
| 158 |
SET(PA_PUBLIC_INCLUDES ${PA_PUBLIC_INCLUDES} include/pa_asio.h)
|
|
| 159 |
SET(PA_SOURCES ${PA_SOURCES} ${PA_ASIO_SOURCES})
|
|
| 160 |
SET(PA_NON_UNICODE_SOURCES ${PA_NON_UNICODE_SOURCES} ${PA_ASIOSDK_SOURCES})
|
|
| 161 |
SET(PA_LIBRARY_DEPENDENCIES ${PA_LIBRARY_DEPENDENCIES} ole32 uuid)
|
|
| 162 |
ELSE() |
|
| 163 |
# Set variables for DEF file expansion |
|
| 164 |
SET(DEF_EXCLUDE_ASIO_SYMBOLS ";") |
|
| 165 |
ENDIF() |
|
| 166 |
|
|
| 167 |
# Try to find DirectX SDK |
|
| 168 |
FIND_PACKAGE(DXSDK) |
|
| 169 |
IF(DXSDK_FOUND) |
|
| 170 |
OPTION(PA_USE_DS "Enable support for DirectSound" ON) |
|
| 171 |
ELSE() |
|
| 172 |
OPTION(PA_USE_DS "Enable support for DirectSound" OFF) |
|
| 173 |
ENDIF() |
|
| 174 |
IF(PA_USE_DS) |
|
| 175 |
OPTION(PA_USE_DIRECTSOUNDFULLDUPLEXCREATE "Use DirectSound full duplex create" ON) |
|
| 176 |
MARK_AS_ADVANCED(PA_USE_DIRECTSOUNDFULLDUPLEXCREATE) |
|
| 177 |
IF(PA_USE_DIRECTSOUNDFULLDUPLEXCREATE) |
|
| 178 |
SET(PA_PRIVATE_COMPILE_DEFINITIONS ${PA_PRIVATE_COMPILE_DEFINITIONS} PAWIN_USE_DIRECTSOUNDFULLDUPLEXCREATE)
|
|
| 179 |
ENDIF() |
|
| 180 |
SET(PA_PRIVATE_INCLUDE_PATHS ${PA_PRIVATE_INCLUDE_PATHS} ${DXSDK_INCLUDE_DIR})
|
|
| 181 |
SET(PA_DS_INCLUDES src/hostapi/dsound/pa_win_ds_dynlink.h) |
|
| 182 |
SET(PA_DS_SOURCES src/hostapi/dsound/pa_win_ds.c src/hostapi/dsound/pa_win_ds_dynlink.c) |
|
| 183 |
SOURCE_GROUP("hostapi\\dsound" FILES ${PA_DS_INCLUDES} ${PA_DS_SOURCES})
|
|
| 184 |
SET(PA_PUBLIC_INCLUDES ${PA_PUBLIC_INCLUDES} include/pa_win_ds.h)
|
|
| 185 |
SET(PA_PRIVATE_INCLUDES ${PA_PRIVATE_INCLUDES} ${PA_DS_INCLUDES})
|
|
| 186 |
SET(PA_SOURCES ${PA_SOURCES} ${PA_DS_SOURCES})
|
|
| 187 |
|
|
| 188 |
# If we use DirectSound, we need this for the library to be found (if not in VS project settings) |
|
| 189 |
IF(DXSDK_FOUND) |
|
| 190 |
SET(PA_LIBRARY_DEPENDENCIES ${PA_LIBRARY_DEPENDENCIES} ${DXSDK_DSOUND_LIBRARY})
|
|
| 191 |
ENDIF() |
|
| 192 |
ENDIF() |
|
| 193 |
|
|
| 194 |
OPTION(PA_USE_WMME "Enable support for MME" ON) |
|
| 195 |
IF(PA_USE_WMME) |
|
| 196 |
SET(PA_WMME_SOURCES src/hostapi/wmme/pa_win_wmme.c) |
|
| 197 |
SOURCE_GROUP("hostapi\\wmme" FILES ${PA_WMME_SOURCES})
|
|
| 198 |
SET(PA_PUBLIC_INCLUDES ${PA_PUBLIC_INCLUDES} include/pa_win_wmme.h)
|
|
| 199 |
SET(PA_SOURCES ${PA_SOURCES} ${PA_WMME_SOURCES})
|
|
| 200 |
SET(PA_LIBRARY_DEPENDENCIES ${PA_LIBRARY_DEPENDENCIES} ole32 uuid)
|
|
| 201 |
ENDIF() |
|
| 202 |
|
|
| 203 |
IF(MSVS) |
|
| 204 |
OPTION(PA_USE_WASAPI "Enable support for WASAPI" ON) |
|
| 205 |
ELSE() |
|
| 206 |
# I was unable to get WASAPI to compile outside of Visual Studio. If |
|
| 207 |
# anyone can figure out how to make this work with MinGW, please fix me. |
|
| 208 |
SET(PA_USE_WASAPI OFF) |
|
| 209 |
ENDIF() |
|
| 210 |
IF(PA_USE_WASAPI) |
|
| 211 |
SET(PA_WASAPI_SOURCES src/hostapi/wasapi/pa_win_wasapi.c) |
|
| 212 |
SOURCE_GROUP("hostapi\\wasapi" FILES ${PA_WASAPI_SOURCES})
|
|
| 213 |
SET(PA_PUBLIC_INCLUDES ${PA_PUBLIC_INCLUDES} include/pa_win_wasapi.h)
|
|
| 214 |
SET(PA_SOURCES ${PA_SOURCES} ${PA_WASAPI_SOURCES})
|
|
| 215 |
SET(PA_LIBRARY_DEPENDENCIES ${PA_LIBRARY_DEPENDENCIES} ole32 uuid)
|
|
| 216 |
IF(NOT MSVC) |
|
| 217 |
SET(PA_PRIVATE_INCLUDE_PATHS ${PA_PRIVATE_INCLUDE_PATHS} src/hostapi/wasapi/mingw-include)
|
|
| 218 |
ENDIF() |
|
| 219 |
ELSE() |
|
| 220 |
SET(DEF_EXCLUDE_WASAPI_SYMBOLS ";") |
|
| 221 |
ENDIF() |
|
| 222 |
|
|
| 223 |
OPTION(PA_USE_WDMKS "Enable support for WDMKS" ON) |
|
| 224 |
IF(PA_USE_WDMKS) |
|
| 225 |
SET(PA_WDMKS_SOURCES src/hostapi/wdmks/pa_win_wdmks.c) |
|
| 226 |
SOURCE_GROUP("hostapi\\wdmks" FILES ${PA_WDMKS_SOURCES})
|
|
| 227 |
SET(PA_PUBLIC_INCLUDES ${PA_PUBLIC_INCLUDES} include/pa_win_wdmks.h)
|
|
| 228 |
SET(PA_SOURCES ${PA_SOURCES} ${PA_WDMKS_SOURCES})
|
|
| 229 |
SET(PA_LIBRARY_DEPENDENCIES ${PA_LIBRARY_DEPENDENCIES} setupapi ole32 uuid)
|
|
| 230 |
ENDIF() |
|
| 231 |
|
|
| 232 |
OPTION(PA_USE_WDMKS_DEVICE_INFO "Use WDM/KS API for device info" ON) |
|
| 233 |
MARK_AS_ADVANCED(PA_USE_WDMKS_DEVICE_INFO) |
|
| 234 |
IF(PA_USE_WDMKS_DEVICE_INFO) |
|
| 235 |
SET(PA_PRIVATE_COMPILE_DEFINITIONS ${PA_PRIVATE_COMPILE_DEFINITIONS} PAWIN_USE_WDMKS_DEVICE_INFO)
|
|
| 236 |
ENDIF() |
|
| 237 |
|
|
| 238 |
SET(GENERATED_MESSAGE "CMake generated file, do NOT edit! Use CMake-GUI to change configuration instead.") |
|
| 239 |
CONFIGURE_FILE(cmake_support/template_portaudio.def ${CMAKE_CURRENT_BINARY_DIR}/portaudio_cmake.def @ONLY)
|
|
| 240 |
CONFIGURE_FILE(cmake_support/options_cmake.h.in ${CMAKE_CURRENT_BINARY_DIR}/options_cmake.h @ONLY)
|
|
| 241 |
SET(PA_PRIVATE_INCLUDES ${PA_PRIVATE_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR}/options_cmake.h)
|
|
| 242 |
SET(PA_PRIVATE_COMPILE_DEFINITIONS ${PA_PRIVATE_COMPILE_DEFINITIONS} PORTAUDIO_CMAKE_GENERATED)
|
|
| 243 |
SOURCE_GROUP("cmake_generated" FILES ${CMAKE_CURRENT_BINARY_DIR}/portaudio_cmake.def ${CMAKE_CURRENT_BINARY_DIR}/options_cmake.h)
|
|
| 244 |
|
|
| 245 |
SET(PA_EXTRA_SHARED_SOURCES ${CMAKE_CURRENT_BINARY_DIR}/portaudio_cmake.def)
|
|
| 246 |
|
|
| 247 |
ELSE() |
|
| 248 |
|
|
| 249 |
SET(PA_PRIVATE_INCLUDE_PATHS ${PA_PRIVATE_INCLUDE_PATHS} src/os/unix)
|
|
| 250 |
SET(PA_PLATFORM_SOURCES src/os/unix/pa_unix_hostapis.c src/os/unix/pa_unix_util.c) |
|
| 251 |
SOURCE_GROUP("os\\unix" FILES ${PA_PLATFORM_SOURCES})
|
|
| 252 |
SET(PA_SOURCES ${PA_SOURCES} ${PA_PLATFORM_SOURCES})
|
|
| 253 |
|
|
| 254 |
IF(APPLE) |
|
| 255 |
|
|
| 256 |
SET(CMAKE_MACOSX_RPATH 1) |
|
| 257 |
OPTION(PA_USE_COREAUDIO "Enable support for CoreAudio" ON) |
|
| 258 |
IF(PA_USE_COREAUDIO) |
|
| 259 |
SET(PA_COREAUDIO_SOURCES |
|
| 260 |
src/hostapi/coreaudio/pa_mac_core.c |
|
| 261 |
src/hostapi/coreaudio/pa_mac_core_blocking.c |
|
| 262 |
src/hostapi/coreaudio/pa_mac_core_utilities.c) |
|
| 263 |
SET(PA_COREAUDIO_INCLUDES |
|
| 264 |
src/hostapi/coreaudio/pa_mac_core_blocking.h |
|
| 265 |
src/hostapi/coreaudio/pa_mac_core_utilities.h) |
|
| 266 |
SOURCE_GROUP("hostapi\\coreaudio" FILES ${PA_COREAUDIO_SOURCES} ${PA_COREAUDIO_INCLUDES})
|
|
| 267 |
SET(PA_PUBLIC_INCLUDES ${PA_PUBLIC_INCLUDES} include/pa_mac_core.h)
|
|
| 268 |
SET(PA_PRIVATE_INCLUDES ${PA_PRIVATE_INCLUDES} ${PA_COREAUDIO_INCLUDES})
|
|
| 269 |
SET(PA_SOURCES ${PA_SOURCES} ${PA_COREAUDIO_SOURCES})
|
|
| 270 |
|
|
| 271 |
FIND_LIBRARY(COREAUDIO_LIBRARY CoreAudio REQUIRED) |
|
| 272 |
FIND_LIBRARY(AUDIOTOOLBOX_LIBRARY AudioToolbox REQUIRED) |
|
| 273 |
FIND_LIBRARY(AUDIOUNIT_LIBRARY AudioUnit REQUIRED) |
|
| 274 |
FIND_LIBRARY(CARBON_LIBRARY Carbon REQUIRED) |
|
| 275 |
MARK_AS_ADVANCED(COREAUDIO_LIBRARY AUDIOTOOLBOX_LIBRARY AUDIOUNIT_LIBRARY CARBON_LIBRARY) |
|
| 276 |
SET(PA_LIBRARY_DEPENDENCIES ${PA_LIBRARY_DEPENDENCIES} ${COREAUDIO_LIBRARY} ${AUDIOTOOLBOX_LIBRARY} ${AUDIOUNIT_LIBRARY} ${CARBON_LIBRARY})
|
|
| 277 |
SET(PA_PRIVATE_COMPILE_DEFINITIONS ${PA_PRIVATE_COMPILE_DEFINITIONS} PA_USE_COREAUDIO)
|
|
| 278 |
SET(PA_PKGCONFIG_LDFLAGS "${PA_PKGCONFIG_LDFLAGS} -framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon")
|
|
| 279 |
ENDIF() |
|
| 280 |
|
|
| 281 |
ELSEIF(UNIX) |
|
| 282 |
|
|
| 283 |
FIND_PACKAGE(Jack) |
|
| 284 |
IF(JACK_FOUND) |
|
| 285 |
OPTION(PA_USE_JACK "Enable support for Jack" ON) |
|
| 286 |
ELSE() |
|
| 287 |
OPTION(PA_USE_JACK "Enable support for Jack" OFF) |
|
| 288 |
ENDIF() |
|
| 289 |
IF(PA_USE_JACK) |
|
| 290 |
SET(PA_PRIVATE_INCLUDE_PATHS ${PA_PRIVATE_INCLUDE_PATHS} ${JACK_INCLUDE_DIRS})
|
|
| 291 |
SET(PA_JACK_SOURCES src/hostapi/jack/pa_jack.c) |
|
| 292 |
SOURCE_GROUP("hostapi\\JACK" FILES ${PA_JACK_SOURCES})
|
|
| 293 |
SET(PA_PUBLIC_INCLUDES ${PA_PUBLIC_INCLUDES} include/pa_jack.h)
|
|
| 294 |
SET(PA_SOURCES ${PA_SOURCES} ${PA_JACK_SOURCES})
|
|
| 295 |
SET(PA_PRIVATE_COMPILE_DEFINITIONS ${PA_PRIVATE_COMPILE_DEFINITIONS} PA_USE_JACK)
|
|
| 296 |
SET(PA_LIBRARY_DEPENDENCIES ${PA_LIBRARY_DEPENDENCIES} ${JACK_LIBRARIES})
|
|
| 297 |
SET(PA_PKGCONFIG_LDFLAGS "${PA_PKGCONFIG_LDFLAGS} -ljack")
|
|
| 298 |
ENDIF() |
|
| 299 |
|
|
| 300 |
FIND_PACKAGE(ALSA) |
|
| 301 |
IF(ALSA_FOUND) |
|
| 302 |
OPTION(PA_USE_ALSA "Enable support for ALSA" ON) |
|
| 303 |
ELSE() |
|
| 304 |
OPTION(PA_USE_ALSA "Enable support for ALSA" OFF) |
|
| 305 |
ENDIF() |
|
| 306 |
IF(PA_USE_ALSA) |
|
| 307 |
SET(PA_PRIVATE_INCLUDE_PATHS ${PA_PRIVATE_INCLUDE_PATHS} ${ALSA_INCLUDE_DIRS})
|
|
| 308 |
SET(PA_ALSA_SOURCES src/hostapi/alsa/pa_linux_alsa.c) |
|
| 309 |
SOURCE_GROUP("hostapi\\ALSA" FILES ${PA_ALSA_SOURCES})
|
|
| 310 |
SET(PA_PUBLIC_INCLUDES ${PA_PUBLIC_INCLUDES} include/pa_linux_alsa.h)
|
|
| 311 |
SET(PA_SOURCES ${PA_SOURCES} ${PA_ALSA_SOURCES})
|
|
| 312 |
SET(PA_PRIVATE_COMPILE_DEFINITIONS ${PA_PRIVATE_COMPILE_DEFINITIONS} PA_USE_ALSA)
|
|
| 313 |
SET(PA_LIBRARY_DEPENDENCIES ${PA_LIBRARY_DEPENDENCIES} ${ALSA_LIBRARIES})
|
|
| 314 |
SET(PA_PKGCONFIG_LDFLAGS "${PA_PKGCONFIG_LDFLAGS} -lasound")
|
|
| 315 |
ENDIF() |
|
| 316 |
|
|
| 317 |
ENDIF() |
|
| 318 |
|
|
| 319 |
SET(PA_PKGCONFIG_LDFLAGS "${PA_PKGCONFIG_LDFLAGS} -lm -lpthread")
|
|
| 320 |
SET(PA_LIBRARY_DEPENDENCIES ${PA_LIBRARY_DEPENDENCIES} m pthread)
|
|
| 321 |
|
|
| 322 |
ENDIF() |
|
| 323 |
|
|
| 324 |
SOURCE_GROUP("include" FILES ${PA_PUBLIC_INCLUDES})
|
|
| 325 |
|
|
| 326 |
SET(PA_INCLUDES ${PA_PRIVATE_INCLUDES} ${PA_PUBLIC_INCLUDES})
|
|
| 327 |
|
|
| 328 |
IF(WIN32) |
|
| 329 |
OPTION(PA_UNICODE_BUILD "Enable Portaudio Unicode build" ON) |
|
| 330 |
IF(PA_UNICODE_BUILD) |
|
| 331 |
SET_SOURCE_FILES_PROPERTIES(${PA_SOURCES} PROPERTIES COMPILE_DEFINITIONS "UNICODE;_UNICODE")
|
|
| 332 |
ENDIF() |
|
| 333 |
ENDIF() |
|
| 334 |
|
|
| 335 |
OPTION(PA_ENABLE_DEBUG_OUTPUT "Enable debug output for Portaudio" OFF) |
|
| 336 |
IF(PA_ENABLE_DEBUG_OUTPUT) |
|
| 337 |
SET(PA_PRIVATE_COMPILE_DEFINITIONS ${PA_PRIVATE_COMPILE_DEFINITIONS} PA_ENABLE_DEBUG_OUTPUT)
|
|
| 338 |
ENDIF() |
|
| 339 |
|
|
| 340 |
INCLUDE(TestBigEndian) |
|
| 341 |
TEST_BIG_ENDIAN(IS_BIG_ENDIAN) |
|
| 342 |
IF(IS_BIG_ENDIAN) |
|
| 343 |
SET(PA_PRIVATE_COMPILE_DEFINITIONS ${PA_PRIVATE_COMPILE_DEFINITIONS} PA_BIG_ENDIAN)
|
|
| 344 |
ELSE() |
|
| 345 |
SET(PA_PRIVATE_COMPILE_DEFINITIONS ${PA_PRIVATE_COMPILE_DEFINITIONS} PA_LITTLE_ENDIAN)
|
|
| 346 |
ENDIF() |
|
| 347 |
|
|
| 348 |
ADD_LIBRARY(portaudio SHARED ${PA_INCLUDES} ${PA_COMMON_INCLUDES} ${PA_SOURCES} ${PA_NON_UNICODE_SOURCES} ${PA_EXTRA_SHARED_SOURCES})
|
|
| 349 |
SET_PROPERTY(TARGET portaudio APPEND_STRING PROPERTY COMPILE_DEFINITIONS ${PA_PRIVATE_COMPILE_DEFINITIONS})
|
|
| 350 |
TARGET_INCLUDE_DIRECTORIES(portaudio PRIVATE ${PA_PRIVATE_INCLUDE_PATHS})
|
|
| 351 |
TARGET_INCLUDE_DIRECTORIES(portaudio PUBLIC include) |
|
| 352 |
TARGET_LINK_LIBRARIES(portaudio ${PA_LIBRARY_DEPENDENCIES})
|
|
| 353 |
|
|
| 354 |
ADD_LIBRARY(portaudio_static STATIC ${PA_INCLUDES} ${PA_COMMON_INCLUDES} ${PA_SOURCES} ${PA_NON_UNICODE_SOURCES})
|
|
| 355 |
SET_PROPERTY(TARGET portaudio_static APPEND_STRING PROPERTY COMPILE_DEFINITIONS ${PA_PRIVATE_COMPILE_DEFINITIONS})
|
|
| 356 |
TARGET_INCLUDE_DIRECTORIES(portaudio_static PRIVATE ${PA_PRIVATE_INCLUDE_PATHS})
|
|
| 357 |
TARGET_INCLUDE_DIRECTORIES(portaudio_static PUBLIC include) |
|
| 358 |
TARGET_LINK_LIBRARIES(portaudio_static ${PA_LIBRARY_DEPENDENCIES})
|
|
| 359 |
|
|
| 360 |
IF(WIN32 AND MSVC) |
|
| 361 |
OPTION(PA_CONFIG_LIB_OUTPUT_PATH "Make sure that output paths are kept neat" OFF) |
|
| 362 |
IF(CMAKE_CL_64) |
|
| 363 |
SET(TARGET_POSTFIX x64) |
|
| 364 |
IF(PA_CONFIG_LIB_OUTPUT_PATH) |
|
| 365 |
SET(LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/bin/x64)
|
|
| 366 |
ENDIF() |
|
| 367 |
ELSE() |
|
| 368 |
SET(TARGET_POSTFIX x86) |
|
| 369 |
IF(PA_CONFIG_LIB_OUTPUT_PATH) |
|
| 370 |
SET(LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/bin/Win32)
|
|
| 371 |
ENDIF() |
|
| 372 |
ENDIF() |
|
| 373 |
SET_TARGET_PROPERTIES(portaudio PROPERTIES OUTPUT_NAME portaudio_${TARGET_POSTFIX} FOLDER "Portaudio")
|
|
| 374 |
SET_TARGET_PROPERTIES(portaudio_static PROPERTIES OUTPUT_NAME portaudio_static_${TARGET_POSTFIX} FOLDER "Portaudio")
|
|
| 375 |
ELSE() |
|
| 376 |
IF(APPLE AND CMAKE_VERSION VERSION_GREATER 3.4.2) |
|
| 377 |
OPTION(PA_OUTPUT_OSX_FRAMEWORK "Generate an OS X framework instead of the simple library" OFF) |
|
| 378 |
IF(PA_OUTPUT_OSX_FRAMEWORK) |
|
| 379 |
SET_TARGET_PROPERTIES(portaudio PROPERTIES |
|
| 380 |
FRAMEWORK TRUE |
|
| 381 |
MACOSX_FRAMEWORK_IDENTIFIER com.portaudio |
|
| 382 |
FRAMEWORK_VERSION A |
|
| 383 |
PUBLIC_HEADER "${PA_PUBLIC_INCLUDES}"
|
|
| 384 |
VERSION 19.0 |
|
| 385 |
SOVERSION 19.0) |
|
| 386 |
ENDIF() |
|
| 387 |
ENDIF() |
|
| 388 |
|
|
| 389 |
IF(NOT PA_OUTPUT_OSX_FRAMEWORK) |
|
| 390 |
CONFIGURE_FILE(cmake_support/portaudio-2.0.pc.in ${CMAKE_CURRENT_BINARY_DIR}/portaudio-2.0.pc @ONLY)
|
|
| 391 |
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/portaudio-2.0.pc DESTINATION lib/pkgconfig)
|
|
| 392 |
INSTALL(FILES ${PA_PUBLIC_INCLUDES} DESTINATION include)
|
|
| 393 |
INSTALL(TARGETS portaudio DESTINATION lib) |
|
| 394 |
ENDIF() |
|
| 395 |
ENDIF() |
|
| 396 |
|
|
| 397 |
# Prepared for inclusion of test files |
|
| 398 |
OPTION(PA_BUILD_TESTS "Include test projects" OFF) |
|
| 399 |
IF(PA_BUILD_TESTS) |
|
| 400 |
SUBDIRS(test) |
|
| 401 |
ENDIF() |
|
| 402 |
|
|
| 403 |
# Prepared for inclusion of test files |
|
| 404 |
OPTION(PA_BUILD_EXAMPLES "Include example projects" OFF) |
|
| 405 |
IF(PA_BUILD_EXAMPLES) |
|
| 406 |
SUBDIRS(examples) |
|
| 407 |
ENDIF() |
|
| 408 |
|
|
| src/portaudio_20161030_catalina_patch/Doxyfile | ||
|---|---|---|
| 1 |
# Doxyfile 1.4.6 |
|
| 2 |
|
|
| 3 |
#--------------------------------------------------------------------------- |
|
| 4 |
# Project related configuration options |
|
| 5 |
#--------------------------------------------------------------------------- |
|
| 6 |
PROJECT_NAME = PortAudio |
|
| 7 |
PROJECT_NUMBER = 2.0 |
|
| 8 |
OUTPUT_DIRECTORY = ./doc/ |
|
| 9 |
CREATE_SUBDIRS = NO |
|
| 10 |
OUTPUT_LANGUAGE = English |
|
| 11 |
USE_WINDOWS_ENCODING = NO |
|
| 12 |
BRIEF_MEMBER_DESC = YES |
|
| 13 |
REPEAT_BRIEF = YES |
|
| 14 |
ABBREVIATE_BRIEF = "The $name class" \ |
|
| 15 |
"The $name widget" \ |
|
| 16 |
"The $name file" \ |
|
| 17 |
is \ |
|
| 18 |
provides \ |
|
| 19 |
specifies \ |
|
| 20 |
contains \ |
|
| 21 |
represents \ |
|
| 22 |
a \ |
|
| 23 |
an \ |
|
| 24 |
the |
|
| 25 |
ALWAYS_DETAILED_SEC = NO |
|
| 26 |
INLINE_INHERITED_MEMB = NO |
|
| 27 |
FULL_PATH_NAMES = NO |
|
| 28 |
STRIP_FROM_PATH = |
|
| 29 |
STRIP_FROM_INC_PATH = |
|
| 30 |
SHORT_NAMES = NO |
|
| 31 |
JAVADOC_AUTOBRIEF = NO |
|
| 32 |
MULTILINE_CPP_IS_BRIEF = NO |
|
| 33 |
DETAILS_AT_TOP = NO |
|
| 34 |
INHERIT_DOCS = YES |
|
| 35 |
SEPARATE_MEMBER_PAGES = NO |
|
| 36 |
TAB_SIZE = 8 |
|
| 37 |
ALIASES = |
|
| 38 |
OPTIMIZE_OUTPUT_FOR_C = YES |
|
| 39 |
OPTIMIZE_OUTPUT_JAVA = NO |
|
| 40 |
BUILTIN_STL_SUPPORT = NO |
|
| 41 |
DISTRIBUTE_GROUP_DOC = NO |
|
| 42 |
SUBGROUPING = YES |
|
| 43 |
#--------------------------------------------------------------------------- |
|
| 44 |
# Build related configuration options |
|
| 45 |
#--------------------------------------------------------------------------- |
|
| 46 |
EXTRACT_ALL = NO |
|
| 47 |
EXTRACT_PRIVATE = NO |
|
| 48 |
EXTRACT_STATIC = NO |
|
| 49 |
EXTRACT_LOCAL_CLASSES = YES |
|
| 50 |
EXTRACT_LOCAL_METHODS = NO |
|
| 51 |
HIDE_UNDOC_MEMBERS = NO |
|
| 52 |
HIDE_UNDOC_CLASSES = NO |
|
| 53 |
HIDE_FRIEND_COMPOUNDS = NO |
|
| 54 |
HIDE_IN_BODY_DOCS = NO |
|
| 55 |
INTERNAL_DOCS = NO |
|
| 56 |
CASE_SENSE_NAMES = YES |
|
| 57 |
HIDE_SCOPE_NAMES = NO |
|
| 58 |
SHOW_INCLUDE_FILES = YES |
|
| 59 |
INLINE_INFO = YES |
|
| 60 |
SORT_MEMBER_DOCS = YES |
|
| 61 |
SORT_BRIEF_DOCS = NO |
|
| 62 |
SORT_BY_SCOPE_NAME = NO |
|
| 63 |
GENERATE_TODOLIST = NO |
|
| 64 |
GENERATE_TESTLIST = NO |
|
| 65 |
GENERATE_BUGLIST = NO |
|
| 66 |
GENERATE_DEPRECATEDLIST= YES |
|
| 67 |
ENABLED_SECTIONS = |
|
| 68 |
MAX_INITIALIZER_LINES = 30 |
|
| 69 |
SHOW_USED_FILES = YES |
|
| 70 |
SHOW_DIRECTORIES = YES |
|
| 71 |
FILE_VERSION_FILTER = |
|
| 72 |
#--------------------------------------------------------------------------- |
|
| 73 |
# configuration options related to warning and progress messages |
|
| 74 |
#--------------------------------------------------------------------------- |
|
| 75 |
QUIET = NO |
|
| 76 |
WARNINGS = YES |
|
| 77 |
WARN_IF_UNDOCUMENTED = YES |
|
| 78 |
WARN_IF_DOC_ERROR = YES |
|
| 79 |
WARN_NO_PARAMDOC = NO |
|
| 80 |
WARN_FORMAT = "$file:$line: $text" |
|
| 81 |
WARN_LOGFILE = |
|
| 82 |
#--------------------------------------------------------------------------- |
|
| 83 |
# configuration options related to the input files |
|
| 84 |
#--------------------------------------------------------------------------- |
|
| 85 |
INPUT = doc/src \ |
|
| 86 |
include \ |
|
| 87 |
examples |
|
| 88 |
FILE_PATTERNS = *.h \ |
|
| 89 |
*.c \ |
|
| 90 |
*.cpp \ |
|
| 91 |
*.java \ |
|
| 92 |
*.dox |
|
| 93 |
RECURSIVE = YES |
|
| 94 |
EXCLUDE = src/hostapi/wasapi/mingw-include |
|
| 95 |
EXCLUDE_SYMLINKS = NO |
|
| 96 |
EXCLUDE_PATTERNS = |
|
| 97 |
EXAMPLE_PATH = |
|
| 98 |
EXAMPLE_PATTERNS = |
|
| 99 |
EXAMPLE_RECURSIVE = NO |
|
| 100 |
IMAGE_PATH = doc/src/images |
|
| 101 |
INPUT_FILTER = |
|
| 102 |
FILTER_PATTERNS = |
|
| 103 |
FILTER_SOURCE_FILES = NO |
|
| 104 |
#--------------------------------------------------------------------------- |
|
| 105 |
# configuration options related to source browsing |
|
| 106 |
#--------------------------------------------------------------------------- |
|
| 107 |
SOURCE_BROWSER = YES |
|
| 108 |
INLINE_SOURCES = NO |
|
| 109 |
STRIP_CODE_COMMENTS = YES |
|
| 110 |
REFERENCED_BY_RELATION = YES |
|
| 111 |
REFERENCES_RELATION = YES |
|
| 112 |
USE_HTAGS = NO |
|
| 113 |
VERBATIM_HEADERS = YES |
|
| 114 |
#--------------------------------------------------------------------------- |
|
| 115 |
# configuration options related to the alphabetical class index |
|
| 116 |
#--------------------------------------------------------------------------- |
|
| 117 |
ALPHABETICAL_INDEX = NO |
|
| 118 |
COLS_IN_ALPHA_INDEX = 5 |
|
| 119 |
IGNORE_PREFIX = |
|
| 120 |
#--------------------------------------------------------------------------- |
|
| 121 |
# configuration options related to the HTML output |
|
| 122 |
#--------------------------------------------------------------------------- |
|
| 123 |
GENERATE_HTML = YES |
|
| 124 |
HTML_OUTPUT = html |
|
| 125 |
HTML_FILE_EXTENSION = .html |
|
| 126 |
HTML_HEADER = |
|
| 127 |
HTML_FOOTER = |
|
| 128 |
HTML_STYLESHEET = |
|
| 129 |
HTML_ALIGN_MEMBERS = YES |
|
| 130 |
GENERATE_HTMLHELP = NO |
|
| 131 |
CHM_FILE = |
|
| 132 |
HHC_LOCATION = |
|
| 133 |
GENERATE_CHI = NO |
|
| 134 |
BINARY_TOC = NO |
|
| 135 |
TOC_EXPAND = NO |
|
| 136 |
DISABLE_INDEX = NO |
|
| 137 |
ENUM_VALUES_PER_LINE = 4 |
|
| 138 |
GENERATE_TREEVIEW = NO |
|
| 139 |
TREEVIEW_WIDTH = 250 |
|
| 140 |
#--------------------------------------------------------------------------- |
|
| 141 |
# configuration options related to the LaTeX output |
|
| 142 |
#--------------------------------------------------------------------------- |
|
| 143 |
GENERATE_LATEX = NO |
|
| 144 |
LATEX_OUTPUT = latex |
|
| 145 |
LATEX_CMD_NAME = latex |
|
| 146 |
MAKEINDEX_CMD_NAME = makeindex |
|
| 147 |
COMPACT_LATEX = NO |
|
| 148 |
PAPER_TYPE = a4wide |
|
| 149 |
EXTRA_PACKAGES = |
|
| 150 |
LATEX_HEADER = |
|
| 151 |
PDF_HYPERLINKS = NO |
|
| 152 |
USE_PDFLATEX = NO |
|
| 153 |
LATEX_BATCHMODE = NO |
|
| 154 |
LATEX_HIDE_INDICES = NO |
|
| 155 |
#--------------------------------------------------------------------------- |
|
| 156 |
# configuration options related to the RTF output |
|
| 157 |
#--------------------------------------------------------------------------- |
|
| 158 |
GENERATE_RTF = NO |
|
| 159 |
RTF_OUTPUT = rtf |
|
| 160 |
COMPACT_RTF = NO |
|
| 161 |
RTF_HYPERLINKS = NO |
|
| 162 |
RTF_STYLESHEET_FILE = |
|
| 163 |
RTF_EXTENSIONS_FILE = |
|
| 164 |
#--------------------------------------------------------------------------- |
|
| 165 |
# configuration options related to the man page output |
|
| 166 |
#--------------------------------------------------------------------------- |
|
| 167 |
GENERATE_MAN = NO |
|
| 168 |
MAN_OUTPUT = man |
|
| 169 |
MAN_EXTENSION = .3 |
|
| 170 |
MAN_LINKS = NO |
|
| 171 |
#--------------------------------------------------------------------------- |
|
| 172 |
# configuration options related to the XML output |
|
| 173 |
#--------------------------------------------------------------------------- |
|
| 174 |
GENERATE_XML = NO |
|
| 175 |
XML_OUTPUT = xml |
|
| 176 |
XML_SCHEMA = |
|
| 177 |
XML_DTD = |
|
| 178 |
XML_PROGRAMLISTING = YES |
|
| 179 |
#--------------------------------------------------------------------------- |
|
| 180 |
# configuration options for the AutoGen Definitions output |
|
| 181 |
#--------------------------------------------------------------------------- |
|
| 182 |
GENERATE_AUTOGEN_DEF = NO |
|
| 183 |
#--------------------------------------------------------------------------- |
|
| 184 |
# configuration options related to the Perl module output |
|
| 185 |
#--------------------------------------------------------------------------- |
|
| 186 |
GENERATE_PERLMOD = NO |
|
| 187 |
PERLMOD_LATEX = NO |
|
| 188 |
PERLMOD_PRETTY = YES |
|
| 189 |
PERLMOD_MAKEVAR_PREFIX = |
|
| 190 |
#--------------------------------------------------------------------------- |
|
| 191 |
# Configuration options related to the preprocessor |
|
| 192 |
#--------------------------------------------------------------------------- |
|
| 193 |
ENABLE_PREPROCESSING = YES |
|
| 194 |
MACRO_EXPANSION = NO |
|
| 195 |
EXPAND_ONLY_PREDEF = NO |
|
| 196 |
SEARCH_INCLUDES = YES |
|
| 197 |
INCLUDE_PATH = |
|
| 198 |
INCLUDE_FILE_PATTERNS = |
|
| 199 |
PREDEFINED = |
|
| 200 |
EXPAND_AS_DEFINED = |
|
| 201 |
SKIP_FUNCTION_MACROS = YES |
|
| 202 |
#--------------------------------------------------------------------------- |
|
| 203 |
# Configuration::additions related to external references |
|
| 204 |
#--------------------------------------------------------------------------- |
|
| 205 |
TAGFILES = |
|
| 206 |
GENERATE_TAGFILE = |
|
| 207 |
ALLEXTERNALS = NO |
|
| 208 |
EXTERNAL_GROUPS = YES |
|
| 209 |
PERL_PATH = /usr/bin/perl |
|
| 210 |
#--------------------------------------------------------------------------- |
|
| 211 |
# Configuration options related to the dot tool |
|
| 212 |
#--------------------------------------------------------------------------- |
|
| 213 |
CLASS_DIAGRAMS = NO |
|
| 214 |
HIDE_UNDOC_RELATIONS = NO |
|
| 215 |
HAVE_DOT = NO |
|
| 216 |
CLASS_GRAPH = YES |
|
| 217 |
COLLABORATION_GRAPH = YES |
|
| 218 |
GROUP_GRAPHS = YES |
|
| 219 |
UML_LOOK = NO |
|
| 220 |
TEMPLATE_RELATIONS = YES |
|
| 221 |
INCLUDE_GRAPH = YES |
|
| 222 |
INCLUDED_BY_GRAPH = YES |
|
| 223 |
CALL_GRAPH = NO |
|
| 224 |
GRAPHICAL_HIERARCHY = YES |
|
| 225 |
DIRECTORY_GRAPH = YES |
|
| 226 |
DOT_IMAGE_FORMAT = png |
|
| 227 |
DOT_PATH = |
|
| 228 |
DOTFILE_DIRS = |
|
| 229 |
MAX_DOT_GRAPH_WIDTH = 1024 |
|
| 230 |
MAX_DOT_GRAPH_HEIGHT = 1024 |
|
| 231 |
MAX_DOT_GRAPH_DEPTH = 1000 |
|
| 232 |
DOT_TRANSPARENT = NO |
|
| 233 |
DOT_MULTI_TARGETS = NO |
|
| 234 |
GENERATE_LEGEND = YES |
|
| 235 |
DOT_CLEANUP = YES |
|
| 236 |
#--------------------------------------------------------------------------- |
|
| 237 |
# Configuration::additions related to the search engine |
|
| 238 |
#--------------------------------------------------------------------------- |
|
| 239 |
SEARCHENGINE = NO |
|
| src/portaudio_20161030_catalina_patch/Doxyfile.developer | ||
|---|---|---|
| 1 |
# Doxyfile 1.4.6 |
|
| 2 |
|
|
| 3 |
#--------------------------------------------------------------------------- |
|
| 4 |
# Project related configuration options |
|
| 5 |
#--------------------------------------------------------------------------- |
|
| 6 |
PROJECT_NAME = PortAudio |
|
| 7 |
PROJECT_NUMBER = 2.0 |
|
| 8 |
OUTPUT_DIRECTORY = ./doc/ |
|
| 9 |
CREATE_SUBDIRS = NO |
|
| 10 |
OUTPUT_LANGUAGE = English |
|
| 11 |
USE_WINDOWS_ENCODING = NO |
|
| 12 |
BRIEF_MEMBER_DESC = YES |
|
| 13 |
REPEAT_BRIEF = YES |
|
| 14 |
ABBREVIATE_BRIEF = "The $name class" \ |
|
| 15 |
"The $name widget" \ |
|
| 16 |
"The $name file" \ |
|
| 17 |
is \ |
|
| 18 |
provides \ |
|
| 19 |
specifies \ |
|
| 20 |
contains \ |
|
| 21 |
represents \ |
|
| 22 |
a \ |
|
| 23 |
an \ |
|
| 24 |
the |
|
| 25 |
ALWAYS_DETAILED_SEC = NO |
|
| 26 |
INLINE_INHERITED_MEMB = NO |
|
| 27 |
FULL_PATH_NAMES = NO |
|
| 28 |
STRIP_FROM_PATH = |
|
| 29 |
STRIP_FROM_INC_PATH = |
|
| 30 |
SHORT_NAMES = NO |
|
| 31 |
JAVADOC_AUTOBRIEF = NO |
|
| 32 |
MULTILINE_CPP_IS_BRIEF = NO |
|
| 33 |
DETAILS_AT_TOP = NO |
|
| 34 |
INHERIT_DOCS = YES |
|
| 35 |
SEPARATE_MEMBER_PAGES = NO |
|
| 36 |
TAB_SIZE = 8 |
|
| 37 |
ALIASES = |
|
| 38 |
OPTIMIZE_OUTPUT_FOR_C = YES |
|
| 39 |
OPTIMIZE_OUTPUT_JAVA = NO |
|
| 40 |
BUILTIN_STL_SUPPORT = NO |
|
| 41 |
DISTRIBUTE_GROUP_DOC = NO |
|
| 42 |
SUBGROUPING = YES |
|
| 43 |
#--------------------------------------------------------------------------- |
|
| 44 |
# Build related configuration options |
|
| 45 |
#--------------------------------------------------------------------------- |
|
| 46 |
EXTRACT_ALL = YES |
|
| 47 |
EXTRACT_PRIVATE = NO |
|
| 48 |
EXTRACT_STATIC = NO |
|
| 49 |
EXTRACT_LOCAL_CLASSES = YES |
|
| 50 |
EXTRACT_LOCAL_METHODS = NO |
|
| 51 |
HIDE_UNDOC_MEMBERS = NO |
|
| 52 |
HIDE_UNDOC_CLASSES = NO |
|
| 53 |
HIDE_FRIEND_COMPOUNDS = NO |
|
| 54 |
HIDE_IN_BODY_DOCS = NO |
|
| 55 |
INTERNAL_DOCS = YES |
|
| 56 |
CASE_SENSE_NAMES = YES |
|
| 57 |
HIDE_SCOPE_NAMES = NO |
|
| 58 |
SHOW_INCLUDE_FILES = YES |
|
| 59 |
INLINE_INFO = YES |
|
| 60 |
SORT_MEMBER_DOCS = YES |
|
| 61 |
SORT_BRIEF_DOCS = NO |
|
| 62 |
SORT_BY_SCOPE_NAME = NO |
|
| 63 |
GENERATE_TODOLIST = YES |
|
| 64 |
GENERATE_TESTLIST = YES |
|
| 65 |
GENERATE_BUGLIST = YES |
|
| 66 |
GENERATE_DEPRECATEDLIST= YES |
|
| 67 |
ENABLED_SECTIONS = INTERNAL |
|
| 68 |
MAX_INITIALIZER_LINES = 30 |
|
| 69 |
SHOW_USED_FILES = YES |
|
| 70 |
SHOW_DIRECTORIES = YES |
|
| 71 |
FILE_VERSION_FILTER = |
|
| 72 |
#--------------------------------------------------------------------------- |
|
| 73 |
# configuration options related to warning and progress messages |
|
| 74 |
#--------------------------------------------------------------------------- |
|
| 75 |
QUIET = NO |
|
| 76 |
WARNINGS = YES |
|
| 77 |
WARN_IF_UNDOCUMENTED = YES |
|
| 78 |
WARN_IF_DOC_ERROR = YES |
|
| 79 |
WARN_NO_PARAMDOC = NO |
|
| 80 |
WARN_FORMAT = "$file:$line: $text" |
|
| 81 |
WARN_LOGFILE = |
|
| 82 |
#--------------------------------------------------------------------------- |
|
| 83 |
# configuration options related to the input files |
|
| 84 |
#--------------------------------------------------------------------------- |
|
| 85 |
INPUT = doc/src \ |
|
| 86 |
include \ |
|
| 87 |
examples \ |
|
| 88 |
src \ |
|
| 89 |
test \ |
|
| 90 |
qa |
|
| 91 |
FILE_PATTERNS = *.h \ |
|
| 92 |
*.c \ |
|
| 93 |
*.cpp \ |
|
| 94 |
*.java \ |
|
| 95 |
*.dox |
|
| 96 |
RECURSIVE = YES |
|
| 97 |
EXCLUDE = src/hostapi/wasapi/mingw-include |
|
| 98 |
EXCLUDE_SYMLINKS = NO |
|
| 99 |
EXCLUDE_PATTERNS = |
|
| 100 |
EXAMPLE_PATH = |
|
| 101 |
EXAMPLE_PATTERNS = |
|
| 102 |
EXAMPLE_RECURSIVE = NO |
|
| 103 |
IMAGE_PATH = doc/src/images |
|
| 104 |
INPUT_FILTER = |
|
| 105 |
FILTER_PATTERNS = |
|
| 106 |
FILTER_SOURCE_FILES = NO |
|
| 107 |
#--------------------------------------------------------------------------- |
|
| 108 |
# configuration options related to source browsing |
|
| 109 |
#--------------------------------------------------------------------------- |
|
| 110 |
SOURCE_BROWSER = NO |
|
| 111 |
INLINE_SOURCES = NO |
|
| 112 |
STRIP_CODE_COMMENTS = YES |
|
| 113 |
REFERENCED_BY_RELATION = YES |
|
| 114 |
REFERENCES_RELATION = YES |
|
| 115 |
USE_HTAGS = NO |
|
| 116 |
VERBATIM_HEADERS = YES |
|
| 117 |
#--------------------------------------------------------------------------- |
|
| 118 |
# configuration options related to the alphabetical class index |
|
| 119 |
#--------------------------------------------------------------------------- |
|
| 120 |
ALPHABETICAL_INDEX = NO |
|
| 121 |
COLS_IN_ALPHA_INDEX = 5 |
|
| 122 |
IGNORE_PREFIX = |
|
| 123 |
#--------------------------------------------------------------------------- |
|
| 124 |
# configuration options related to the HTML output |
|
| 125 |
#--------------------------------------------------------------------------- |
|
| 126 |
GENERATE_HTML = YES |
|
| 127 |
HTML_OUTPUT = html |
|
| 128 |
HTML_FILE_EXTENSION = .html |
|
| 129 |
HTML_HEADER = |
|
| 130 |
HTML_FOOTER = |
|
| 131 |
HTML_STYLESHEET = |
|
| 132 |
HTML_ALIGN_MEMBERS = YES |
|
| 133 |
GENERATE_HTMLHELP = NO |
|
| 134 |
CHM_FILE = |
|
| 135 |
HHC_LOCATION = |
|
| 136 |
GENERATE_CHI = NO |
|
| 137 |
BINARY_TOC = NO |
|
| 138 |
TOC_EXPAND = NO |
|
| 139 |
DISABLE_INDEX = NO |
|
| 140 |
ENUM_VALUES_PER_LINE = 4 |
|
| 141 |
GENERATE_TREEVIEW = NO |
|
| 142 |
TREEVIEW_WIDTH = 250 |
|
| 143 |
#--------------------------------------------------------------------------- |
|
| 144 |
# configuration options related to the LaTeX output |
|
| 145 |
#--------------------------------------------------------------------------- |
|
| 146 |
GENERATE_LATEX = NO |
|
| 147 |
LATEX_OUTPUT = latex |
|
| 148 |
LATEX_CMD_NAME = latex |
|
| 149 |
MAKEINDEX_CMD_NAME = makeindex |
|
| 150 |
COMPACT_LATEX = NO |
|
| 151 |
PAPER_TYPE = a4wide |
|
| 152 |
EXTRA_PACKAGES = |
|
| 153 |
LATEX_HEADER = |
|
| 154 |
PDF_HYPERLINKS = NO |
|
| 155 |
USE_PDFLATEX = NO |
|
| 156 |
LATEX_BATCHMODE = NO |
|
| 157 |
LATEX_HIDE_INDICES = NO |
|
| 158 |
#--------------------------------------------------------------------------- |
|
| 159 |
# configuration options related to the RTF output |
|
| 160 |
#--------------------------------------------------------------------------- |
|
| 161 |
GENERATE_RTF = NO |
|
| 162 |
RTF_OUTPUT = rtf |
|
| 163 |
COMPACT_RTF = NO |
|
| 164 |
RTF_HYPERLINKS = NO |
|
| 165 |
RTF_STYLESHEET_FILE = |
|
| 166 |
RTF_EXTENSIONS_FILE = |
|
| 167 |
#--------------------------------------------------------------------------- |
|
| 168 |
# configuration options related to the man page output |
|
| 169 |
#--------------------------------------------------------------------------- |
|
| 170 |
GENERATE_MAN = NO |
|
| 171 |
MAN_OUTPUT = man |
|
| 172 |
MAN_EXTENSION = .3 |
|
| 173 |
MAN_LINKS = NO |
|
| 174 |
#--------------------------------------------------------------------------- |
|
| 175 |
# configuration options related to the XML output |
|
| 176 |
#--------------------------------------------------------------------------- |
|
| 177 |
GENERATE_XML = NO |
|
| 178 |
XML_OUTPUT = xml |
|
| 179 |
XML_SCHEMA = |
|
| 180 |
XML_DTD = |
|
| 181 |
XML_PROGRAMLISTING = YES |
|
| 182 |
#--------------------------------------------------------------------------- |
|
| 183 |
# configuration options for the AutoGen Definitions output |
|
| 184 |
#--------------------------------------------------------------------------- |
|
| 185 |
GENERATE_AUTOGEN_DEF = NO |
|
| 186 |
#--------------------------------------------------------------------------- |
|
| 187 |
# configuration options related to the Perl module output |
|
| 188 |
#--------------------------------------------------------------------------- |
|
| 189 |
GENERATE_PERLMOD = NO |
|
| 190 |
PERLMOD_LATEX = NO |
|
| 191 |
PERLMOD_PRETTY = YES |
|
| 192 |
PERLMOD_MAKEVAR_PREFIX = |
|
| 193 |
#--------------------------------------------------------------------------- |
|
| 194 |
# Configuration options related to the preprocessor |
|
| 195 |
#--------------------------------------------------------------------------- |
|
| 196 |
ENABLE_PREPROCESSING = YES |
|
| 197 |
MACRO_EXPANSION = NO |
|
| 198 |
EXPAND_ONLY_PREDEF = NO |
|
| 199 |
SEARCH_INCLUDES = YES |
|
| 200 |
INCLUDE_PATH = |
|
| 201 |
INCLUDE_FILE_PATTERNS = |
|
| 202 |
PREDEFINED = |
|
| 203 |
EXPAND_AS_DEFINED = |
|
| 204 |
SKIP_FUNCTION_MACROS = YES |
|
| 205 |
#--------------------------------------------------------------------------- |
|
| 206 |
# Configuration::additions related to external references |
|
| 207 |
#--------------------------------------------------------------------------- |
|
| 208 |
TAGFILES = |
|
| 209 |
GENERATE_TAGFILE = |
|
| 210 |
ALLEXTERNALS = NO |
|
| 211 |
EXTERNAL_GROUPS = YES |
|
| 212 |
PERL_PATH = /usr/bin/perl |
|
| 213 |
#--------------------------------------------------------------------------- |
|
| 214 |
# Configuration options related to the dot tool |
|
| 215 |
#--------------------------------------------------------------------------- |
|
| 216 |
CLASS_DIAGRAMS = NO |
|
| 217 |
HIDE_UNDOC_RELATIONS = NO |
|
| 218 |
HAVE_DOT = NO |
|
| 219 |
CLASS_GRAPH = YES |
|
| 220 |
COLLABORATION_GRAPH = YES |
|
| 221 |
GROUP_GRAPHS = YES |
|
| 222 |
UML_LOOK = NO |
|
| 223 |
TEMPLATE_RELATIONS = YES |
|
| 224 |
INCLUDE_GRAPH = YES |
|
| 225 |
INCLUDED_BY_GRAPH = YES |
|
| 226 |
CALL_GRAPH = NO |
|
| 227 |
GRAPHICAL_HIERARCHY = YES |
|
| 228 |
DIRECTORY_GRAPH = YES |
|
| 229 |
DOT_IMAGE_FORMAT = png |
|
| 230 |
DOT_PATH = |
|
| 231 |
DOTFILE_DIRS = |
|
| 232 |
MAX_DOT_GRAPH_WIDTH = 1024 |
|
| 233 |
MAX_DOT_GRAPH_HEIGHT = 1024 |
|
| 234 |
MAX_DOT_GRAPH_DEPTH = 1000 |
|
| 235 |
DOT_TRANSPARENT = NO |
|
| 236 |
DOT_MULTI_TARGETS = NO |
|
| 237 |
GENERATE_LEGEND = YES |
|
| 238 |
DOT_CLEANUP = YES |
|
| 239 |
#--------------------------------------------------------------------------- |
|
| 240 |
# Configuration::additions related to the search engine |
|
| 241 |
#--------------------------------------------------------------------------- |
|
| 242 |
SEARCHENGINE = NO |
|
| src/portaudio_20161030_catalina_patch/LICENSE.txt | ||
|---|---|---|
| 1 |
Portable header file to contain: |
|
| 2 |
>>>>> |
|
| 3 |
/* |
|
| 4 |
* PortAudio Portable Real-Time Audio Library |
|
| 5 |
* PortAudio API Header File |
|
| 6 |
* Latest version available at: http://www.portaudio.com |
|
| 7 |
* |
|
| 8 |
* Copyright (c) 1999-2006 Ross Bencina and Phil Burk |
|
| 9 |
* |
|
| 10 |
* Permission is hereby granted, free of charge, to any person obtaining |
|
| 11 |
* a copy of this software and associated documentation files |
|
| 12 |
* (the "Software"), to deal in the Software without restriction, |
|
| 13 |
* including without limitation the rights to use, copy, modify, merge, |
|
| 14 |
* publish, distribute, sublicense, and/or sell copies of the Software, |
|
| 15 |
* and to permit persons to whom the Software is furnished to do so, |
|
| 16 |
* subject to the following conditions: |
|
| 17 |
* |
|
| 18 |
* The above copyright notice and this permission notice shall be |
|
| 19 |
* included in all copies or substantial portions of the Software. |
|
| 20 |
* |
|
| 21 |
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
|
| 22 |
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
|
| 23 |
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
|
| 24 |
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR |
|
| 25 |
* ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF |
|
| 26 |
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
|
| 27 |
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
|
| 28 |
*/ |
|
| 29 |
|
|
| 30 |
/* |
|
| 31 |
* The text above constitutes the entire PortAudio license; however, |
|
| 32 |
* the PortAudio community also makes the following non-binding requests: |
|
| 33 |
* |
|
| 34 |
* Any person wishing to distribute modifications to the Software is |
|
| 35 |
* requested to send the modifications to the original developer so that |
|
| 36 |
* they can be incorporated into the canonical version. It is also |
|
| 37 |
* requested that these non-binding requests be included along with the |
|
| 38 |
* license above. |
|
| 39 |
*/ |
|
| 40 |
<<<<< |
|
| 41 |
|
|
| 42 |
|
|
| 43 |
Implementation files to contain: |
|
| 44 |
>>>>> |
|
| 45 |
/* |
|
| 46 |
* PortAudio Portable Real-Time Audio Library |
|
| 47 |
* Latest version at: http://www.portaudio.com |
|
| 48 |
* <platform> Implementation |
|
| 49 |
* Copyright (c) 1999-2000 <author(s)> |
|
| 50 |
* |
|
| 51 |
* Permission is hereby granted, free of charge, to any person obtaining |
|
| 52 |
* a copy of this software and associated documentation files |
|
| 53 |
* (the "Software"), to deal in the Software without restriction, |
|
| 54 |
* including without limitation the rights to use, copy, modify, merge, |
|
| 55 |
* publish, distribute, sublicense, and/or sell copies of the Software, |
|
| 56 |
* and to permit persons to whom the Software is furnished to do so, |
|
| 57 |
* subject to the following conditions: |
|
| 58 |
* |
|
| 59 |
* The above copyright notice and this permission notice shall be |
|
| 60 |
* included in all copies or substantial portions of the Software. |
|
| 61 |
* |
|
| 62 |
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
|
| 63 |
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
|
| 64 |
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
|
| 65 |
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR |
|
| 66 |
* ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF |
|
| 67 |
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
|
| 68 |
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
|
| 69 |
*/ |
|
| 70 |
|
|
| 71 |
/* |
|
| 72 |
* The text above constitutes the entire PortAudio license; however, |
|
| 73 |
* the PortAudio community also makes the following non-binding requests: |
|
| 74 |
* |
|
| 75 |
* Any person wishing to distribute modifications to the Software is |
|
| 76 |
* requested to send the modifications to the original developer so that |
|
| 77 |
* they can be incorporated into the canonical version. It is also |
|
| 78 |
* requested that these non-binding requests be included along with the |
|
| 79 |
* license above. |
|
| 80 |
*/ |
|
| 81 |
<<<<< |
|
| src/portaudio_20161030_catalina_patch/Makefile.in | ||
|---|---|---|
| 1 |
# |
|
| 2 |
# PortAudio V19 Makefile.in |
|
| 3 |
# |
|
| 4 |
# Dominic Mazzoni |
|
| 5 |
# Modifications by Mikael Magnusson |
|
| 6 |
# Modifications by Stelios Bounanos |
|
| 7 |
# |
|
| 8 |
|
|
| 9 |
top_srcdir = @top_srcdir@ |
|
| 10 |
srcdir = @srcdir@ |
|
| 11 |
VPATH = @srcdir@ |
|
| 12 |
top_builddir = . |
|
| 13 |
PREFIX = @prefix@ |
|
| 14 |
prefix = $(PREFIX) |
|
| 15 |
exec_prefix = @exec_prefix@ |
|
| 16 |
bindir = @bindir@ |
|
| 17 |
libdir = @libdir@ |
|
| 18 |
includedir = @includedir@ |
|
| 19 |
CC = @CC@ |
|
| 20 |
CXX = @CXX@ |
|
| 21 |
CFLAGS = @CFLAGS@ @DEFS@ |
|
| 22 |
LIBS = @LIBS@ |
|
| 23 |
AR = @AR@ |
|
| 24 |
RANLIB = @RANLIB@ |
|
| 25 |
SHELL = @SHELL@ |
|
| 26 |
LIBTOOL = @LIBTOOL@ |
|
| 27 |
INSTALL = @INSTALL@ |
|
| 28 |
INSTALL_DATA = @INSTALL_DATA@ |
|
| 29 |
SHARED_FLAGS = @SHARED_FLAGS@ |
|
| 30 |
LDFLAGS = @LDFLAGS@ |
|
| 31 |
DLL_LIBS = @DLL_LIBS@ |
|
| 32 |
CXXFLAGS = @CXXFLAGS@ |
|
| 33 |
NASM = @NASM@ |
|
| 34 |
NASMOPT = @NASMOPT@ |
|
| 35 |
LN_S = @LN_S@ |
|
| 36 |
LT_CURRENT=@LT_CURRENT@ |
|
| 37 |
LT_REVISION=@LT_REVISION@ |
|
| 38 |
LT_AGE=@LT_AGE@ |
|
| 39 |
|
|
| 40 |
OTHER_OBJS = @OTHER_OBJS@ |
|
| 41 |
INCLUDES = @INCLUDES@ |
|
| 42 |
|
|
| 43 |
PALIB = libportaudio.la |
|
| 44 |
PAINC = include/portaudio.h |
|
| 45 |
|
|
| 46 |
PA_LDFLAGS = $(LDFLAGS) $(SHARED_FLAGS) -rpath $(libdir) -no-undefined \ |
|
| 47 |
-export-symbols-regex "(Pa|PaMacCore|PaJack|PaAlsa|PaAsio|PaOSS)_.*" \ |
|
| 48 |
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) |
|
| 49 |
|
|
| 50 |
COMMON_OBJS = \ |
|
| 51 |
src/common/pa_allocation.o \ |
|
| 52 |
src/common/pa_converters.o \ |
|
| 53 |
src/common/pa_cpuload.o \ |
|
| 54 |
src/common/pa_dither.o \ |
|
| 55 |
src/common/pa_debugprint.o \ |
|
| 56 |
src/common/pa_front.o \ |
|
| 57 |
src/common/pa_process.o \ |
|
| 58 |
src/common/pa_stream.o \ |
|
| 59 |
src/common/pa_trace.o \ |
|
| 60 |
src/hostapi/skeleton/pa_hostapi_skeleton.o |
|
| 61 |
|
|
| 62 |
LOOPBACK_OBJS = \ |
|
| 63 |
qa/loopback/src/audio_analyzer.o \ |
|
| 64 |
qa/loopback/src/biquad_filter.o \ |
|
| 65 |
qa/loopback/src/paqa_tools.o \ |
|
| 66 |
qa/loopback/src/test_audio_analyzer.o \ |
|
| 67 |
qa/loopback/src/write_wav.o \ |
|
| 68 |
qa/loopback/src/paqa.o |
|
| 69 |
|
|
| 70 |
EXAMPLES = \ |
|
| 71 |
bin/pa_devs \ |
|
| 72 |
bin/pa_fuzz \ |
|
| 73 |
bin/paex_pink \ |
|
| 74 |
bin/paex_read_write_wire \ |
|
| 75 |
bin/paex_record \ |
|
| 76 |
bin/paex_saw \ |
|
| 77 |
bin/paex_sine \ |
|
| 78 |
bin/paex_write_sine \ |
|
| 79 |
bin/paex_write_sine_nonint |
|
| 80 |
|
|
| 81 |
SELFTESTS = \ |
|
| 82 |
bin/paqa_devs \ |
|
| 83 |
bin/paqa_errs \ |
|
| 84 |
bin/paqa_latency |
|
| 85 |
|
|
| 86 |
TESTS = \ |
|
| 87 |
bin/patest1 \ |
|
| 88 |
bin/patest_buffer \ |
|
| 89 |
bin/patest_callbackstop \ |
|
| 90 |
bin/patest_clip \ |
|
| 91 |
bin/patest_dither \ |
|
| 92 |
bin/patest_hang \ |
|
| 93 |
bin/patest_in_overflow \ |
|
| 94 |
bin/patest_latency \ |
|
| 95 |
bin/patest_leftright \ |
|
| 96 |
bin/patest_longsine \ |
|
| 97 |
bin/patest_many \ |
|
| 98 |
bin/patest_maxsines \ |
|
| 99 |
bin/patest_mono \ |
|
| 100 |
bin/patest_multi_sine \ |
|
| 101 |
bin/patest_out_underflow \ |
|
| 102 |
bin/patest_prime \ |
|
| 103 |
bin/patest_ringmix \ |
|
| 104 |
bin/patest_sine8 \ |
|
| 105 |
bin/patest_sine_channelmaps \ |
|
| 106 |
bin/patest_sine_formats \ |
|
| 107 |
bin/patest_sine_time \ |
|
| 108 |
bin/patest_sine_srate \ |
|
| 109 |
bin/patest_start_stop \ |
|
| 110 |
bin/patest_stop \ |
|
| 111 |
bin/patest_stop_playout \ |
|
| 112 |
bin/patest_toomanysines \ |
|
| 113 |
bin/patest_two_rates \ |
|
| 114 |
bin/patest_underflow \ |
|
| 115 |
bin/patest_wire \ |
|
| 116 |
bin/pa_minlat |
|
| 117 |
|
|
| 118 |
# Most of these don't compile yet. Put them in TESTS, above, if |
|
| 119 |
# you want to try to compile them... |
|
| 120 |
ALL_TESTS = \ |
|
| 121 |
$(TESTS) \ |
|
| 122 |
bin/patest_sync \ |
|
| 123 |
bin/debug_convert \ |
|
| 124 |
bin/debug_dither_calc \ |
|
| 125 |
bin/debug_dual \ |
|
| 126 |
bin/debug_multi_in \ |
|
| 127 |
bin/debug_multi_out \ |
|
| 128 |
bin/debug_record \ |
|
| 129 |
bin/debug_record_reuse \ |
|
| 130 |
bin/debug_sine_amp \ |
|
| 131 |
bin/debug_sine \ |
|
| 132 |
bin/debug_sine_formats \ |
|
| 133 |
bin/debug_srate \ |
|
| 134 |
bin/debug_test1 |
|
| 135 |
|
|
| 136 |
OBJS := $(COMMON_OBJS) $(OTHER_OBJS) |
|
| 137 |
|
|
| 138 |
LTOBJS := $(OBJS:.o=.lo) |
|
| 139 |
|
|
| 140 |
SRC_DIRS = \ |
|
| 141 |
src/common \ |
|
| 142 |
src/hostapi/alsa \ |
|
| 143 |
src/hostapi/asihpi \ |
|
| 144 |
src/hostapi/asio \ |
|
| 145 |
src/hostapi/coreaudio \ |
|
| 146 |
src/hostapi/dsound \ |
|
| 147 |
src/hostapi/jack \ |
|
| 148 |
src/hostapi/oss \ |
|
| 149 |
src/hostapi/wasapi \ |
|
| 150 |
src/hostapi/wdmks \ |
|
| 151 |
src/hostapi/wmme \ |
|
| 152 |
src/os/unix \ |
|
| 153 |
src/os/win |
|
| 154 |
|
|
| 155 |
SUBDIRS = |
|
| 156 |
@ENABLE_CXX_TRUE@SUBDIRS += bindings/cpp |
|
| 157 |
|
|
| 158 |
all: lib/$(PALIB) all-recursive tests examples selftests |
|
| 159 |
|
|
| 160 |
tests: bin-stamp $(TESTS) |
|
| 161 |
|
|
| 162 |
examples: bin-stamp $(EXAMPLES) |
|
| 163 |
|
|
| 164 |
selftests: bin-stamp $(SELFTESTS) |
|
| 165 |
|
|
| 166 |
loopback: bin-stamp bin/paloopback |
|
| 167 |
|
|
| 168 |
# With ASIO enabled we must link libportaudio and all test programs with CXX |
|
| 169 |
lib/$(PALIB): lib-stamp $(LTOBJS) $(MAKEFILE) $(PAINC) |
|
| 170 |
@WITH_ASIO_FALSE@ $(LIBTOOL) --mode=link $(CC) $(PA_LDFLAGS) -o lib/$(PALIB) $(LTOBJS) $(DLL_LIBS) |
|
| 171 |
@WITH_ASIO_TRUE@ $(LIBTOOL) --mode=link --tag=CXX $(CXX) $(PA_LDFLAGS) -o lib/$(PALIB) $(LTOBJS) $(DLL_LIBS) |
|
| 172 |
|
|
| 173 |
$(ALL_TESTS): bin/%: lib/$(PALIB) $(MAKEFILE) $(PAINC) test/%.c |
|
| 174 |
@WITH_ASIO_FALSE@ $(LIBTOOL) --mode=link $(CC) -o $@ $(CFLAGS) $(top_srcdir)/test/$*.c lib/$(PALIB) $(LIBS) |
|
| 175 |
@WITH_ASIO_TRUE@ $(LIBTOOL) --mode=link --tag=CXX $(CXX) -o $@ $(CXXFLAGS) $(top_srcdir)/test/$*.c lib/$(PALIB) $(LIBS) |
|
| 176 |
|
|
| 177 |
$(EXAMPLES): bin/%: lib/$(PALIB) $(MAKEFILE) $(PAINC) examples/%.c |
|
| 178 |
@WITH_ASIO_FALSE@ $(LIBTOOL) --mode=link $(CC) -o $@ $(CFLAGS) $(top_srcdir)/examples/$*.c lib/$(PALIB) $(LIBS) |
|
| 179 |
@WITH_ASIO_TRUE@ $(LIBTOOL) --mode=link --tag=CXX $(CXX) -o $@ $(CXXFLAGS) $(top_srcdir)/examples/$*.c lib/$(PALIB) $(LIBS) |
|
| 180 |
|
|
| 181 |
$(SELFTESTS): bin/%: lib/$(PALIB) $(MAKEFILE) $(PAINC) qa/%.c |
|
| 182 |
@WITH_ASIO_FALSE@ $(LIBTOOL) --mode=link $(CC) -o $@ $(CFLAGS) $(top_srcdir)/qa/$*.c lib/$(PALIB) $(LIBS) |
|
| 183 |
@WITH_ASIO_TRUE@ $(LIBTOOL) --mode=link --tag=CXX $(CXX) -o $@ $(CXXFLAGS) $(top_srcdir)/qa/$*.c lib/$(PALIB) $(LIBS) |
|
| 184 |
|
|
| 185 |
bin/paloopback: lib/$(PALIB) $(MAKEFILE) $(PAINC) $(LOOPBACK_OBJS) |
|
| 186 |
@WITH_ASIO_FALSE@ $(LIBTOOL) --mode=link $(CC) -o $@ $(CFLAGS) $(LOOPBACK_OBJS) lib/$(PALIB) $(LIBS) |
|
| 187 |
@WITH_ASIO_TRUE@ $(LIBTOOL) --mode=link --tag=CXX $(CXX) -o $@ $(CXXFLAGS) $(LOOPBACK_OBJS) lib/$(PALIB) $(LIBS) |
|
| 188 |
|
|
| 189 |
install: lib/$(PALIB) portaudio-2.0.pc |
|
| 190 |
$(INSTALL) -d $(DESTDIR)$(libdir) |
|
| 191 |
$(LIBTOOL) --mode=install $(INSTALL) lib/$(PALIB) $(DESTDIR)$(libdir) |
|
| 192 |
$(INSTALL) -d $(DESTDIR)$(includedir) |
|
| 193 |
for include in $(INCLUDES); do \ |
|
| 194 |
$(INSTALL_DATA) -m 644 $(top_srcdir)/include/$$include $(DESTDIR)$(includedir)/$$include; \ |
|
| 195 |
done |
|
| 196 |
$(INSTALL) -d $(DESTDIR)$(libdir)/pkgconfig |
|
| 197 |
$(INSTALL) -m 644 portaudio-2.0.pc $(DESTDIR)$(libdir)/pkgconfig/portaudio-2.0.pc |
|
| 198 |
@echo "" |
|
| 199 |
@echo "------------------------------------------------------------" |
|
| 200 |
@echo "PortAudio was successfully installed." |
|
| 201 |
@echo "" |
|
| 202 |
@echo "On some systems (e.g. Linux) you should run 'ldconfig' now" |
|
| 203 |
@echo "to make the shared object available. You may also need to" |
|
| 204 |
@echo "modify your LD_LIBRARY_PATH environment variable to include" |
|
| 205 |
@echo "the directory $(libdir)" |
|
| 206 |
@echo "------------------------------------------------------------" |
|
| 207 |
@echo "" |
|
| 208 |
$(MAKE) install-recursive |
|
| 209 |
|
|
| 210 |
uninstall: |
|
| 211 |
$(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$(PALIB) |
|
| 212 |
$(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(includedir)/portaudio.h |
|
| 213 |
$(MAKE) uninstall-recursive |
|
| 214 |
|
|
| 215 |
clean: |
|
| 216 |
$(LIBTOOL) --mode=clean rm -f $(LTOBJS) $(LOOPBACK_OBJS) $(ALL_TESTS) lib/$(PALIB) |
|
| 217 |
$(RM) bin-stamp lib-stamp |
|
| 218 |
-$(RM) -r bin lib |
|
| 219 |
|
|
| 220 |
distclean: clean |
|
| 221 |
$(RM) config.log config.status Makefile libtool portaudio-2.0.pc |
|
| 222 |
|
|
| 223 |
%.o: %.c $(MAKEFILE) $(PAINC) |
|
| 224 |
$(CC) -c $(CFLAGS) $< -o $@ |
|
| 225 |
|
|
| 226 |
%.lo: %.c $(MAKEFILE) $(PAINC) |
|
| 227 |
$(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) $< -o $@ |
|
| 228 |
|
|
| 229 |
%.lo: %.cpp $(MAKEFILE) $(PAINC) |
|
| 230 |
$(LIBTOOL) --mode=compile --tag=CXX $(CXX) -c $(CXXFLAGS) $< -o $@ |
|
| 231 |
|
|
| 232 |
%.o: %.cpp $(MAKEFILE) $(PAINC) |
|
| 233 |
$(CXX) -c $(CXXFLAGS) $< -o $@ |
|
| 234 |
|
|
| 235 |
%.o: %.asm |
|
| 236 |
$(NASM) $(NASMOPT) -o $@ $< |
|
| 237 |
|
|
| 238 |
bin-stamp: |
|
| 239 |
-mkdir bin |
|
| 240 |
touch $@ |
|
| 241 |
|
|
| 242 |
lib-stamp: |
|
| 243 |
-mkdir lib |
|
| 244 |
-mkdir -p $(SRC_DIRS) |
|
| 245 |
touch $@ |
|
| 246 |
|
|
| 247 |
Makefile: Makefile.in config.status |
|
| 248 |
$(SHELL) config.status |
|
| 249 |
|
|
| 250 |
all-recursive: |
|
| 251 |
if test -n "$(SUBDIRS)" ; then for dir in "$(SUBDIRS)"; do $(MAKE) -C $$dir all; done ; fi |
|
| 252 |
|
|
| 253 |
install-recursive: |
|
| 254 |
if test -n "$(SUBDIRS)" ; then for dir in "$(SUBDIRS)"; do $(MAKE) -C $$dir install; done ; fi |
|
| 255 |
|
|
| 256 |
uninstall-recursive: |
|
| 257 |
if test -n "$(SUBDIRS)" ; then for dir in "$(SUBDIRS)"; do $(MAKE) -C $$dir uninstall; done ; fi |
|
| src/portaudio_20161030_catalina_patch/README.configure.txt | ||
|---|---|---|
| 1 |
PortAudio uses "autoconf" tools to generate Makefiles for Linux and Mac platforms. |
|
| 2 |
The source for these are configure.in and Makefile.in |
|
| 3 |
If you modify either of these files then please run this command before |
|
| 4 |
testing and checking in your changes. I run this command on Linux. |
|
| 5 |
|
|
| 6 |
autoreconf -if |
|
| 7 |
|
|
| 8 |
If you do not have autoreconf then do: |
|
| 9 |
sudo apt-get install autoconf |
|
| 10 |
|
|
| 11 |
If you get error like "possibly undefined macro: AC_LIBTOOL_WIN32_DLL" |
|
| 12 |
then you try installing some more packages and then try again. |
|
| 13 |
|
|
| 14 |
sudo apt-get install build-essential |
|
| 15 |
sudo apt-get install pkg-config |
|
| 16 |
sudo apt-get install libtool |
|
| 17 |
autoreconf -if |
|
| 18 |
|
|
| 19 |
Then test a build by doing: |
|
| 20 |
|
|
| 21 |
./configure |
|
| 22 |
make clean |
|
| 23 |
make |
|
| 24 |
|
|
| 25 |
then check in the related files that are modified. |
|
| 26 |
These might include files like: |
|
| 27 |
|
|
| 28 |
configure |
|
| 29 |
config.guess |
|
| 30 |
depcomp |
|
| 31 |
install.sh |
|
| 32 |
|
|
| src/portaudio_20161030_catalina_patch/README.txt | ||
|---|---|---|
| 1 |
README for PortAudio |
|
| 2 |
|
|
| 3 |
/* |
|
| 4 |
* PortAudio Portable Real-Time Audio Library |
|
| 5 |
* Latest Version at: http://www.portaudio.com |
|
| 6 |
* |
|
| 7 |
* Copyright (c) 1999-2008 Phil Burk and Ross Bencina |
|
| 8 |
* |
|
| 9 |
* Permission is hereby granted, free of charge, to any person obtaining |
|
| 10 |
* a copy of this software and associated documentation files |
|
| 11 |
* (the "Software"), to deal in the Software without restriction, |
|
| 12 |
* including without limitation the rights to use, copy, modify, merge, |
|
| 13 |
* publish, distribute, sublicense, and/or sell copies of the Software, |
|
| 14 |
* and to permit persons to whom the Software is furnished to do so, |
|
| 15 |
* subject to the following conditions: |
|
| 16 |
* |
|
| 17 |
* The above copyright notice and this permission notice shall be |
|
| 18 |
* included in all copies or substantial portions of the Software. |
|
| 19 |
* |
|
| 20 |
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
|
| 21 |
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
|
| 22 |
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
|
| 23 |
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR |
|
| 24 |
* ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF |
|
| 25 |
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
|
| 26 |
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
|
| 27 |
*/ |
|
| 28 |
|
|
| 29 |
/* |
|
| 30 |
* The text above constitutes the entire PortAudio license; however, |
|
| 31 |
* the PortAudio community also makes the following non-binding requests: |
|
| 32 |
* |
|
| 33 |
* Any person wishing to distribute modifications to the Software is |
|
| 34 |
* requested to send the modifications to the original developer so that |
|
| 35 |
* they can be incorporated into the canonical version. It is also |
|
| 36 |
* requested that these non-binding requests be included along with the |
|
| 37 |
* license above. |
|
| 38 |
*/ |
|
| 39 |
|
|
| 40 |
|
|
| 41 |
PortAudio is a portable audio I/O library designed for cross-platform |
|
| 42 |
support of audio. It uses either a callback mechanism to request audio |
|
| 43 |
processing, or blocking read/write calls to buffer data between the |
|
| 44 |
native audio subsystem and the client. Audio can be processed in various |
|
| 45 |
formats, including 32 bit floating point, and will be converted to the |
|
| 46 |
native format internally. |
|
| 47 |
|
|
| 48 |
Documentation: |
|
| 49 |
Documentation is available in "/doc/html/index.html" |
|
| 50 |
Also see "src/common/portaudio.h" for API spec. |
|
| 51 |
Also see http://www.portaudio.com/docs/ |
|
| 52 |
And see the "test/" directory for many examples of usage |
|
| 53 |
(we suggest "test/patest_saw.c" for an example) |
|
| 54 |
|
|
| 55 |
For information on compiling programs with PortAudio, please see the |
|
| 56 |
tutorial at: |
|
| 57 |
|
|
| 58 |
http://portaudio.com/trac/wiki/TutorialDir/TutorialStart |
|
| 59 |
|
|
| 60 |
We have an active mailing list for user and developer discussions. |
|
| 61 |
Please feel free to join. See http://www.portaudio.com for details. |
|
| 62 |
|
|
| 63 |
|
|
| 64 |
Important Files and Folders: |
|
| 65 |
include/portaudio.h = header file for PortAudio API. Specifies API. |
|
| 66 |
src/common/ = platform independant code, host independant |
|
| 67 |
code for all implementations. |
|
| 68 |
src/os = os specific (but host api neutral) code |
|
| 69 |
src/hostapi = implementations for different host apis |
|
| 70 |
|
|
| 71 |
|
|
| 72 |
Host API Implementations: |
|
| 73 |
src/hostapi/alsa = Advanced Linux Sound Architecture (ALSA) |
|
| 74 |
src/hostapi/asihpi = AudioScience HPI |
|
| 75 |
src/hostapi/asio = ASIO for Windows and Macintosh |
|
| 76 |
src/hostapi/coreaudio = Macintosh Core Audio for OS X |
|
| 77 |
src/hostapi/dsound = Windows Direct Sound |
|
| 78 |
src/hostapi/jack = JACK Audio Connection Kit |
|
| 79 |
src/hostapi/oss = Unix Open Sound System (OSS) |
|
| 80 |
src/hostapi/wasapi = Windows Vista WASAPI |
|
| 81 |
src/hostapi/wdmks = Windows WDM Kernel Streaming |
|
| 82 |
src/hostapi/wmme = Windows MultiMedia Extensions (MME) |
|
| 83 |
|
|
| 84 |
|
|
| 85 |
Test Programs: |
|
| 86 |
test/pa_fuzz.c = guitar fuzz box |
|
| 87 |
test/pa_devs.c = print a list of available devices |
|
| 88 |
test/pa_minlat.c = determine minimum latency for your machine |
|
| 89 |
test/paqa_devs.c = self test that opens all devices |
|
| 90 |
test/paqa_errs.c = test error detection and reporting |
|
| 91 |
test/patest_clip.c = hear a sine wave clipped and unclipped |
|
| 92 |
test/patest_dither.c = hear effects of dithering (extremely subtle) |
|
| 93 |
test/patest_pink.c = fun with pink noise |
|
| 94 |
test/patest_record.c = record and playback some audio |
|
| 95 |
test/patest_maxsines.c = how many sine waves can we play? Tests Pa_GetCPULoad(). |
|
| 96 |
test/patest_sine.c = output a sine wave in a simple PA app |
|
| 97 |
test/patest_sync.c = test syncronization of audio and video |
|
| 98 |
test/patest_wire.c = pass input to output, wire simulator |
|
| src/portaudio_20161030_catalina_patch/SConstruct | ||
|---|---|---|
| 1 |
import sys, os.path |
|
| 2 |
|
|
| 3 |
def rsplit(toSplit, sub, max=-1): |
|
| 4 |
""" str.rsplit seems to have been introduced in 2.4 :( """ |
|
| 5 |
l = [] |
|
| 6 |
i = 0 |
|
| 7 |
while i != max: |
|
| 8 |
try: idx = toSplit.rindex(sub) |
|
| 9 |
except ValueError: break |
|
| 10 |
|
|
| 11 |
toSplit, splitOff = toSplit[:idx], toSplit[idx + len(sub):] |
|
| 12 |
l.insert(0, splitOff) |
|
| 13 |
i += 1 |
|
| 14 |
|
|
| 15 |
l.insert(0, toSplit) |
|
| 16 |
return l |
|
| 17 |
|
|
| 18 |
sconsDir = os.path.join("build", "scons")
|
|
Also available in: Unified diff