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

Side by Side Diff: webrtc/voice_engine/channel.cc

Issue 3007763002: Move array_view.h to webrtc/api/ (Closed)
Patch Set: rebase 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
« no previous file with comments | « webrtc/voice_engine/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "webrtc/voice_engine/channel.h" 11 #include "webrtc/voice_engine/channel.h"
12 12
13 #include <algorithm> 13 #include <algorithm>
14 #include <utility> 14 #include <utility>
15 15
16 #include "webrtc/api/array_view.h"
16 #include "webrtc/audio/utility/audio_frame_operations.h" 17 #include "webrtc/audio/utility/audio_frame_operations.h"
17 #include "webrtc/call/rtp_transport_controller_send_interface.h" 18 #include "webrtc/call/rtp_transport_controller_send_interface.h"
18 #include "webrtc/logging/rtc_event_log/rtc_event_log.h" 19 #include "webrtc/logging/rtc_event_log/rtc_event_log.h"
19 #include "webrtc/modules/audio_coding/codecs/audio_format_conversion.h" 20 #include "webrtc/modules/audio_coding/codecs/audio_format_conversion.h"
20 #include "webrtc/modules/audio_device/include/audio_device.h" 21 #include "webrtc/modules/audio_device/include/audio_device.h"
21 #include "webrtc/modules/audio_processing/include/audio_processing.h" 22 #include "webrtc/modules/audio_processing/include/audio_processing.h"
22 #include "webrtc/modules/include/module_common_types.h" 23 #include "webrtc/modules/include/module_common_types.h"
23 #include "webrtc/modules/pacing/packet_router.h" 24 #include "webrtc/modules/pacing/packet_router.h"
24 #include "webrtc/modules/rtp_rtcp/include/receive_statistics.h" 25 #include "webrtc/modules/rtp_rtcp/include/receive_statistics.h"
25 #include "webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h" 26 #include "webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h"
26 #include "webrtc/modules/rtp_rtcp/include/rtp_receiver.h" 27 #include "webrtc/modules/rtp_rtcp/include/rtp_receiver.h"
27 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h" 28 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h"
28 #include "webrtc/modules/rtp_rtcp/source/rtp_receiver_strategy.h" 29 #include "webrtc/modules/rtp_rtcp/source/rtp_receiver_strategy.h"
29 #include "webrtc/modules/utility/include/process_thread.h" 30 #include "webrtc/modules/utility/include/process_thread.h"
30 #include "webrtc/rtc_base/array_view.h"
31 #include "webrtc/rtc_base/checks.h" 31 #include "webrtc/rtc_base/checks.h"
32 #include "webrtc/rtc_base/criticalsection.h" 32 #include "webrtc/rtc_base/criticalsection.h"
33 #include "webrtc/rtc_base/format_macros.h" 33 #include "webrtc/rtc_base/format_macros.h"
34 #include "webrtc/rtc_base/location.h" 34 #include "webrtc/rtc_base/location.h"
35 #include "webrtc/rtc_base/logging.h" 35 #include "webrtc/rtc_base/logging.h"
36 #include "webrtc/rtc_base/rate_limiter.h" 36 #include "webrtc/rtc_base/rate_limiter.h"
37 #include "webrtc/rtc_base/task_queue.h" 37 #include "webrtc/rtc_base/task_queue.h"
38 #include "webrtc/rtc_base/thread_checker.h" 38 #include "webrtc/rtc_base/thread_checker.h"
39 #include "webrtc/rtc_base/timeutils.h" 39 #include "webrtc/rtc_base/timeutils.h"
40 #include "webrtc/system_wrappers/include/field_trial.h" 40 #include "webrtc/system_wrappers/include/field_trial.h"
(...skipping 3087 matching lines...) Expand 10 before | Expand all | Expand 10 after
3128 int64_t min_rtt = 0; 3128 int64_t min_rtt = 0;
3129 if (_rtpRtcpModule->RTT(remoteSSRC, &rtt, &avg_rtt, &min_rtt, &max_rtt) != 3129 if (_rtpRtcpModule->RTT(remoteSSRC, &rtt, &avg_rtt, &min_rtt, &max_rtt) !=
3130 0) { 3130 0) {
3131 return 0; 3131 return 0;
3132 } 3132 }
3133 return rtt; 3133 return rtt;
3134 } 3134 }
3135 3135
3136 } // namespace voe 3136 } // namespace voe
3137 } // namespace webrtc 3137 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/voice_engine/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698