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 #include "webrtc/voice_engine/transmit_mixer.h" | 11 #include "webrtc/voice_engine/transmit_mixer.h" |
12 | 12 |
13 #include <memory> | 13 #include <memory> |
14 | 14 |
15 #include "webrtc/audio/utility/audio_frame_operations.h" | 15 #include "webrtc/audio/utility/audio_frame_operations.h" |
16 #include "webrtc/base/format_macros.h" | 16 #include "webrtc/rtc_base/format_macros.h" |
17 #include "webrtc/base/location.h" | 17 #include "webrtc/rtc_base/location.h" |
18 #include "webrtc/base/logging.h" | 18 #include "webrtc/rtc_base/logging.h" |
19 #include "webrtc/system_wrappers/include/event_wrapper.h" | 19 #include "webrtc/system_wrappers/include/event_wrapper.h" |
20 #include "webrtc/system_wrappers/include/trace.h" | 20 #include "webrtc/system_wrappers/include/trace.h" |
21 #include "webrtc/voice_engine/channel.h" | 21 #include "webrtc/voice_engine/channel.h" |
22 #include "webrtc/voice_engine/channel_manager.h" | 22 #include "webrtc/voice_engine/channel_manager.h" |
23 #include "webrtc/voice_engine/statistics.h" | 23 #include "webrtc/voice_engine/statistics.h" |
24 #include "webrtc/voice_engine/utility.h" | 24 #include "webrtc/voice_engine/utility.h" |
25 #include "webrtc/voice_engine/voe_base_impl.h" | 25 #include "webrtc/voice_engine/voe_base_impl.h" |
26 | 26 |
27 namespace webrtc { | 27 namespace webrtc { |
28 namespace voe { | 28 namespace voe { |
(...skipping 987 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1016 void TransmitMixer::EnableStereoChannelSwapping(bool enable) { | 1016 void TransmitMixer::EnableStereoChannelSwapping(bool enable) { |
1017 swap_stereo_channels_ = enable; | 1017 swap_stereo_channels_ = enable; |
1018 } | 1018 } |
1019 | 1019 |
1020 bool TransmitMixer::IsStereoChannelSwappingEnabled() { | 1020 bool TransmitMixer::IsStereoChannelSwappingEnabled() { |
1021 return swap_stereo_channels_; | 1021 return swap_stereo_channels_; |
1022 } | 1022 } |
1023 | 1023 |
1024 } // namespace voe | 1024 } // namespace voe |
1025 } // namespace webrtc | 1025 } // namespace webrtc |
OLD | NEW |