File: s0122.patch

package info (click to toggle)
firefox 147.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,683,484 kB
  • sloc: cpp: 7,607,246; javascript: 6,533,185; ansic: 3,775,227; python: 1,415,393; xml: 634,561; asm: 438,951; java: 186,241; sh: 62,752; makefile: 18,079; objc: 13,092; perl: 12,808; yacc: 4,583; cs: 3,846; pascal: 3,448; lex: 1,720; ruby: 1,003; php: 436; lisp: 258; awk: 247; sql: 66; sed: 54; csh: 10; exp: 6
file content (42 lines) | stat: -rw-r--r-- 1,569 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
From: Michael Froman <mjfroman@mac.com>
Date: Tue, 16 Sep 2025 09:26:22 -0500
Subject: Bug 1985396 - Cherry-pick upstream libwebrtc commit 73898ac18b

Upstream commit: https://webrtc.googlesource.com/src/+/73898ac18b498c3322f71b9543a2b77f465a47af
       APM data dumpers: add missing include

       Currently, audioproc_f fails to build with apm_debug_dump enabled.

       Bug: webrtc:442745059
       Change-Id: I349468891d798341abdaea32042cbe23c4722f75
       Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/407641
       Commit-Queue: Sam Zackrisson <saza@webrtc.org>
       Commit-Queue: Lionel Koenig <lionelk@webrtc.org>
       Reviewed-by: Lionel Koenig <lionelk@webrtc.org>
       Cr-Commit-Position: refs/heads/main@{#45547}
---
 modules/audio_processing/logging/apm_data_dumper.cc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/modules/audio_processing/logging/apm_data_dumper.cc b/modules/audio_processing/logging/apm_data_dumper.cc
index b26d90fbc8..d86d8d8d3b 100644
--- a/modules/audio_processing/logging/apm_data_dumper.cc
+++ b/modules/audio_processing/logging/apm_data_dumper.cc
@@ -10,13 +10,16 @@
 
 #include "modules/audio_processing/logging/apm_data_dumper.h"
 
-
 // Check to verify that the define is properly set.
 #if !defined(WEBRTC_APM_DEBUG_DUMP) || \
     (WEBRTC_APM_DEBUG_DUMP != 0 && WEBRTC_APM_DEBUG_DUMP != 1)
 #error "Set WEBRTC_APM_DEBUG_DUMP to either 0 or 1"
 #endif
 
+#if WEBRTC_APM_DEBUG_DUMP == 1
+#include "rtc_base/strings/string_builder.h"
+#endif
+
 namespace webrtc {
 namespace {