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

Side by Side Diff: webrtc/common_audio/vad/vad_core.h

Issue 1230503003: Update a ton of audio code to use size_t more correctly and in general reduce (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Resync Created 5 years, 3 months 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
« no previous file with comments | « webrtc/common_audio/vad/vad.cc ('k') | webrtc/common_audio/vad/vad_core.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 * - frame_length : Number of input samples 97 * - frame_length : Number of input samples
98 * 98 *
99 * Output: 99 * Output:
100 * - inst : Updated filter states etc. 100 * - inst : Updated filter states etc.
101 * 101 *
102 * Return value : VAD decision 102 * Return value : VAD decision
103 * 0 - No active speech 103 * 0 - No active speech
104 * 1-6 - Active speech 104 * 1-6 - Active speech
105 */ 105 */
106 int WebRtcVad_CalcVad48khz(VadInstT* inst, const int16_t* speech_frame, 106 int WebRtcVad_CalcVad48khz(VadInstT* inst, const int16_t* speech_frame,
107 int frame_length); 107 size_t frame_length);
108 int WebRtcVad_CalcVad32khz(VadInstT* inst, const int16_t* speech_frame, 108 int WebRtcVad_CalcVad32khz(VadInstT* inst, const int16_t* speech_frame,
109 int frame_length); 109 size_t frame_length);
110 int WebRtcVad_CalcVad16khz(VadInstT* inst, const int16_t* speech_frame, 110 int WebRtcVad_CalcVad16khz(VadInstT* inst, const int16_t* speech_frame,
111 int frame_length); 111 size_t frame_length);
112 int WebRtcVad_CalcVad8khz(VadInstT* inst, const int16_t* speech_frame, 112 int WebRtcVad_CalcVad8khz(VadInstT* inst, const int16_t* speech_frame,
113 int frame_length); 113 size_t frame_length);
114 114
115 #endif // WEBRTC_COMMON_AUDIO_VAD_VAD_CORE_H_ 115 #endif // WEBRTC_COMMON_AUDIO_VAD_VAD_CORE_H_
OLDNEW
« no previous file with comments | « webrtc/common_audio/vad/vad.cc ('k') | webrtc/common_audio/vad/vad_core.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698