projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
webrtc
/
common_audio
/
vad
/
include
/
webrtc_vad.h
diff --git
a/src/third_party/webrtc/common_audio/vad/include/webrtc_vad.h
b/src/third_party/webrtc/common_audio/vad/include/webrtc_vad.h
index
f6e959f
..
0538273
100644
(file)
--- a/
src/third_party/webrtc/common_audio/vad/include/webrtc_vad.h
+++ b/
src/third_party/webrtc/common_audio/vad/include/webrtc_vad.h
@@
-34,9
+34,7
@@
int WebRtcVad_Create(VadInst** handle);
// Frees the dynamic memory of a specified VAD instance.
//
// - handle [i] : Pointer to VAD instance that should be freed.
// Frees the dynamic memory of a specified VAD instance.
//
// - handle [i] : Pointer to VAD instance that should be freed.
-//
-// returns : 0 - (OK), -1 - (NULL pointer in)
-int WebRtcVad_Free(VadInst* handle);
+void WebRtcVad_Free(VadInst* handle);
// Initializes a VAD instance.
//
// Initializes a VAD instance.
//
@@
-71,7
+69,7
@@
int WebRtcVad_set_mode(VadInst* handle, int mode);
// returns : 1 - (Active Voice),
// 0 - (Non-active Voice),
// -1 - (Error)
// returns : 1 - (Active Voice),
// 0 - (Non-active Voice),
// -1 - (Error)
-int WebRtcVad_Process(VadInst* handle, int fs, int16_t* audio_frame,
+int WebRtcVad_Process(VadInst* handle, int fs,
const
int16_t* audio_frame,
int frame_length);
// Checks for valid combinations of |rate| and |frame_length|. We support 10,
int frame_length);
// Checks for valid combinations of |rate| and |frame_length|. We support 10,