OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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/audio/audio_send_stream.h" | 11 #include "webrtc/audio/audio_send_stream.h" |
12 | 12 |
13 #include <string> | 13 #include <string> |
14 | 14 |
15 #include "webrtc/audio/audio_state.h" | 15 #include "webrtc/audio/audio_state.h" |
16 #include "webrtc/audio/conversion.h" | 16 #include "webrtc/audio/conversion.h" |
17 #include "webrtc/audio/scoped_voe_interface.h" | 17 #include "webrtc/audio/scoped_voe_interface.h" |
18 #include "webrtc/base/checks.h" | 18 #include "webrtc/base/checks.h" |
19 #include "webrtc/base/logging.h" | 19 #include "webrtc/base/logging.h" |
20 #include "webrtc/call/congestion_controller.h" | 20 #include "webrtc/modules/congestion_controller/include/congestion_controller.h" |
21 #include "webrtc/modules/pacing/paced_sender.h" | 21 #include "webrtc/modules/pacing/paced_sender.h" |
22 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" | 22 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
23 #include "webrtc/voice_engine/channel_proxy.h" | 23 #include "webrtc/voice_engine/channel_proxy.h" |
24 #include "webrtc/voice_engine/include/voe_audio_processing.h" | 24 #include "webrtc/voice_engine/include/voe_audio_processing.h" |
25 #include "webrtc/voice_engine/include/voe_codec.h" | 25 #include "webrtc/voice_engine/include/voe_codec.h" |
26 #include "webrtc/voice_engine/include/voe_rtp_rtcp.h" | 26 #include "webrtc/voice_engine/include/voe_rtp_rtcp.h" |
27 #include "webrtc/voice_engine/include/voe_volume_control.h" | 27 #include "webrtc/voice_engine/include/voe_volume_control.h" |
28 #include "webrtc/voice_engine/voice_engine_impl.h" | 28 #include "webrtc/voice_engine/voice_engine_impl.h" |
29 | 29 |
30 namespace webrtc { | 30 namespace webrtc { |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 | 213 |
214 VoiceEngine* AudioSendStream::voice_engine() const { | 214 VoiceEngine* AudioSendStream::voice_engine() const { |
215 internal::AudioState* audio_state = | 215 internal::AudioState* audio_state = |
216 static_cast<internal::AudioState*>(audio_state_.get()); | 216 static_cast<internal::AudioState*>(audio_state_.get()); |
217 VoiceEngine* voice_engine = audio_state->voice_engine(); | 217 VoiceEngine* voice_engine = audio_state->voice_engine(); |
218 RTC_DCHECK(voice_engine); | 218 RTC_DCHECK(voice_engine); |
219 return voice_engine; | 219 return voice_engine; |
220 } | 220 } |
221 } // namespace internal | 221 } // namespace internal |
222 } // namespace webrtc | 222 } // namespace webrtc |
OLD | NEW |