| Index: webrtc/modules/audio_mixer/audio_mixer_impl.cc
|
| diff --git a/webrtc/modules/audio_mixer/audio_mixer_impl.cc b/webrtc/modules/audio_mixer/audio_mixer_impl.cc
|
| index 82932f40955d4e1d96bf1ae4fd24bc863a343763..99090a3fab7027ad8f5ccea629ca35e63a277c94 100644
|
| --- a/webrtc/modules/audio_mixer/audio_mixer_impl.cc
|
| +++ b/webrtc/modules/audio_mixer/audio_mixer_impl.cc
|
| @@ -13,12 +13,8 @@
|
| #include <algorithm>
|
| #include <functional>
|
|
|
| -#include "webrtc/base/thread_annotations.h"
|
| #include "webrtc/modules/audio_mixer/audio_frame_manipulator.h"
|
| -#include "webrtc/modules/audio_mixer/audio_mixer_defines.h"
|
| -#include "webrtc/modules/audio_processing/include/audio_processing.h"
|
| #include "webrtc/modules/utility/include/audio_frame_operations.h"
|
| -#include "webrtc/system_wrappers/include/critical_section_wrapper.h"
|
| #include "webrtc/system_wrappers/include/trace.h"
|
|
|
| namespace webrtc {
|
| @@ -97,39 +93,6 @@ void Ramp(const std::vector<SourceFrame>& mixed_sources_and_frames) {
|
|
|
| } // namespace
|
|
|
| -MixerAudioSource::MixerAudioSource() : mix_history_(new NewMixHistory()) {}
|
| -
|
| -MixerAudioSource::~MixerAudioSource() {
|
| - delete mix_history_;
|
| -}
|
| -
|
| -bool MixerAudioSource::IsMixed() const {
|
| - return mix_history_->IsMixed();
|
| -}
|
| -
|
| -NewMixHistory::NewMixHistory() : is_mixed_(0) {}
|
| -
|
| -NewMixHistory::~NewMixHistory() {}
|
| -
|
| -bool NewMixHistory::IsMixed() const {
|
| - return is_mixed_;
|
| -}
|
| -
|
| -bool NewMixHistory::WasMixed() const {
|
| - // Was mixed is the same as is mixed depending on perspective. This function
|
| - // is for the perspective of NewAudioConferenceMixerImpl.
|
| - return IsMixed();
|
| -}
|
| -
|
| -int32_t NewMixHistory::SetIsMixed(const bool mixed) {
|
| - is_mixed_ = mixed;
|
| - return 0;
|
| -}
|
| -
|
| -void NewMixHistory::ResetMixedStatus() {
|
| - is_mixed_ = false;
|
| -}
|
| -
|
| std::unique_ptr<AudioMixer> AudioMixer::Create(int id) {
|
| AudioMixerImpl* mixer = new AudioMixerImpl(id);
|
| if (!mixer->Init()) {
|
|
|