Update to current webrtc library
This is from the upstream library commit id 3326535126e435f1ba647885ce43a8f0f3d317eb, corresponding to Chromium 88.0.4290.1.
This commit is contained in:
@ -8,17 +8,16 @@
|
||||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
|
||||
#ifndef WEBRTC_MODULES_AUDIO_PROCESSING_VAD_PITCH_BASED_VAD_H_
|
||||
#define WEBRTC_MODULES_AUDIO_PROCESSING_VAD_PITCH_BASED_VAD_H_
|
||||
#ifndef MODULES_AUDIO_PROCESSING_VAD_PITCH_BASED_VAD_H_
|
||||
#define MODULES_AUDIO_PROCESSING_VAD_PITCH_BASED_VAD_H_
|
||||
|
||||
#include "webrtc/base/scoped_ptr.h"
|
||||
#include "webrtc/modules/audio_processing/vad/common.h"
|
||||
#include "webrtc/modules/audio_processing/vad/gmm.h"
|
||||
#include "webrtc/typedefs.h"
|
||||
#include <memory>
|
||||
|
||||
#include "modules/audio_processing/vad/common.h"
|
||||
#include "modules/audio_processing/vad/gmm.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
class AudioFrame;
|
||||
class VadCircularBuffer;
|
||||
|
||||
// Computes the probability of the input audio frame to be active given
|
||||
@ -50,8 +49,9 @@ class PitchBasedVad {
|
||||
|
||||
double p_prior_;
|
||||
|
||||
rtc::scoped_ptr<VadCircularBuffer> circular_buffer_;
|
||||
std::unique_ptr<VadCircularBuffer> circular_buffer_;
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
#endif // WEBRTC_MODULES_AUDIO_PROCESSING_VAD_PITCH_BASED_VAD_H_
|
||||
|
||||
#endif // MODULES_AUDIO_PROCESSING_VAD_PITCH_BASED_VAD_H_
|
||||
|
Reference in New Issue
Block a user