OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #include <iostream> | 11 #include <iostream> |
12 | 12 |
13 #include "webrtc/modules/audio_processing/test/aec_dump_based_simulator.h" | 13 #include "webrtc/modules/audio_processing/test/aec_dump_based_simulator.h" |
14 | 14 |
| 15 #include "webrtc/base/checks.h" |
15 #include "webrtc/modules/audio_processing/test/protobuf_utils.h" | 16 #include "webrtc/modules/audio_processing/test/protobuf_utils.h" |
16 #include "webrtc/rtc_base/checks.h" | |
17 #include "webrtc/test/testsupport/trace_to_stderr.h" | 17 #include "webrtc/test/testsupport/trace_to_stderr.h" |
18 | 18 |
19 namespace webrtc { | 19 namespace webrtc { |
20 namespace test { | 20 namespace test { |
21 namespace { | 21 namespace { |
22 | 22 |
23 // Verify output bitexactness for the fixed interface. | 23 // Verify output bitexactness for the fixed interface. |
24 // TODO(peah): Check whether it would make sense to add a threshold | 24 // TODO(peah): Check whether it would make sense to add a threshold |
25 // to use for checking the bitexactness in a soft manner. | 25 // to use for checking the bitexactness in a soft manner. |
26 bool VerifyFixedBitExactness(const webrtc::audioproc::Stream& msg, | 26 bool VerifyFixedBitExactness(const webrtc::audioproc::Stream& msg, |
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
577 } | 577 } |
578 | 578 |
579 void AecDumpBasedSimulator::HandleMessage( | 579 void AecDumpBasedSimulator::HandleMessage( |
580 const webrtc::audioproc::ReverseStream& msg) { | 580 const webrtc::audioproc::ReverseStream& msg) { |
581 PrepareReverseProcessStreamCall(msg); | 581 PrepareReverseProcessStreamCall(msg); |
582 ProcessReverseStream(interface_used_ == InterfaceType::kFixedInterface); | 582 ProcessReverseStream(interface_used_ == InterfaceType::kFixedInterface); |
583 } | 583 } |
584 | 584 |
585 } // namespace test | 585 } // namespace test |
586 } // namespace webrtc | 586 } // namespace webrtc |
OLD | NEW |