| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |