Fix windows build.
Review URL: http://webrtc-codereview.appspot.com/150001 git-svn-id: http://webrtc.googlecode.com/svn/trunk@600 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
b47d4b287d
commit
8dc3985a10
@ -11,7 +11,6 @@
|
|||||||
#include "delay_estimator.h"
|
#include "delay_estimator.h"
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdint.h>
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
@ -231,11 +230,12 @@ int WebRtc_CreateDelayEstimator(void** handle,
|
|||||||
int spectrum_size,
|
int spectrum_size,
|
||||||
int history_size,
|
int history_size,
|
||||||
int enable_alignment) {
|
int enable_alignment) {
|
||||||
|
DelayEstimator_t *self = NULL;
|
||||||
|
|
||||||
// Check if the sub band used in the delay estimation is small enough to
|
// Check if the sub band used in the delay estimation is small enough to
|
||||||
// fit the binary spectra in a uint32.
|
// fit the binary spectra in a uint32.
|
||||||
assert(kBandLast - kBandFirst < 32);
|
assert(kBandLast - kBandFirst < 32);
|
||||||
|
|
||||||
DelayEstimator_t *self = NULL;
|
|
||||||
if (spectrum_size < kBandLast) {
|
if (spectrum_size < kBandLast) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
#ifndef WEBRTC_MODULES_AUDIO_PROCESSING_UTILITY_DELAY_ESTIMATOR_H_
|
#ifndef WEBRTC_MODULES_AUDIO_PROCESSING_UTILITY_DELAY_ESTIMATOR_H_
|
||||||
#define WEBRTC_MODULES_AUDIO_PROCESSING_UTILITY_DELAY_ESTIMATOR_H_
|
#define WEBRTC_MODULES_AUDIO_PROCESSING_UTILITY_DELAY_ESTIMATOR_H_
|
||||||
|
|
||||||
#include <stdint.h>
|
#include "typedefs.h"
|
||||||
|
|
||||||
// Releases the memory allocated by WebRtc_CreateDelayEstimator(...)
|
// Releases the memory allocated by WebRtc_CreateDelayEstimator(...)
|
||||||
// Input:
|
// Input:
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <stdint.h>
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user