summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-04-04file_wrapper.h: Fix build with GCC13HEADmasterL. E. Segovia1-0/+1
It is a missed instance of cdec109331de34958a892a1418d67806b171b862 (!31). Fixes #32
2024-03-23build: Appease MSYS2 UCRT64 GCC 13L. E. Segovia1-1/+1
Undefining this macro makes GCC in standards C++ mode very unhappy: In file included from D:/msys64/ucrt64/include/c++/13.2.0/bits/requires_hosted.h:31, from D:/msys64/ucrt64/include/c++/13.2.0/string:38, from ..\subprojects\webrtc-audio-processing\webrtc/rtc_base/system/file_wrapper.h:17, from ../subprojects/webrtc-audio-processing/webrtc/rtc_base/system/file_wrapper.cc:11: D:/msys64/ucrt64/include/c++/13.2.0/x86_64-w64-mingw32/bits/c++config.h:666:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp] 666 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" | ^~~~~~~ See: https://github.com/fmtlib/fmt/issues/2059#issue-761209068 See: #32
2023-11-29Bring arch.h in line with upstream webrtcBen Brown1-11/+33
Largely to bring in preprocessor support for additional architectures as based on 6215ba804eb500f3e28b39088c73af3c4f4cd10a by Timothy Gu <timothygu99@gmail.com>: Add preprocessor support for additional architectures - _M_ARM is used by Microsoft [1] - __riscv and __riscv_xlen are defined by [2] - __sparc and __sparc__ are documented at [3] - __MIPSEB__, __PPC__, __PPC64__ are documented at [3] and used in Chromium's build/build_config.h [4] Note: Chromium assumes that all PowerPC architectures are 64-bit. This is in fact not true. [1]: https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=msvc-160 [2]: https://github.com/riscv/riscv-toolchain-conventions/tree/feca4793566811993f67e008a449d794cfc48953#cc-preprocessor-definitions [3]: https://sourceforge.net/p/predef/wiki/Architectures/ [4]: https://source.chromium.org/chromium/chromium/src/+/master:build/build_config.h;drc=e12bf2e5ff1eacb9aca3e9a26bdeebdbdad5965a
2023-09-05build: Bump version to 1.3v1.3Arun Raghavan1-1/+1
2023-09-05meson: Fix generation of pkgconfig filesNirbheek Chauhan2-28/+26
Too much information was specified manually. All this is deduced automatically if you specify the library as the first positional argument. Only absl_base needs to be in Requires: because absl_optional's header file is needed at build time. Also add a check in the CI for the pc files being usable.
2023-09-01build: Bump version to 1.2v1.2Arun Raghavan1-1/+1
2023-08-13meson: Update minimum version based on what abseil wrap needsArun Raghavan1-1/+1
2023-08-13build: Expose absl as a dependency of webrtc-audio-processingArun Raghavan3-17/+16
This is needed because the audio processing header references abseil's optional.h. Clean up the declared dependencies while we're at it. Fixes: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/merge_requests/34
2023-06-01meson: Update to latest wrap, install required absl headersNirbheek Chauhan2-7/+76
2023-05-25doc: Update tarball generation processv1.1Arun Raghavan1-11/+3
Use meson dist, include subproject tarballs, and sha256sum files are also autogenerated.
2023-05-25file_utils.h: Fix build with gcc-13Martin Jansa1-0/+1
* add missing include as reported by gcc-13: webrtc/modules/audio_processing/transient/file_utils.cc:11: ../webrtc-audio-processing-1.0/webrtc/modules/audio_processing/transient/file_utils.h:36:35: error: 'uint8_t' does not name a type 36 | int ConvertByteArrayToFloat(const uint8_t bytes[4], float* out); | ^~~~~~~ webrtc/modules/audio_processing/transient/file_utils.h:17:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'? 16 | #include "rtc_base/system/file_wrapper.h" +++ |+#include <cstdint> 17 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2023-05-26meson: Fixes for MSVC buildNirbheek Chauhan2-0/+5
winsock2.h must be included before windows.h or alternative definitions of `struct sockaddr` are defined. ``` FAILED: webrtc/rtc_base/liblibbase.a.p/logging.cc.obj "cl" "-Iwebrtc\rtc_base\liblibbase.a.p" "-Iwebrtc\rtc_base" "-I..\webrtc\rtc_base" "-Iwebrtc" "-I..\webrtc" "-Isubprojects\abseil-cpp-20230125.1" "-I..\subprojects\abseil-cpp-20230125.1" "/MD" "/nologo" "/showIncludes" "/utf-8" "/Zc:__cplusplus" "/W2" "/EHsc" "/std:c++17" "/permissive-" "/O2" "/Zi" "-DWEBRTC_LIBRARY_ IMPL" "-DWEBRTC_ENABLE_SYMBOL_EXPORT" "-DNDEBUG" "-DWEBRTC_WIN" "-D_WIN32" "-U__STRICT_ANSI__" "-D__STDC_FORMAT_MACROS=1" "-DNOMINMAX" "-DWEBRTC_ENABLE_AVX2" "/Fdwebrtc\rtc_base\liblibbase.a.p\logging.cc.pdb" /Fowebrtc/rtc_base/liblibbase.a.p/logging.cc.obj "/c" ../webrtc/rtc_base/logging.cc C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared\ws2def.h(103): warning C4005: 'AF_IPX': macro redefinition C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um\winsock.h(457): note: see previous definition of 'AF_IPX' C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared\ws2def.h(147): warning C4005: 'AF_MAX': macro redefinition C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um\winsock.h(476): note: see previous definition of 'AF_MAX' C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared\ws2def.h(187): warning C4005: 'SO_DONTLINGER': macro redefinition C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um\winsock.h(399): note: see previous definition of 'SO_DONTLINGER' C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared\ws2def.h(240): error C2011: 'sockaddr': 'struct' type redefinition C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um\winsock.h(482): note: see declaration of 'sockaddr' C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared\ws2def.h(442): error C2143: syntax error: missing '}' before 'constant' C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared\ws2def.h(442): error C2059: syntax error: 'constant' C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared\ws2def.h(496): error C2143: syntax error: missing ';' before '}' C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared\ws2def.h(496): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared\ws2def.h(496): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int ... ```
2023-05-26meson: Ensure that abseil is built with c++17 tooNirbheek Chauhan1-1/+1
subprojects do not inherit $lang_std default values from the project.
2023-05-26ci: Add jobs for MSVC, macOS, iOS, AndroidNirbheek Chauhan1-8/+167
2023-05-26ci: Bump ubuntu version to 22.10Nirbheek Chauhan1-2/+2
Contains absl with pkgconfig files.
2023-05-26meson: Fix compatibility with Fedora's abseil-cpp packageNirbheek Chauhan1-2/+3
1. Fedora abseil-cpp package is built with C++17: https://src.fedoraproject.org/rpms/abseil-cpp/blob/rawhide/f/abseil-cpp.spec 2. There is no `absl_types` pkgconfig file, and it's only needed on iOS
2023-05-26meson: Update abseil-cpp to latest wrapNirbheek Chauhan1-8/+11
2023-05-26meson: Don't require cross files to set host_system = iosNirbheek Chauhan1-0/+11
It's not specified as a host_system by meson, so people will often not set it.
2023-05-26meson: Get rid of cmake and manual library searchingNirbheek Chauhan1-79/+10
Simplify fallback, and prefer it. `[provide]` section requires meson 0.55, so require that. pkg-config lookup is only provided for distros, since they dislike static linking / vendoring.
2022-05-21build: don't detect neon again when building on aarch64Jan Palus1-1/+1
it will try to add -mfpu=neon to cflags not available on aarch64 since neon is mandatory there
2022-05-21build: fix -Dneon=runtimeJan Palus1-1/+1
2021-10-20Add builds for distro and vendored versions of abseilArun Raghavan1-7/+31
2021-10-20Add an abseil subproject and correctly specify fallback depsArun Raghavan3-6/+40
2021-10-20Add missing absl library for bad_optional_accessArun Raghavan1-1/+4
2021-10-19Add missing header for C++17 compatibilityArun Raghavan1-0/+1
Hopefully we can drop this change with the next update.
2021-10-19Use pkg-config for abseil-cpp detection if availableArun Raghavan1-44/+64
This should make things a bit easier.
2021-10-19Some fixes for MinGWArun Raghavan4-2/+6
* Rename Windows.h uses to windows.h * Comment out structured exception handling usage Makes MinGW happier. Mostly the same as previous work by Nicolas Dufresne <nicolas.dufresne@collabora.com>, with the exception that we now don't try to invoke RaiseException which would fail in MinGW as it raises a Windows structured exception.
2021-09-08Remove rnn_vad_tool.cc that contains main().Ryo Kawaguchi3-136/+0
2021-06-19build: Split out iSAC VAD sources into a separate dependencyArun Raghavan2-6/+11
Avoid having to link webrtc-audio-processing with webrtc-audio-coding, and makes the required symbols directly available. Part-of: <https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/merge_requests/22>
2021-06-18build: Add framework deps on macOS and iOSArun Raghavan1-1/+16
Part-of: <https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/merge_requests/21>
2021-06-17arch.h: Add RISC-V supportZhaofeng Li1-0/+7
2021-06-05build: Add library-based absl detection as a fallbackArun Raghavan1-1/+39
This should help for cases where users can make abseil-cpp available but wiring up the CMake-build isn't that easy (for example, while cross-compiling).
2021-06-05Fix build on AndroidArun Raghavan1-0/+4
There's a bit of system integration that we haven't pulled in (as it has transitive dependencies), so we manually stub it out.
2021-02-12doc: Add some build instructions to READMEArun Raghavan1-6/+23
2020-12-11build: Fix ARM ISA detectionArun Raghavan1-2/+2
armv7 isn't a real cpu_family in meson, so drop that. The detection for __ARM_ARCH_ISA_ARM was also inverted. Fixes: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/issues/6
2020-12-10build: Use cmake to look up abseil dependencyArun Raghavan2-14/+10
This should be much more robust than looking up the library directly. Fixes: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/issues/4
2020-12-10build: Revert top-level project name to not have a prefixArun Raghavan1-2/+2
Should make meson dist easier to work with.
2020-12-10build: Bump project version to 1.1Arun Raghavan1-1/+1
2020-11-27doc: Fix up release processArun Raghavan1-1/+12
Missed a trailing '/' while generating the archive with disastrous results.
2020-11-27doc: Fix up links in markdownArun Raghavan1-7/+5
2020-11-27doc: Some minor README cleanupsArun Raghavan1-10/+3
2020-11-27doc: Add some documentation about the release processv1.0Arun Raghavan1-0/+61
2020-11-27build: Fix up some ARM-related mistakesArun Raghavan2-2/+2
2020-11-27ci: Add an aarch64 buildArun Raghavan1-7/+43
2020-10-28meson: override dependencyGuillaume Desmottes1-1/+11
Will allow us to build the libs as part of gst-build as subprojects.
2020-10-26ci: Add a gitlab-ci.ymlArun Raghavan1-0/+62
2020-10-23gitignore: Drop autotools-related pathsArun Raghavan1-22/+0
2020-10-23build: Make packages versionedArun Raghavan6-24/+43
Since we cannot rely on the API to be stable upstream, let's start making the pkg-config, library, and include dir have a version suffix. This will allow different downstream projects depending on us to independently switch versions without packagers having to jump through hoops.
2020-10-23Update to current webrtc libraryArun Raghavan859-49529/+76136
This is from the upstream library commit id 3326535126e435f1ba647885ce43a8f0f3d317eb, corresponding to Chromium 88.0.4290.1.
2020-10-20gitignore: Add install/ for local prefixed installsArun Raghavan1-0/+1