common_audio: Removed version API from signal_processing

The Signal Processing version API is not used anymore.

BUG=3353
R=kwiberg@webrtc.org, tina.legrand@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7451 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
bjornv@webrtc.org 2014-10-15 04:38:42 +00:00
parent 81ddc78536
commit fab5439112
5 changed files with 0 additions and 46 deletions

View File

@ -66,7 +66,6 @@ source_set("common_audio") {
"signal_processing/resample_fractional.c",
"signal_processing/spl_init.c",
"signal_processing/spl_sqrt.c",
"signal_processing/spl_version.c",
"signal_processing/splitting_filter.c",
"signal_processing/sqrt_of_one_minus_x_squared.c",
"signal_processing/vector_scaling_operations.c",

View File

@ -80,7 +80,6 @@
'signal_processing/spl_init.c',
'signal_processing/spl_sqrt.c',
'signal_processing/spl_sqrt_floor.c',
'signal_processing/spl_version.c',
'signal_processing/splitting_filter.c',
'signal_processing/sqrt_of_one_minus_x_squared.c',
'signal_processing/vector_scaling_operations.c',

View File

@ -117,9 +117,6 @@ extern "C" {
// functions.
void WebRtcSpl_Init();
// Get SPL Version
int16_t WebRtcSpl_get_version(char* version, int16_t length_in_bytes);
int16_t WebRtcSpl_GetScalingSquare(int16_t* in_vector,
int in_vector_length,
int times);
@ -1684,16 +1681,3 @@ void WebRtcSpl_SynthesisQMF(const int16_t* low_band,
//
// Return Value: The value of a * b + c.
//
// int16_t WebRtcSpl_get_version(...)
//
// This function gives the version string of the Signal Processing Library.
//
// Input:
// - length_in_bytes : The size of Allocated space (in Bytes) where
// the version number is written to (in string format).
//
// Output:
// - version : Pointer to a buffer where the version number is
// written to.
//

View File

@ -96,7 +96,6 @@ TEST_F(SplTest, InlineTest) {
int16_t b16 = -17;
int32_t a32 = 111121;
int32_t b32 = -1711;
char bVersion[8];
EXPECT_EQ(17, WebRtcSpl_GetSizeInBits(a32));
@ -136,8 +135,6 @@ TEST_F(SplTest, InlineTest) {
a32 = 0x80000000;
b32 = 0x7fffffff;
EXPECT_EQ(static_cast<int>(0x80000000), WebRtcSpl_SubSatW32(a32, b32));
EXPECT_EQ(0, WebRtcSpl_get_version(bVersion, 8));
}
TEST_F(SplTest, MathOperationsTest) {

View File

@ -1,25 +0,0 @@
/*
* Copyright (c) 2011 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.
*/
/*
* This file contains the function WebRtcSpl_get_version().
* The description header can be found in signal_processing_library.h
*
*/
#include <string.h>
#include "webrtc/common_audio/signal_processing/include/signal_processing_library.h"
int16_t WebRtcSpl_get_version(char* version, int16_t length_in_bytes)
{
strncpy(version, "1.2.0", length_in_bytes);
return 0;
}