Fix the maximum native sample rate in AudioProcessing
BUG=webrtc:4983 R=andrew@webrtc.org, henrik.lundin@webrtc.org Review URL: https://codereview.webrtc.org/1338833002 . Cr-Commit-Position: refs/heads/master@{#10037}
This commit is contained in:
@ -15,6 +15,7 @@
|
||||
#include <stdio.h> // FILE
|
||||
#include <vector>
|
||||
|
||||
#include "webrtc/base/arraysize.h"
|
||||
#include "webrtc/base/platform_file.h"
|
||||
#include "webrtc/common.h"
|
||||
#include "webrtc/modules/audio_processing/beamformer/array_util.h"
|
||||
@ -128,8 +129,6 @@ struct Intelligibility {
|
||||
bool enabled;
|
||||
};
|
||||
|
||||
static const int kAudioProcMaxNativeSampleRateHz = 32000;
|
||||
|
||||
// The Audio Processing Module (APM) provides a collection of voice processing
|
||||
// components designed for real-time communications software.
|
||||
//
|
||||
@ -471,6 +470,11 @@ class AudioProcessing {
|
||||
kSampleRate48kHz = 48000
|
||||
};
|
||||
|
||||
static const int kNativeSampleRatesHz[];
|
||||
static const size_t kNumNativeSampleRates;
|
||||
static const int kMaxNativeSampleRateHz;
|
||||
static const int kMaxAECMSampleRateHz;
|
||||
|
||||
static const int kChunkSizeMs = 10;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user