Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: webrtc/modules/audio_coding/BUILD.gn

Issue 2947563002: Revert of Opus implementation of the AudioEncoderFactoryTemplate API (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/BUILD.gn
diff --git a/webrtc/modules/audio_coding/BUILD.gn b/webrtc/modules/audio_coding/BUILD.gn
index dfe2e68b68e3bc76f5aa2ad910fb9a1dd49b45b5..2ebb86be468a6c125eb1037ebcb82d263b7abe2e 100644
--- a/webrtc/modules/audio_coding/BUILD.gn
+++ b/webrtc/modules/audio_coding/BUILD.gn
@@ -828,7 +828,6 @@
":audio_network_adaptor",
"../..:webrtc_common",
"../../api/audio_codecs:audio_codecs_api",
- "../../api/audio_codecs/opus:audio_encoder_opus_config",
"../../base:protobuf_utils",
"../../base:rtc_base_approved",
"../../base:rtc_numerics",
@@ -840,6 +839,11 @@
]
defines = audio_codec_defines
+ if (rtc_opus_variable_complexity) {
+ defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=1" ]
+ } else {
+ defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=0" ]
+ }
if (rtc_build_opus) {
public_deps += [ rtc_opus_dir ]
@@ -1478,7 +1482,6 @@
":neteq",
":neteq_tools",
"../../api/audio_codecs:audio_codecs_api",
- "../../api/audio_codecs/opus:audio_encoder_opus",
"../../base:protobuf_utils",
"../../common_audio",
"../../test:test_main",

Powered by Google App Engine
This is Rietveld 408576698