13 Commits

Author SHA1 Message Date
Khem Raj
f79aaeb828
webrtc-audio-processing: drop obsolete 0.3.1 recipe
The 0.3.x series is long superseded. We already ships the
maintained webrtc-audio-processing-1 (1.3) and webrtc-audio-processing-2
(2.1) recipes, and pipewire uses webrtc-audio-processing-2. Nothing
depends on the bare 0.3.1 recipe. Drop it.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-08 16:35:51 -07:00
Khem Raj
547e283a28
webrtc-audio-processing-2: Fix build with abseil-cpp 202508
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-11 15:38:00 -07:00
Alexander Kanavin
fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Khem Raj
643751548d
webrtc-audio-processing-2: Add latomic to linker flags on riscv32
This is flagged by lld linker since it defaults to --no-allow-shlib-undefined
which disallows undefined references in shared libs

Cc: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-23 10:55:34 -07:00
Markus Volk
dab5773cfd
webrtc-audio-processing-2: add recipe
- add backport patch to fix build with gcc15
- dont add the patches from webrtc-audio-processing-1
  The fixes have not been merged but it was said that
  those issues should have been fixed

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-22 17:39:52 -07:00
Martin Jansa
e6e2763c1b
webrtc-audio-processing-1: fix build with gcc-15
* fixes:
  http://errors.yoctoproject.org/Errors/Details/848476/
  ../webrtc-audio-processing-1.3/webrtc/api/task_queue/task_queue_base.h:53:32: error: 'uint32_t' has not been declared
   53 |                                uint32_t milliseconds) = 0;
      |                                ^~~~~~~~

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-21 11:07:34 -07:00
Martin Jansa
ce572d3ea0 webrtc-audio-processing: Fix build with -Werror=return-type
* apply the work around from:
  https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/merge_requests/28
  which is still needed for 1.3 version:

  webrtc-audio-processing-1.3/webrtc/modules/audio_processing/agc2/adaptive_mode_level_estimator.cc: In function 'float webrtc::{anonymous}::GetLevel(const webrtc::VadLevelAnalyzer::Result&, LevelEstimatorType)':
  webrtc-audio-processing-1.3/webrtc/modules/audio_processing/agc2/adaptive_mode_level_estimator.cc:45:1: error: control reaches end of non-void function [-Werror=return-type]
     45 | }
        | ^
  webrtc-audio-processing-1.3/webrtc/modules/audio_processing/audio_processing_impl.cc: In function 'webrtc::GainControl::Mode webrtc::{anonymous}::Agc1ConfigModeToInterfaceMode(webrtc::AudioProcessing::Config::GainController1::Mode)':
  webrtc-audio-processing-1.3/webrtc/modules/audio_processing/audio_processing_impl.cc:117:1: error: control reaches end of non-void function [-Werror=return-type]
    117 | }
        | ^
  webrtc-audio-processing-1.3/webrtc/modules/audio_processing/audio_processing_impl.cc: In lambda function:
  webrtc-audio-processing-1.3/webrtc/modules/audio_processing/audio_processing_impl.cc:1853:13: error: control reaches end of non-void function  -Werror=return-type]
   1853 |             default:
        |             ^~~~~~~

* this can now be dropped from meta-webosose, where it was since:
  c2a24372e9 (diff-c367f86896c48beb338dac912d3bf03e07d92c8345fa08dc3dcd93093a949c16)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-18 07:08:54 -07:00
Markus Volk
3942953920 webrtc-audio-processing: add recipe for 1.x
Starting with 0.3.80 pipewire has a minimum requirement on
webrtc-audio-processing-1

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-14 10:46:54 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Adrian Bunk
6608219c24 webrtc-audio-processing: Upgrade 0.3 -> 0.3.1
Backported patches removed.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-28 15:26:43 -07:00
Khem Raj
85c702f8b2 webrtc-audio-processing: Add support for risc-v
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-07 09:33:45 -08:00
Khem Raj
3fa862b3f2 webrtc-audio-processing: Link with libexecinfo on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-24 18:57:34 +02:00
Tanu Kaskinen
5c98b0fd94 webrtc-audio-processing: initial recipe
PulseAudio has multiple alternative echo canceller implementations.
Probably the best one is the "webrtc" echo canceller, which depends on
this library.

I added some patches to fix building on MIPS and PowerPC. The first
three patches are taken from upstream, the other three patches are my
own. I have only tested that the code builds on all architectures, not
that the code actually works.

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-14 23:44:31 +02:00