platform/upstream/webrtc-audio-processing.git
16 months agoAdd -fno-gnu-unique option 28/295228/3 accepted/tizen/unified/20230710.013118
Jaechul Lee [Tue, 4 Jul 2023 04:20:58 +0000 (13:20 +0900)]
Add -fno-gnu-unique option

This library includes UNIQUE symbols.
If it exists, it wouldn't be unloaded when dlclose is called.

Change-Id: I26961f4aae1b3e606b5e1ee49c351180493cc8f1
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
20 months agospec: update license to SPDX license identifier 96/288796/1 accepted/tizen/unified/20230227.042013
Seungbae Shin [Thu, 23 Feb 2023 07:51:38 +0000 (16:51 +0900)]
spec: update license to SPDX license identifier

Change-Id: I449951ff0604473193a7a28c91b037f70ced102c

23 months agoriscv64: Add typedefs for RISC-V 40/284840/1
Marek Pikuła [Mon, 28 Nov 2022 11:36:27 +0000 (12:36 +0100)]
riscv64: Add typedefs for RISC-V

Change-Id: I58bbc6da3583d3096e305ce1f07f984e74627edd
Signed-off-by: Marek Pikuła <m.pikula@partner.samsung.com>
2 years agoadd packaging for tizen build 16/276716/3 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix tizen_7.0 tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.063820 accepted/tizen/7.0/unified/hotfix/20221116.111538 accepted/tizen/unified/20220627.133713 submit/tizen/20220627.022241 tizen_7.0_m2_release
Seungbae Shin [Thu, 23 Jun 2022 08:49:52 +0000 (17:49 +0900)]
add packaging for tizen build

Change-Id: I9485489647b083b95831d4cfac3dc5f55914de43

6 years agobuild: Update version to 0.3.1 v0.3.1
Arun Raghavan [Mon, 23 Jul 2018 12:58:08 +0000 (18:28 +0530)]
build: Update version to 0.3.1

7 years agobuild: Fix configure option '--with-ns-mode'
Mirko Vogt [Fri, 6 Jan 2017 02:04:20 +0000 (03:04 +0100)]
build: Fix configure option '--with-ns-mode'

Make *really* take '--with-ns-mode'-option into account.
Before it was bogus (wrong if-check) and it always resulted
in the float version being used.

Signed-off-by: Mirko Vogt <mirko-dev@nanl.de>
8 years agodoc: file invalid reference to pulseaudio mailing list
Thomas Petazzoni [Sat, 6 Aug 2016 09:03:27 +0000 (11:03 +0200)]
doc: file invalid reference to pulseaudio mailing list

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobuild: fix architecture detection
Thomas Petazzoni [Sat, 6 Aug 2016 09:02:43 +0000 (11:02 +0200)]
build: fix architecture detection

The current architecture detection, based on the "host_cpu" part of the
tuple does not work properly for a number of reason:

 - The code assumes that if host_cpu starts with "arm" then ARM
   instructions are available, which is incorrect. Indeed, Cortex-M
   platforms can run Linux, they are ARM platforms (so host_cpu = arm),
   but they don't support ARM instructions: they support only the
   Thumb-2 instruction set.

 - The armv7 case is also not very useful, as it is not standard at all
   to pass armv7 as host_cpu even if the host system is actually ARMv7
   based.

 - For the same reason, the armv8 case is not very useful: ARMv8 is
   AArch64, and there is already a separate case to handle this
   architecture.

So, this commit moves away from a host_cpu based logic, and instead
tests using AC_CHECK_DECLS() the built-in definitions of the compiler:

 - If we have __ARM_ARCH_ISA_ARM defined, then it's an ARM processor
   that supports the ARM instruction set (this allows to exclude Thumb-2
   only processors).

 - If we have __ARM_ARCH_7A__, then we have an ARMv7-A processor, and
   we can enable the corresponding optimizations

 - Same for __aarch64__, __i386__ and __x86_64__.

In addition, we remove the AC_MSG_ERROR() that makes the build fail for
all architectures but the ones that are explicitly supported. Indeed,
webrtc-audio-processing builds just fine for other architectures (tested
on MIPS), it's just that none of the architecture-specific optimizations
will be used.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobuild: Add ARM 64bit support
Nicolas Dufresne [Wed, 6 Jul 2016 19:18:15 +0000 (15:18 -0400)]
build: Add ARM 64bit support

8 years agobuild: Re-add pthread linking on linux
Nicolas Dufresne [Wed, 6 Jul 2016 17:57:00 +0000 (13:57 -0400)]
build: Re-add pthread linking on linux

8 years agobuild: Use -no-undefined to support both clang and gcc
Nicolas Dufresne [Wed, 6 Jul 2016 17:44:15 +0000 (13:44 -0400)]
build: Use -no-undefined to support both clang and gcc

8 years agobuild: Sync defines and libs with build.gn
Nicolas Dufresne [Wed, 6 Jul 2016 15:32:55 +0000 (11:32 -0400)]
build: Sync defines and libs with build.gn

8 years agoosx: Fix type OS_FLAGS instead of OS_CFLAGS
Nicolas Dufresne [Tue, 5 Jul 2016 22:44:19 +0000 (18:44 -0400)]
osx: Fix type OS_FLAGS instead of OS_CFLAGS

8 years agobuild: Protect against unsupported CPU types
Nicolas Dufresne [Tue, 5 Jul 2016 22:07:45 +0000 (18:07 -0400)]
build: Protect against unsupported CPU types

8 years agoAdd missing windows conditions variable
Nicolas Dufresne [Tue, 5 Jul 2016 02:12:20 +0000 (22:12 -0400)]
Add missing windows conditions variable

Those are used by generic RW lock implementation.

https://bugs.freedesktop.org/show_bug.cgi?id=96754

8 years agobuild: Define MSVC _WIN32 so we can build on mingw
Nicolas Dufresne [Mon, 4 Jul 2016 21:54:45 +0000 (17:54 -0400)]
build: Define MSVC _WIN32 so we can build on mingw

https://bugs.freedesktop.org/show_bug.cgi?id=96754

8 years agobuild: Properly select the right system wrappers
Nicolas Dufresne [Mon, 4 Jul 2016 20:02:29 +0000 (16:02 -0400)]
build: Properly select the right system wrappers

This is needed for windows build to be usable.

https://bugs.freedesktop.org/show_bug.cgi?id=96754

8 years agobuild: Add required define for Windows
Nicolas Dufresne [Mon, 4 Jul 2016 19:07:48 +0000 (15:07 -0400)]
build: Add required define for Windows

This will also add it to the .pc file as WEBRTC_WIN leaks into the
public interface and undefined __STRICT_ANSI__ so M_PI is available.

https://bugs.freedesktop.org/show_bug.cgi?id=96754

8 years agobuild: Don't blindly link to pthread
Nicolas Dufresne [Thu, 30 Jun 2016 20:49:16 +0000 (16:49 -0400)]
build: Don't blindly link to pthread

This otherwise breaks the build on Android and Windows. The flag is
required on some Linux builds, and is readded in a subsequent commit.

https://bugs.freedesktop.org/show_bug.cgi?id=96754

8 years agobuild: Add cerbero gnustl support for Android
Nicolas Dufresne [Thu, 30 Jun 2016 20:19:49 +0000 (16:19 -0400)]
build: Add cerbero gnustl support for Android

8 years agoAdd missing windows specific headers
Nicolas Dufresne [Thu, 30 Jun 2016 19:08:17 +0000 (15:08 -0400)]
Add missing windows specific headers

https://bugs.freedesktop.org/show_bug.cgi?id=96754

8 years agobuild: Bump version to 0.3 v0.3
Arun Raghavan [Wed, 22 Jun 2016 06:46:50 +0000 (12:16 +0530)]
build: Bump version to 0.3

8 years agodoc: Update NEWS for release
Arun Raghavan [Wed, 22 Jun 2016 06:42:10 +0000 (12:12 +0530)]
doc: Update NEWS for release

8 years agobuild: Make sure files with SSE2 code are compiled with -msse2
Rex Dieter [Tue, 21 Jun 2016 11:16:48 +0000 (16:46 +0530)]
build: Make sure files with SSE2 code are compiled with -msse2

Signed-off-by: Arun Raghavan <arun@arunraghavan.net>
8 years agobuild: enforce linking with --no-undefined, add explicit -lpthread
Rex Dieter [Wed, 1 Jun 2016 04:39:45 +0000 (10:09 +0530)]
build: enforce linking with --no-undefined, add explicit -lpthread

In investigating x86/sse2 issues in recent webrtc-audio-processing-0.2
release, I found that it was possible for libwebrtc_audio_processing to
contain undefined symbols.

Attached is a patch that addresses this:
* adds -Wl,--no-undefined to libwebrtc_audio_processing_la_LDFLAGS
* adds explicit -lpthread linkage (else, there are undefined references
  to pthread-related symbols)

Signed-off-by: Arun Raghavan <arun@arunraghavan.net>
9 years agobuild: Update library version info v0.2
Arun Raghavan [Mon, 19 Oct 2015 07:12:12 +0000 (12:42 +0530)]
build: Update library version info

9 years agodoc: Add release notes about changes and API breakage
Arun Raghavan [Wed, 4 Nov 2015 07:40:26 +0000 (13:10 +0530)]
doc: Add release notes about changes and API breakage

9 years agoUpdate code to current Chromium master
Arun Raghavan [Wed, 4 Nov 2015 04:37:52 +0000 (10:07 +0530)]
Update code to current Chromium master

This corresponds to:

Chromium: 6555f9456074c0c0e5f7713564b978588ac04a5d
webrtc: c8b569e0a7ad0b369e15f0197b3a558699ec8efa

9 years agodoc: Add a pro-tip to update instructions
Arun Raghavan [Wed, 4 Nov 2015 04:12:22 +0000 (09:42 +0530)]
doc: Add a pro-tip to update instructions

9 years agobuild: Dist ancillary documentation
Arun Raghavan [Tue, 3 Nov 2015 10:46:40 +0000 (16:16 +0530)]
build: Dist ancillary documentation

9 years agobuild: Install trace.h to allow clients access to the Trace API
Arun Raghavan [Tue, 3 Nov 2015 10:46:05 +0000 (16:16 +0530)]
build: Install trace.h to allow clients access to the Trace API

9 years agodoc: Split out and expand on updating notes
Arun Raghavan [Mon, 2 Nov 2015 07:32:35 +0000 (13:02 +0530)]
doc: Split out and expand on updating notes

Expands on instructions for updating the code when upstream changes.
Also renaming with the '.md' extension for things that understand
Markdown.

9 years agocommon_audio: Remove extraneous header
Arun Raghavan [Tue, 20 Oct 2015 09:55:15 +0000 (15:25 +0530)]
common_audio: Remove extraneous header

This one is left over from a previous version of the code base.

9 years agobuild: Don't install a top level copy of audio_processing.h
Arun Raghavan [Mon, 19 Oct 2015 17:17:49 +0000 (22:47 +0530)]
build: Don't install a top level copy of audio_processing.h

If we're breaking API, then clients need to be modified and recompiled
anyway, so we can avoid the cruft of trying to be backwards compatible.

Clients now need to include the file as it is in the upstream sources:
<webrtc/modules/audio_processing/include/audio_processing.h>

9 years agobuild: Install module_common_types.h and dependencies
Arun Raghavan [Mon, 19 Oct 2015 17:14:59 +0000 (22:44 +0530)]
build: Install module_common_types.h and dependencies

This is needed for at least the AudioFrame class.

Unfortunately, this does add a bit of ugliness because
module_common_types.h has video bits that are hidden behind our own
define, which now becomes part of pkg-config CFLAGS.

This could be made less ugly, potentially, but I'm not sure how right
now.

9 years agodoc: Add upstream repo URL to README
Arun Raghavan [Mon, 19 Oct 2015 17:13:36 +0000 (22:43 +0530)]
doc: Add upstream repo URL to README

9 years agodoc: Update README
Arun Raghavan [Mon, 19 Oct 2015 06:21:55 +0000 (11:51 +0530)]
doc: Update README

9 years agobuild: Conditionally build C variants of assembler-optimised code
Arun Raghavan [Mon, 19 Oct 2015 06:18:52 +0000 (11:48 +0530)]
build: Conditionally build C variants of assembler-optimised code

9 years agobuild: Define assembler flags where required
Arun Raghavan [Mon, 19 Oct 2015 06:11:13 +0000 (11:41 +0530)]
build: Define assembler flags where required

9 years agobuild: Define ARM arch preprocessor macros
Arun Raghavan [Mon, 19 Oct 2015 06:10:05 +0000 (11:40 +0530)]
build: Define ARM arch preprocessor macros

9 years agosystem_wrappers: Add missing file for ARM builds
Arun Raghavan [Mon, 19 Oct 2015 06:02:48 +0000 (11:32 +0530)]
system_wrappers: Add missing file for ARM builds

9 years agobuild: Use CXXFLAGS instead of CFLAGS in compile testing
Arun Raghavan [Mon, 19 Oct 2015 05:59:40 +0000 (11:29 +0530)]
build: Use CXXFLAGS instead of CFLAGS in compile testing

This is needed since we're using AC_LANG_CPLUSPLUS

9 years agobuild: Minor whitespace changes
Arun Raghavan [Mon, 19 Oct 2015 05:51:59 +0000 (11:21 +0530)]
build: Minor whitespace changes

Makes syntax highlighting in vim unbreak.

9 years agoDrop redundant header
Arun Raghavan [Thu, 15 Oct 2015 07:22:13 +0000 (12:52 +0530)]
Drop redundant header

9 years agobuild: Fix distcheck
Arun Raghavan [Thu, 15 Oct 2015 07:22:06 +0000 (12:52 +0530)]
build: Fix distcheck

9 years agobuild: Add architecture checks for x86 and ARM
Arun Raghavan [Thu, 15 Oct 2015 07:21:03 +0000 (12:51 +0530)]
build: Add architecture checks for x86 and ARM

On x86, SSE optimisations are always compiled in, and used based on
runtime checks.

On ARM, we try to autodetect NEON support (with an option of runtime
detection). This has not been build-tested on ARM yet.

This leaves MIPS to be done.

9 years agobuild: Stop hard-coding OS/platform CFLAGS
Arun Raghavan [Thu, 15 Oct 2015 06:07:05 +0000 (11:37 +0530)]
build: Stop hard-coding OS/platform CFLAGS

9 years agobuild: Fix up include file paths
Arun Raghavan [Thu, 15 Oct 2015 05:23:55 +0000 (10:53 +0530)]
build: Fix up include file paths

9 years agodebug: Update protobuf file
Arun Raghavan [Wed, 14 Oct 2015 02:31:39 +0000 (08:01 +0530)]
debug: Update protobuf file

This isn't used it, but let's keep it up to date

9 years agobuild: Drop old gpyi file
Arun Raghavan [Wed, 14 Oct 2015 02:31:24 +0000 (08:01 +0530)]
build: Drop old gpyi file

9 years agobuild: More build fixes and cleanups
Arun Raghavan [Tue, 13 Oct 2015 17:22:52 +0000 (22:52 +0530)]
build: More build fixes and cleanups

9 years agoUpdate .gitignore for .dirstamp files
Arun Raghavan [Tue, 13 Oct 2015 13:05:07 +0000 (18:35 +0530)]
Update .gitignore for .dirstamp files

9 years agobuild: Some fixes for make distcheck
Arun Raghavan [Tue, 13 Oct 2015 13:02:59 +0000 (18:32 +0530)]
build: Some fixes for make distcheck

9 years agobuild: Make build succeed without test and non-audio deps
Arun Raghavan [Tue, 13 Oct 2015 11:57:17 +0000 (17:27 +0530)]
build: Make build succeed without test and non-audio deps

9 years agoUpdate audio_processing module
Arun Raghavan [Tue, 13 Oct 2015 11:55:22 +0000 (17:25 +0530)]
Update audio_processing module

Corresponds to upstream commit 524e9b043e7e86fd72353b987c9d5f6a1ebf83e1

Update notes:

 * Pull in third party license file

 * Replace .gypi files with BUILD.gn to keep track of what changes
   upstream

 * Bunch of new filse pulled in as dependencies

 * Won't build yet due to changes needed on top of these

9 years agoUpdate system_wrappers
Arun Raghavan [Tue, 13 Oct 2015 06:53:08 +0000 (12:23 +0530)]
Update system_wrappers

Corresponds to upstream commit 524e9b043e7e86fd72353b987c9d5f6a1ebf83e1

9 years agoUpdate common_audio
Arun Raghavan [Tue, 13 Oct 2015 06:46:16 +0000 (12:16 +0530)]
Update common_audio

Corresponds to upstream commit 524e9b043e7e86fd72353b987c9d5f6a1ebf83e1

Update notes:

 * Moved src/ to webrtc/ to easily diff against the third_party/webrtc
   in the chromium tree

 * ARM/NEON/MIPS support is not yet hooked up

 * Tests have not been copied

13 years agoAdd the PATENTS file to EXTRA_DIST v0.1
Arun Raghavan [Thu, 10 Nov 2011 06:43:30 +0000 (12:13 +0530)]
Add the PATENTS file to EXTRA_DIST

13 years agoAdd a NEWS file for release notes
Arun Raghavan [Thu, 10 Nov 2011 06:30:54 +0000 (12:00 +0530)]
Add a NEWS file for release notes

13 years agoAdd xz for for dist tarballs
Arun Raghavan [Thu, 10 Nov 2011 06:27:21 +0000 (11:57 +0530)]
Add xz for for dist tarballs

13 years agoUpdate code to upstream revision r789
Arun Raghavan [Fri, 21 Oct 2011 04:33:40 +0000 (10:03 +0530)]
Update code to upstream revision r789

Very minor changes.

13 years agoUpdate code to upstream revision r767
Arun Raghavan [Fri, 21 Oct 2011 04:23:02 +0000 (09:53 +0530)]
Update code to upstream revision r767

Just reorganisation of the audio_processing code.

13 years agoUpdate code to upstream revision r766
Arun Raghavan [Thu, 20 Oct 2011 07:40:08 +0000 (13:10 +0530)]
Update code to upstream revision r766

Removes matlab tests, adds delay estimation logging, and some other
minor fixes/improvements.

13 years agoUpdate README file
Arun Raghavan [Thu, 15 Sep 2011 10:47:38 +0000 (16:17 +0530)]
Update README file

13 years agoAdd a pkg-config file for clients to use
Arun Raghavan [Thu, 15 Sep 2011 08:39:19 +0000 (14:09 +0530)]
Add a pkg-config file for clients to use

13 years agoMake debugging bits optional
Arun Raghavan [Thu, 15 Sep 2011 07:41:39 +0000 (13:11 +0530)]
Make debugging bits optional

Avoide the need to pull in protobuf and other related bits.

13 years agoAdd a .gitignore file
Arun Raghavan [Thu, 15 Sep 2011 07:41:34 +0000 (13:11 +0530)]
Add a .gitignore file

13 years agoInitial commit of build system
Arun Raghavan [Thu, 15 Sep 2011 02:38:53 +0000 (08:08 +0530)]
Initial commit of build system

13 years agoInitial commit of source files
Arun Raghavan [Thu, 15 Sep 2011 02:38:41 +0000 (08:08 +0530)]
Initial commit of source files

13 years agoInitial dummy commit
Arun Raghavan [Thu, 15 Sep 2011 02:36:56 +0000 (08:06 +0530)]
Initial dummy commit