Upstream commit: https://webrtc.googlesource.com/src/+/2217b0c66cc7dae4227b33c0ddb7eefdc9645a58 Remove test code related to unused variables `input_aecdump` and `processed_capture_samples` are never used, so the code related to those variables, can be removed. Bug: none Change-Id: I4f0b7db01f1e218f62e732ab9a247dd0b9708666 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/356542 Reviewed-by: Per Åhgren <peah@webrtc.org> Reviewed-by: Jesus de Vicente Pena <devicentepena@webrtc.org> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#47105}
36 lines
1.1 KiB
C++
36 lines
1.1 KiB
C++
/*
|
|
* Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
|
|
#ifndef MODULES_AUDIO_PROCESSING_TEST_PROTOBUF_UTILS_H_
|
|
#define MODULES_AUDIO_PROCESSING_TEST_PROTOBUF_UTILS_H_
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
#include <cstdio>
|
|
#include <memory>
|
|
|
|
#include "rtc_base/protobuf_utils.h"
|
|
|
|
// Generated at build-time by the protobuf compiler.
|
|
#include "modules/audio_processing/debug.pb.h" // IWYU pragma: export
|
|
|
|
namespace webrtc {
|
|
|
|
// Allocates new memory in the unique_ptr to fit the raw message and returns the
|
|
// number of bytes read.
|
|
size_t ReadMessageBytesFromFile(FILE* file, std::unique_ptr<uint8_t[]>* bytes);
|
|
|
|
// Returns true on success, false on error or end-of-file.
|
|
bool ReadMessageFromFile(FILE* file, MessageLite* msg);
|
|
|
|
} // namespace webrtc
|
|
|
|
#endif // MODULES_AUDIO_PROCESSING_TEST_PROTOBUF_UTILS_H_
|