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

Side by Side Diff: webrtc/modules/audio_processing/logging/apm_data_dumper.h

Issue 3007763002: Move array_view.h to webrtc/api/ (Closed)
Patch Set: rebase Created 3 years, 3 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) 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 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_LOGGING_APM_DATA_DUMPER_H_ 11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_LOGGING_APM_DATA_DUMPER_H_
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_LOGGING_APM_DATA_DUMPER_H_ 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_LOGGING_APM_DATA_DUMPER_H_
13 13
14 #include <stdio.h> 14 #include <stdio.h>
15 15
16 #include <memory> 16 #include <memory>
17 #include <string> 17 #include <string>
18 #include <unordered_map> 18 #include <unordered_map>
19 19
20 #include "webrtc/api/array_view.h"
20 #include "webrtc/common_audio/wav_file.h" 21 #include "webrtc/common_audio/wav_file.h"
21 #include "webrtc/rtc_base/array_view.h"
22 #include "webrtc/rtc_base/constructormagic.h" 22 #include "webrtc/rtc_base/constructormagic.h"
23 23
24 // Check to verify that the define is properly set. 24 // Check to verify that the define is properly set.
25 #if !defined(WEBRTC_APM_DEBUG_DUMP) || \ 25 #if !defined(WEBRTC_APM_DEBUG_DUMP) || \
26 (WEBRTC_APM_DEBUG_DUMP != 0 && WEBRTC_APM_DEBUG_DUMP != 1) 26 (WEBRTC_APM_DEBUG_DUMP != 0 && WEBRTC_APM_DEBUG_DUMP != 1)
27 #error "Set WEBRTC_APM_DEBUG_DUMP to either 0 or 1" 27 #error "Set WEBRTC_APM_DEBUG_DUMP to either 0 or 1"
28 #endif 28 #endif
29 29
30 namespace webrtc { 30 namespace webrtc {
31 31
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 203
204 FILE* GetRawFile(const char* name); 204 FILE* GetRawFile(const char* name);
205 WavWriter* GetWavFile(const char* name, int sample_rate_hz, int num_channels); 205 WavWriter* GetWavFile(const char* name, int sample_rate_hz, int num_channels);
206 #endif 206 #endif
207 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(ApmDataDumper); 207 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(ApmDataDumper);
208 }; 208 };
209 209
210 } // namespace webrtc 210 } // namespace webrtc
211 211
212 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_LOGGING_APM_DATA_DUMPER_H_ 212 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_LOGGING_APM_DATA_DUMPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698