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:
Arun Raghavan
2020-10-12 18:08:02 -04:00
parent b1b02581d3
commit bcec8b0b21
859 changed files with 76187 additions and 49580 deletions

View File

@ -8,9 +8,12 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include "webrtc/common_audio/vad/include/vad.h"
#include "common_audio/vad/include/vad.h"
#include "webrtc/base/checks.h"
#include <memory>
#include "common_audio/vad/include/webrtc_vad.h"
#include "rtc_base/checks.h"
namespace webrtc {
@ -35,7 +38,7 @@ class VadImpl final : public Vad {
case 1:
return kActive;
default:
RTC_DCHECK(false) << "WebRtcVad_Process returned an error.";
RTC_NOTREACHED() << "WebRtcVad_Process returned an error.";
return kError;
}
}
@ -56,8 +59,8 @@ class VadImpl final : public Vad {
} // namespace
rtc::scoped_ptr<Vad> CreateVad(Vad::Aggressiveness aggressiveness) {
return rtc::scoped_ptr<Vad>(new VadImpl(aggressiveness));
std::unique_ptr<Vad> CreateVad(Vad::Aggressiveness aggressiveness) {
return std::unique_ptr<Vad>(new VadImpl(aggressiveness));
}
} // namespace webrtc