Move the AudioDecoder interface out of NetEq
It belongs with the codecs, next to the AudioEncoder interface.
R=henrik.lundin@webrtc.org, kjellander@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/27309004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7798 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/modules/audio_coding/BUILD.gn b/webrtc/modules/audio_coding/BUILD.gn
index 0c087ec..854ddb8 100644
--- a/webrtc/modules/audio_coding/BUILD.gn
+++ b/webrtc/modules/audio_coding/BUILD.gn
@@ -113,6 +113,13 @@
}
}
+source_set("audio_decoder_interface") {
+ sources = [
+ "codecs/audio_decoder.cc",
+ "codecs/audio_decoder.h",
+ ]
+}
+
config("cng_config") {
include_dirs = [
"../../..",
@@ -634,7 +641,6 @@
source_set("neteq") {
sources = [
- "neteq/interface/audio_decoder.h",
"neteq/interface/neteq.h",
"neteq/accelerate.cc",
"neteq/accelerate.h",
@@ -642,7 +648,6 @@
"neteq/audio_classifier.h",
"neteq/audio_decoder_impl.cc",
"neteq/audio_decoder_impl.h",
- "neteq/audio_decoder.cc",
"neteq/audio_multi_vector.cc",
"neteq/audio_multi_vector.h",
"neteq/audio_vector.cc",
@@ -719,6 +724,7 @@
}
deps = [
+ ":audio_decoder_interface",
":cng",
":g711",
":g722",