OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 <stddef.h> // size_t | 11 #include <stddef.h> // size_t |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
16 #include "webrtc/audio_processing/debug.pb.h" | |
17 #include "webrtc/base/checks.h" | 16 #include "webrtc/base/checks.h" |
18 #include "webrtc/base/scoped_ptr.h" | 17 #include "webrtc/base/scoped_ptr.h" |
19 #include "webrtc/common_audio/channel_buffer.h" | 18 #include "webrtc/common_audio/channel_buffer.h" |
20 #include "webrtc/modules/audio_coding/neteq/tools/resample_input_audio_file.h" | 19 #include "webrtc/modules/audio_coding/neteq/tools/resample_input_audio_file.h" |
| 20 #include "webrtc/modules/audio_processing/debug.pb.h" |
21 #include "webrtc/modules/audio_processing/include/audio_processing.h" | 21 #include "webrtc/modules/audio_processing/include/audio_processing.h" |
22 #include "webrtc/modules/audio_processing/test/protobuf_utils.h" | 22 #include "webrtc/modules/audio_processing/test/protobuf_utils.h" |
23 #include "webrtc/modules/audio_processing/test/test_utils.h" | 23 #include "webrtc/modules/audio_processing/test/test_utils.h" |
24 #include "webrtc/test/testsupport/fileutils.h" | 24 #include "webrtc/test/testsupport/fileutils.h" |
25 | 25 |
26 namespace webrtc { | 26 namespace webrtc { |
27 namespace test { | 27 namespace test { |
28 | 28 |
29 namespace { | 29 namespace { |
30 | 30 |
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
603 config.Set<ExperimentalNs>(new ExperimentalNs(true)); | 603 config.Set<ExperimentalNs>(new ExperimentalNs(true)); |
604 DebugDumpGenerator generator(config); | 604 DebugDumpGenerator generator(config); |
605 generator.StartRecording(); | 605 generator.StartRecording(); |
606 generator.Process(100); | 606 generator.Process(100); |
607 generator.StopRecording(); | 607 generator.StopRecording(); |
608 VerifyDebugDump(generator.dump_file_name()); | 608 VerifyDebugDump(generator.dump_file_name()); |
609 } | 609 } |
610 | 610 |
611 } // namespace test | 611 } // namespace test |
612 } // namespace webrtc | 612 } // namespace webrtc |
OLD | NEW |