OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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_MAIN_TEST_RTPFILE_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_RTPFILE_H_ |
12 #define WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_RTPFILE_H_ | 12 #define WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_RTPFILE_H_ |
13 | 13 |
14 #include <stdio.h> | 14 #include <stdio.h> |
15 #include <queue> | 15 #include <queue> |
16 | 16 |
17 #include "webrtc/modules/audio_coding/main/include/audio_coding_module.h" | 17 #include "webrtc/modules/audio_coding/main/include/audio_coding_module.h" |
18 #include "webrtc/modules/interface/module_common_types.h" | 18 #include "webrtc/modules/include/module_common_types.h" |
19 #include "webrtc/system_wrappers/include/rw_lock_wrapper.h" | 19 #include "webrtc/system_wrappers/include/rw_lock_wrapper.h" |
20 #include "webrtc/typedefs.h" | 20 #include "webrtc/typedefs.h" |
21 | 21 |
22 namespace webrtc { | 22 namespace webrtc { |
23 | 23 |
24 class RTPStream { | 24 class RTPStream { |
25 public: | 25 public: |
26 virtual ~RTPStream() { | 26 virtual ~RTPStream() { |
27 } | 27 } |
28 | 28 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 bool EndOfFile() const override { return _rtpEOF; } | 117 bool EndOfFile() const override { return _rtpEOF; } |
118 | 118 |
119 private: | 119 private: |
120 FILE* _rtpFile; | 120 FILE* _rtpFile; |
121 bool _rtpEOF; | 121 bool _rtpEOF; |
122 }; | 122 }; |
123 | 123 |
124 } // namespace webrtc | 124 } // namespace webrtc |
125 | 125 |
126 #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_RTPFILE_H_ | 126 #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_RTPFILE_H_ |
OLD | NEW |