common_audio: VADFree() now returns void
* Files in audio_coding are not affected since they never use the return value. * voice_detection in audio_processing does. * Updated vad_unittest.cc BUG=441 TESTED=trybots R=andrew@webrtc.org, tina.legrand@webrtc.org Review URL: https://webrtc-codereview.appspot.com/12059005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5948 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -164,7 +164,8 @@ void* VoiceDetectionImpl::CreateHandle() const {
|
||||
}
|
||||
|
||||
int VoiceDetectionImpl::DestroyHandle(void* handle) const {
|
||||
return WebRtcVad_Free(static_cast<Handle*>(handle));
|
||||
WebRtcVad_Free(static_cast<Handle*>(handle));
|
||||
return apm_->kNoError;
|
||||
}
|
||||
|
||||
int VoiceDetectionImpl::InitializeHandle(void* handle) const {
|
||||
|
||||
Reference in New Issue
Block a user