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

Side by Side Diff: webrtc/modules/audio_coding/neteq/tools/neteq_delay_analyzer.h

Issue 3011943002: Move optional.h to webrtc/api/ (Closed)
Patch Set: 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) 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_CODING_NETEQ_TOOLS_NETEQ_DELAY_ANALYZER_H_ 11 #ifndef WEBRTC_MODULES_AUDIO_CODING_NETEQ_TOOLS_NETEQ_DELAY_ANALYZER_H_
12 #define WEBRTC_MODULES_AUDIO_CODING_NETEQ_TOOLS_NETEQ_DELAY_ANALYZER_H_ 12 #define WEBRTC_MODULES_AUDIO_CODING_NETEQ_TOOLS_NETEQ_DELAY_ANALYZER_H_
13 13
14 #include <map> 14 #include <map>
15 #include <set> 15 #include <set>
16 #include <string> 16 #include <string>
17 #include <vector> 17 #include <vector>
18 18
19 #include "webrtc/api/optional.h"
19 #include "webrtc/modules/audio_coding/neteq/tools/neteq_input.h" 20 #include "webrtc/modules/audio_coding/neteq/tools/neteq_input.h"
20 #include "webrtc/modules/audio_coding/neteq/tools/neteq_test.h" 21 #include "webrtc/modules/audio_coding/neteq/tools/neteq_test.h"
21 #include "webrtc/rtc_base/optional.h"
22 #include "webrtc/typedefs.h" 22 #include "webrtc/typedefs.h"
23 23
24 namespace webrtc { 24 namespace webrtc {
25 namespace test { 25 namespace test {
26 26
27 class NetEqDelayAnalyzer : public test::NetEqPostInsertPacket, 27 class NetEqDelayAnalyzer : public test::NetEqPostInsertPacket,
28 public test::NetEqGetAudioCallback { 28 public test::NetEqGetAudioCallback {
29 public: 29 public:
30 void AfterInsertPacket(const test::NetEqInput::PacketData& packet, 30 void AfterInsertPacket(const test::NetEqInput::PacketData& packet,
31 NetEq* neteq) override; 31 NetEq* neteq) override;
(...skipping 30 matching lines...) Expand all
62 size_t get_audio_count_ = 0; 62 size_t get_audio_count_ = 0;
63 size_t last_sync_buffer_ms_ = 0; 63 size_t last_sync_buffer_ms_ = 0;
64 int last_sample_rate_hz_ = 0; 64 int last_sample_rate_hz_ = 0;
65 std::set<uint32_t> ssrcs_; 65 std::set<uint32_t> ssrcs_;
66 std::set<int> payload_types_; 66 std::set<int> payload_types_;
67 }; 67 };
68 68
69 } // namespace test 69 } // namespace test
70 } // namespace webrtc 70 } // namespace webrtc
71 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_TOOLS_NETEQ_DELAY_ANALYZER_H_ 71 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_TOOLS_NETEQ_DELAY_ANALYZER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/neteq/tools/fake_decode_from_file.h ('k') | webrtc/modules/audio_coding/neteq/tools/neteq_input.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698