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

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

Issue 2326003002: Moved codec-specific audio packet splitting into decoders. (Closed)
Patch Set: Reworked packet splitting. Renamed SplitBySamples and AudioCodingUtils. Created 4 years, 3 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 57d7cd924736e6627a0b36ff75dad4ef66875214..720746eeb1bce18ecbda7c87aa9042e9c05e15cd 100644
--- a/webrtc/modules/audio_coding/BUILD.gn
+++ b/webrtc/modules/audio_coding/BUILD.gn
@@ -130,6 +130,7 @@ rtc_source_set("audio_decoder_interface") {
"codecs/audio_decoder.h",
]
deps = [
+ ":legacy_encoded_audio_frame",
"../..:webrtc_common",
"../../base:rtc_base_approved",
]
@@ -187,6 +188,13 @@ rtc_source_set("red") {
]
}
+rtc_source_set("legacy_encoded_audio_frame") {
+ sources = [
+ "codecs/legacy_encoded_audio_frame.cc",
+ "codecs/legacy_encoded_audio_frame.h",
+ ]
+}
+
config("g711_config") {
include_dirs = [
"../../..",
@@ -211,6 +219,7 @@ rtc_source_set("g711") {
deps = [
":audio_decoder_interface",
":audio_encoder_interface",
+ ":legacy_encoded_audio_frame",
]
}
@@ -239,6 +248,7 @@ rtc_source_set("g722") {
deps = [
":audio_decoder_interface",
":audio_encoder_interface",
+ ":legacy_encoded_audio_frame",
]
}

Powered by Google App Engine
This is Rietveld 408576698