Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Side by Side Diff: webrtc/modules/audio_processing/test/test_utils.h

Issue 2964773002: Revert "Update includes for webrtc/{base => rtc_base} rename (1/3)" (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 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 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_TEST_TEST_UTILS_H_ 11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_TEST_TEST_UTILS_H_
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_TEST_TEST_UTILS_H_ 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_TEST_TEST_UTILS_H_
13 13
14 #include <math.h> 14 #include <math.h>
15 #include <iterator> 15 #include <iterator>
16 #include <limits> 16 #include <limits>
17 #include <memory> 17 #include <memory>
18 #include <string> 18 #include <string>
19 #include <vector> 19 #include <vector>
20 20
21 #include "webrtc/base/constructormagic.h"
21 #include "webrtc/common_audio/channel_buffer.h" 22 #include "webrtc/common_audio/channel_buffer.h"
22 #include "webrtc/common_audio/wav_file.h" 23 #include "webrtc/common_audio/wav_file.h"
23 #include "webrtc/modules/audio_processing/include/audio_processing.h" 24 #include "webrtc/modules/audio_processing/include/audio_processing.h"
24 #include "webrtc/modules/include/module_common_types.h" 25 #include "webrtc/modules/include/module_common_types.h"
25 #include "webrtc/rtc_base/constructormagic.h"
26 26
27 namespace webrtc { 27 namespace webrtc {
28 28
29 static const AudioProcessing::Error kNoErr = AudioProcessing::kNoError; 29 static const AudioProcessing::Error kNoErr = AudioProcessing::kNoError;
30 #define EXPECT_NOERR(expr) EXPECT_EQ(kNoErr, (expr)) 30 #define EXPECT_NOERR(expr) EXPECT_EQ(kNoErr, (expr))
31 31
32 class RawFile final { 32 class RawFile final {
33 public: 33 public:
34 explicit RawFile(const std::string& filename); 34 explicit RawFile(const std::string& filename);
35 ~RawFile(); 35 ~RawFile();
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 // appropriate error message has been printed to stdout. 149 // appropriate error message has been printed to stdout.
150 std::vector<Point> ParseArrayGeometry(const std::string& mic_positions, 150 std::vector<Point> ParseArrayGeometry(const std::string& mic_positions,
151 size_t num_mics); 151 size_t num_mics);
152 152
153 // Same as above, but without the num_mics check for when it isn't available. 153 // Same as above, but without the num_mics check for when it isn't available.
154 std::vector<Point> ParseArrayGeometry(const std::string& mic_positions); 154 std::vector<Point> ParseArrayGeometry(const std::string& mic_positions);
155 155
156 } // namespace webrtc 156 } // namespace webrtc
157 157
158 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_TEST_TEST_UTILS_H_ 158 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_TEST_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/test/simulator_buffers.cc ('k') | webrtc/modules/audio_processing/test/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698