OLD | NEW |
---|---|
(Empty) | |
1 /* | |
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. | |
3 * | |
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 | |
6 * tree. An additional intellectual property rights grant can be found | |
7 * in the file PATENTS. All contributing project authors may | |
8 * be found in the AUTHORS file in the root of the source tree. | |
9 */ | |
10 | |
11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_AEC_DUMP_AEC_DUMP_FACTORY_H_ | |
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_AEC_DUMP_AEC_DUMP_FACTORY_H_ | |
13 | |
14 #include <memory> | |
15 #include <string> | |
16 | |
17 #include "webrtc/modules/audio_processing/include/aec_dump.h" | |
18 | |
19 namespace rtc { | |
20 class TaskQueue; | |
21 } // namespace rtc | |
22 | |
23 namespace webrtc { | |
24 | |
25 class AecDumpFactory { | |
26 public: | |
27 // Creates new AecDump that does file IO on the provided | |
28 // task queue. The task queue must outlive the created AecDump instance. | |
29 static std::unique_ptr<AecDump> Create(std::string file_name, | |
peah-webrtc
2017/04/07 12:57:15
Why is a class needed for this? Or is more functio
aleloi
2017/04/12 11:05:29
It's gone now, because this CL doesn't create real
| |
30 int64_t max_log_size_bytes, | |
31 rtc::TaskQueue* worker_queue); | |
32 static std::unique_ptr<AecDump> Create(FILE* handle, | |
33 int64_t max_log_size_bytes, | |
34 rtc::TaskQueue* worker_queue); | |
35 }; | |
36 | |
37 } // namespace webrtc | |
38 | |
39 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_DUMP_AEC_DUMP_FACTORY_H_ | |
OLD | NEW |