| 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_MIXER_SOURCE_NEW_AUDIO_CONFERENCE_MIXER_IMPL_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_MIXER_NEW_AUDIO_CONFERENCE_MIXER_IMPL_H_ |
| 12 #define WEBRTC_MODULES_AUDIO_MIXER_SOURCE_NEW_AUDIO_CONFERENCE_MIXER_IMPL_H_ | 12 #define WEBRTC_MODULES_AUDIO_MIXER_NEW_AUDIO_CONFERENCE_MIXER_IMPL_H_ |
| 13 | 13 |
| 14 #include <list> | 14 #include <list> |
| 15 #include <map> | 15 #include <map> |
| 16 #include <memory> | 16 #include <memory> |
| 17 #include <vector> | 17 #include <vector> |
| 18 | 18 |
| 19 #include "webrtc/base/thread_checker.h" | 19 #include "webrtc/base/thread_checker.h" |
| 20 #include "webrtc/engine_configurations.h" | 20 #include "webrtc/engine_configurations.h" |
| 21 #include "webrtc/modules/audio_mixer/include/new_audio_conference_mixer.h" | 21 #include "webrtc/modules/audio_mixer/new_audio_conference_mixer.h" |
| 22 #include "webrtc/modules/audio_conference_mixer/source/memory_pool.h" | 22 #include "webrtc/modules/audio_conference_mixer/source/memory_pool.h" |
| 23 #include "webrtc/modules/include/module_common_types.h" | 23 #include "webrtc/modules/include/module_common_types.h" |
| 24 | 24 |
| 25 namespace webrtc { | 25 namespace webrtc { |
| 26 class AudioProcessing; | 26 class AudioProcessing; |
| 27 class CriticalSectionWrapper; | 27 class CriticalSectionWrapper; |
| 28 | 28 |
| 29 struct FrameAndMuteInfo { | 29 struct FrameAndMuteInfo { |
| 30 FrameAndMuteInfo(AudioFrame* f, bool m) : frame(f), muted(m) {} | 30 FrameAndMuteInfo(AudioFrame* f, bool m) : frame(f), muted(m) {} |
| 31 AudioFrame* frame; | 31 AudioFrame* frame; |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 uint32_t time_stamp_; | 147 uint32_t time_stamp_; |
| 148 | 148 |
| 149 // Ensures that Mix is called from the same thread. | 149 // Ensures that Mix is called from the same thread. |
| 150 rtc::ThreadChecker thread_checker_; | 150 rtc::ThreadChecker thread_checker_; |
| 151 | 151 |
| 152 // Used for inhibiting saturation in mixing. | 152 // Used for inhibiting saturation in mixing. |
| 153 std::unique_ptr<AudioProcessing> limiter_; | 153 std::unique_ptr<AudioProcessing> limiter_; |
| 154 }; | 154 }; |
| 155 } // namespace webrtc | 155 } // namespace webrtc |
| 156 | 156 |
| 157 #endif // WEBRTC_MODULES_AUDIO_MIXER_SOURCE_NEW_AUDIO_CONFERENCE_MIXER_IMPL_H_ | 157 #endif // WEBRTC_MODULES_AUDIO_MIXER_NEW_AUDIO_CONFERENCE_MIXER_IMPL_H_ |
| OLD | NEW |