AudioEncoder subclass for iSACfix
This patch refactors AudioEncoderDecoderIsac so that it can share almost all code with the very similar AudioEncoderDecoderIsacFix. BUG=3926 R=henrik.lundin@webrtc.org, kjellander@webrtc.org Review URL: https://webrtc-codereview.appspot.com/29259004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7912 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by a BSD-style license
|
||||
* that can be found in the LICENSE file in the root of the source
|
||||
* tree. An additional intellectual property rights grant can be found
|
||||
* in the file PATENTS. All contributing project authors may
|
||||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
|
||||
#include "webrtc/modules/audio_coding/codecs/isac/fix/interface/audio_encoder_isacfix.h"
|
||||
|
||||
#include "webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t_impl.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
const uint16_t IsacFix::kFixSampleRate;
|
||||
|
||||
// Explicit instantiation of AudioEncoderDecoderIsacT<IsacFix>, a.k.a.
|
||||
// AudioEncoderDecoderIsacFix.
|
||||
template class AudioEncoderDecoderIsacT<IsacFix>;
|
||||
|
||||
} // namespace webrtc
|
||||
@ -26,10 +26,14 @@
|
||||
],
|
||||
},
|
||||
'sources': [
|
||||
'../../audio_encoder_isac_t.h',
|
||||
'../../audio_encoder_isac_t_impl.h',
|
||||
'../interface/audio_encoder_isacfix.h',
|
||||
'../interface/isacfix.h',
|
||||
'arith_routines.c',
|
||||
'arith_routines_hist.c',
|
||||
'arith_routines_logist.c',
|
||||
'audio_encoder_isacfix.cc',
|
||||
'bandwidth_estimator.c',
|
||||
'decode.c',
|
||||
'decode_bwe.c',
|
||||
|
||||
Reference in New Issue
Block a user