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,16 +8,15 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef WEBRTC_MODULES_AUDIO_PROCESSING_COMMON_H_
#define WEBRTC_MODULES_AUDIO_PROCESSING_COMMON_H_
#ifndef MODULES_AUDIO_PROCESSING_COMMON_H_
#define MODULES_AUDIO_PROCESSING_COMMON_H_
#include <assert.h>
#include "webrtc/modules/audio_processing/include/audio_processing.h"
#include "modules/audio_processing/include/audio_processing.h"
#include "rtc_base/checks.h"
namespace webrtc {
static inline int ChannelsFromLayout(AudioProcessing::ChannelLayout layout) {
static inline size_t ChannelsFromLayout(AudioProcessing::ChannelLayout layout) {
switch (layout) {
case AudioProcessing::kMono:
case AudioProcessing::kMonoAndKeyboard:
@ -26,10 +25,10 @@ static inline int ChannelsFromLayout(AudioProcessing::ChannelLayout layout) {
case AudioProcessing::kStereoAndKeyboard:
return 2;
}
assert(false);
return -1;
RTC_NOTREACHED();
return 0;
}
} // namespace webrtc
#endif // WEBRTC_MODULES_AUDIO_PROCESSING_COMMON_H_
#endif // MODULES_AUDIO_PROCESSING_COMMON_H_