aboutsummaryrefslogtreecommitdiff
path: root/webrtc/modules/audio_coding/codecs
diff options
context:
space:
mode:
authorpkasting <pkasting@chromium.org>2015-08-14 12:38:02 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-14 19:38:09 +0000
commit805d8fb6eba5dfe4a1d4a875769d2f355683e21d (patch)
tree8b1d6603c1f1230283708d27d97ede0b0fa59e02 /webrtc/modules/audio_coding/codecs
parent55e9a7dc4ba922599d4fbcf25f13629ba210fc64 (diff)
downloadwebrtc-805d8fb6eba5dfe4a1d4a875769d2f355683e21d.tar.gz
Remove WebRtcIsac_Highpass_float().
This function is unreferenced and not even declared in a header file. Split from https://codereview.webrtc.org/1228793004/ . BUG=none TEST=none Review URL: https://codereview.webrtc.org/1296513002 Cr-Commit-Position: refs/heads/master@{#9716}
Diffstat (limited to 'webrtc/modules/audio_coding/codecs')
-rw-r--r--webrtc/modules/audio_coding/codecs/isac/main/source/filter_functions.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/webrtc/modules/audio_coding/codecs/isac/main/source/filter_functions.c b/webrtc/modules/audio_coding/codecs/isac/main/source/filter_functions.c
index 76a9e7530d..089f26ec03 100644
--- a/webrtc/modules/audio_coding/codecs/isac/main/source/filter_functions.c
+++ b/webrtc/modules/audio_coding/codecs/isac/main/source/filter_functions.c
@@ -245,8 +245,6 @@ void WebRtcIsac_DecimateAllpass(const double *in,
* HP_a = [1, -2*real(p), abs(p)^2]; */
static const double a_coef[2] = { 1.86864659625574, -0.88360000000000};
static const double b_coef[2] = {-1.99524591718270, 0.99600400000000};
-static const float a_coef_float[2] = { 1.86864659625574f, -0.88360000000000f};
-static const float b_coef_float[2] = {-1.99524591718270f, 0.99600400000000f};
/* second order high-pass filter */
void WebRtcIsac_Highpass(const double *in, double *out, double *state, int N)
@@ -259,14 +257,3 @@ void WebRtcIsac_Highpass(const double *in, double *out, double *state, int N)
state[0] = b_coef[1] * *in++ + a_coef[1] * *out++;
}
}
-
-void WebRtcIsac_Highpass_float(const float *in, double *out, double *state, int N)
-{
- int k;
-
- for (k=0; k<N; k++) {
- *out = (double)*in + state[1];
- state[1] = state[0] + b_coef_float[0] * *in + a_coef_float[0] * *out;
- state[0] = b_coef_float[1] * (double)*in++ + a_coef_float[1] * *out++;
- }
-}