Make an AudioEncoder subclass for iSAC

BUG=3926

Previously committed: https://code.google.com/p/webrtc/source/detail?r=7675
and reverted: https://code.google.com/p/webrtc/source/detail?r=7676

R=henrik.lundin@webrtc.org, kjellander@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/25359004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7871 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
kwiberg@webrtc.org
2014-12-11 10:08:19 +00:00
parent abe3f1879c
commit b3ad8cf6ca
7 changed files with 357 additions and 149 deletions

View File

@ -369,11 +369,13 @@ config("isac_config") {
source_set("isac") {
sources = [
"codecs/isac/main/interface/audio_encoder_isac.h",
"codecs/isac/main/interface/isac.h",
"codecs/isac/main/source/arith_routines.c",
"codecs/isac/main/source/arith_routines.h",
"codecs/isac/main/source/arith_routines_hist.c",
"codecs/isac/main/source/arith_routines_logist.c",
"codecs/isac/main/source/audio_encoder_isac.cc",
"codecs/isac/main/source/bandwidth_estimator.c",
"codecs/isac/main/source/bandwidth_estimator.h",
"codecs/isac/main/source/codec.h",
@ -420,6 +422,12 @@ source_set("isac") {
"codecs/isac/main/source/transform.c",
]
if (is_clang) {
# Suppress warnings from Chrome's Clang plugins.
# See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
configs -= [ "//build/config/clang:find_bad_constructs" ]
}
if (is_linux) {
libs = [ "m" ]
}
@ -431,7 +439,10 @@ source_set("isac") {
":isac_config",
]
deps = [ "../../common_audio" ]
deps = [
":audio_decoder_interface",
"../../common_audio",
]
}
config("isac_fix_config") {