OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2017 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_AEC_DUMP_WRITE_TO_FILE_TASK_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_AEC_DUMP_WRITE_TO_FILE_TASK_H_ |
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_AEC_DUMP_WRITE_TO_FILE_TASK_H_ | 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_AEC_DUMP_WRITE_TO_FILE_TASK_H_ |
13 | 13 |
14 #include <memory> | 14 #include <memory> |
15 #include <string> | 15 #include <string> |
16 #include <utility> | 16 #include <utility> |
17 | 17 |
18 #include "webrtc/rtc_base/checks.h" | 18 #include "webrtc/base/checks.h" |
19 #include "webrtc/rtc_base/event.h" | 19 #include "webrtc/base/event.h" |
20 #include "webrtc/rtc_base/ignore_wundef.h" | 20 #include "webrtc/base/ignore_wundef.h" |
21 #include "webrtc/rtc_base/platform_file.h" | 21 #include "webrtc/base/platform_file.h" |
22 #include "webrtc/rtc_base/task_queue.h" | 22 #include "webrtc/base/task_queue.h" |
23 #include "webrtc/system_wrappers/include/file_wrapper.h" | 23 #include "webrtc/system_wrappers/include/file_wrapper.h" |
24 | 24 |
25 // Files generated at build-time by the protobuf compiler. | 25 // Files generated at build-time by the protobuf compiler. |
26 RTC_PUSH_IGNORING_WUNDEF() | 26 RTC_PUSH_IGNORING_WUNDEF() |
27 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD | 27 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD |
28 #include "external/webrtc/webrtc/modules/audio_processing/debug.pb.h" | 28 #include "external/webrtc/webrtc/modules/audio_processing/debug.pb.h" |
29 #else | 29 #else |
30 #include "webrtc/modules/audio_processing/debug.pb.h" | 30 #include "webrtc/modules/audio_processing/debug.pb.h" |
31 #endif | 31 #endif |
32 RTC_POP_IGNORING_WUNDEF() | 32 RTC_POP_IGNORING_WUNDEF() |
(...skipping 16 matching lines...) Expand all Loading... |
49 bool Run() override; | 49 bool Run() override; |
50 | 50 |
51 webrtc::FileWrapper* debug_file_; | 51 webrtc::FileWrapper* debug_file_; |
52 audioproc::Event event_; | 52 audioproc::Event event_; |
53 int64_t* num_bytes_left_for_log_; | 53 int64_t* num_bytes_left_for_log_; |
54 }; | 54 }; |
55 | 55 |
56 } // namespace webrtc | 56 } // namespace webrtc |
57 | 57 |
58 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_DUMP_WRITE_TO_FILE_TASK_H_ | 58 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_DUMP_WRITE_TO_FILE_TASK_H_ |
OLD | NEW |