diff options
Diffstat (limited to 'chromium/third_party/webrtc/modules/audio_coding/neteq/mute_signal.c')
-rw-r--r-- | chromium/third_party/webrtc/modules/audio_coding/neteq/mute_signal.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/chromium/third_party/webrtc/modules/audio_coding/neteq/mute_signal.c b/chromium/third_party/webrtc/modules/audio_coding/neteq/mute_signal.c deleted file mode 100644 index 767a71dee1f..00000000000 --- a/chromium/third_party/webrtc/modules/audio_coding/neteq/mute_signal.c +++ /dev/null @@ -1,33 +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 function mutes a signal linearly on a sample by sample basis. - */ - -#include "dsp_helpfunctions.h" - -#include "signal_processing_library.h" - -void WebRtcNetEQ_MuteSignal(int16_t *pw16_inout, int16_t muteSlope, - int16_t N) -{ - int i; - int32_t w32_tmp = 1048608; /* (16384<<6 + 32) */ - - for (i = 0; i < N; i++) - { - pw16_inout[i] - = (int16_t) ((WEBRTC_SPL_MUL_16_16((int16_t)(w32_tmp>>6), pw16_inout[i]) - + 8192) >> 14); - w32_tmp -= muteSlope; - } -} - |