Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Side by Side Diff: webrtc/modules/audio_processing/ns/noise_suppression_x.c

Issue 1440523002: Remove webrtc/modules/audio_processing/{aec,aecm,ns}/include (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include "webrtc/modules/audio_processing/ns/include/noise_suppression_x.h" 11 #include "webrtc/modules/audio_processing/ns/noise_suppression_x.h"
12 12
13 #include <stdlib.h> 13 #include <stdlib.h>
14 14
15 #include "webrtc/common_audio/signal_processing/include/real_fft.h" 15 #include "webrtc/common_audio/signal_processing/include/real_fft.h"
16 #include "webrtc/modules/audio_processing/ns/nsx_core.h" 16 #include "webrtc/modules/audio_processing/ns/nsx_core.h"
17 #include "webrtc/modules/audio_processing/ns/nsx_defines.h" 17 #include "webrtc/modules/audio_processing/ns/nsx_defines.h"
18 18
19 NsxHandle* WebRtcNsx_Create() { 19 NsxHandle* WebRtcNsx_Create() {
20 NoiseSuppressionFixedC* self = malloc(sizeof(NoiseSuppressionFixedC)); 20 NoiseSuppressionFixedC* self = malloc(sizeof(NoiseSuppressionFixedC));
21 WebRtcSpl_Init(); 21 WebRtcSpl_Init();
(...skipping 15 matching lines...) Expand all
37 return WebRtcNsx_set_policy_core((NoiseSuppressionFixedC*)nsxInst, mode); 37 return WebRtcNsx_set_policy_core((NoiseSuppressionFixedC*)nsxInst, mode);
38 } 38 }
39 39
40 void WebRtcNsx_Process(NsxHandle* nsxInst, 40 void WebRtcNsx_Process(NsxHandle* nsxInst,
41 const short* const* speechFrame, 41 const short* const* speechFrame,
42 int num_bands, 42 int num_bands,
43 short* const* outFrame) { 43 short* const* outFrame) {
44 WebRtcNsx_ProcessCore((NoiseSuppressionFixedC*)nsxInst, speechFrame, 44 WebRtcNsx_ProcessCore((NoiseSuppressionFixedC*)nsxInst, speechFrame,
45 num_bands, outFrame); 45 num_bands, outFrame);
46 } 46 }
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/ns/noise_suppression_x.h ('k') | webrtc/modules/audio_processing/ns/ns_core.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698