OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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_ACM2_ACM_RECEIVER_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_CODING_ACM2_ACM_RECEIVER_H_ |
12 #define WEBRTC_MODULES_AUDIO_CODING_ACM2_ACM_RECEIVER_H_ | 12 #define WEBRTC_MODULES_AUDIO_CODING_ACM2_ACM_RECEIVER_H_ |
13 | 13 |
14 #include <map> | 14 #include <map> |
15 #include <memory> | 15 #include <memory> |
16 #include <string> | 16 #include <string> |
17 #include <vector> | 17 #include <vector> |
18 | 18 |
19 #include "webrtc/base/array_view.h" | 19 #include "webrtc/base/array_view.h" |
20 #include "webrtc/base/criticalsection.h" | 20 #include "webrtc/base/criticalsection.h" |
21 #include "webrtc/base/optional.h" | 21 #include "webrtc/base/optional.h" |
22 #include "webrtc/base/thread_annotations.h" | 22 #include "webrtc/base/thread_annotations.h" |
23 #include "webrtc/common_audio/vad/include/webrtc_vad.h" | 23 #include "webrtc/common_audio/vad/include/webrtc_vad.h" |
24 #include "webrtc/engine_configurations.h" | |
25 #include "webrtc/modules/audio_coding/acm2/acm_resampler.h" | 24 #include "webrtc/modules/audio_coding/acm2/acm_resampler.h" |
26 #include "webrtc/modules/audio_coding/acm2/call_statistics.h" | 25 #include "webrtc/modules/audio_coding/acm2/call_statistics.h" |
27 #include "webrtc/modules/audio_coding/include/audio_coding_module.h" | 26 #include "webrtc/modules/audio_coding/include/audio_coding_module.h" |
28 #include "webrtc/modules/audio_coding/neteq/include/neteq.h" | 27 #include "webrtc/modules/audio_coding/neteq/include/neteq.h" |
29 #include "webrtc/modules/include/module_common_types.h" | 28 #include "webrtc/modules/include/module_common_types.h" |
30 #include "webrtc/typedefs.h" | 29 #include "webrtc/typedefs.h" |
| 30 #include "webrtc/voice_engine_configurations.h" |
31 | 31 |
32 namespace webrtc { | 32 namespace webrtc { |
33 | 33 |
34 struct CodecInst; | 34 struct CodecInst; |
35 class NetEq; | 35 class NetEq; |
36 | 36 |
37 namespace acm2 { | 37 namespace acm2 { |
38 | 38 |
39 class AcmReceiver { | 39 class AcmReceiver { |
40 public: | 40 public: |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 Clock* clock_; // TODO(henrik.lundin) Make const if possible. | 280 Clock* clock_; // TODO(henrik.lundin) Make const if possible. |
281 bool resampled_last_output_frame_ GUARDED_BY(crit_sect_); | 281 bool resampled_last_output_frame_ GUARDED_BY(crit_sect_); |
282 rtc::Optional<int> last_packet_sample_rate_hz_ GUARDED_BY(crit_sect_); | 282 rtc::Optional<int> last_packet_sample_rate_hz_ GUARDED_BY(crit_sect_); |
283 }; | 283 }; |
284 | 284 |
285 } // namespace acm2 | 285 } // namespace acm2 |
286 | 286 |
287 } // namespace webrtc | 287 } // namespace webrtc |
288 | 288 |
289 #endif // WEBRTC_MODULES_AUDIO_CODING_ACM2_ACM_RECEIVER_H_ | 289 #endif // WEBRTC_MODULES_AUDIO_CODING_ACM2_ACM_RECEIVER_H_ |
OLD | NEW |