Chromium Code Reviews| Index: webrtc/modules/audio_mixer/audio_mixer_impl.h |
| diff --git a/webrtc/modules/audio_mixer/audio_mixer_impl.h b/webrtc/modules/audio_mixer/audio_mixer_impl.h |
| index 0fd49b661ee8c59bd4b574b729d486647eeb0a1a..be07edcec2c14a47d2dc22935db6929b69d913ef 100644 |
| --- a/webrtc/modules/audio_mixer/audio_mixer_impl.h |
| +++ b/webrtc/modules/audio_mixer/audio_mixer_impl.h |
| @@ -15,41 +15,21 @@ |
| #include <memory> |
| #include <vector> |
| +#include "webrtc/base/thread_annotations.h" |
| #include "webrtc/base/thread_checker.h" |
| #include "webrtc/engine_configurations.h" |
| #include "webrtc/modules/audio_mixer/audio_mixer.h" |
| +#include "webrtc/modules/audio_mixer/audio_mixer_defines.h" |
|
aleloi
2016/09/01 14:12:22
Should import things we are using and not rely on
|
| +#include "webrtc/modules/audio_processing/include/audio_processing.h" |
| #include "webrtc/modules/include/module_common_types.h" |
| +#include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
| #include "webrtc/voice_engine/level_indicator.h" |
| namespace webrtc { |
| -class AudioProcessing; |
| -class CriticalSectionWrapper; |
| typedef std::vector<AudioFrame*> AudioFrameList; |
| typedef std::vector<MixerAudioSource*> MixerAudioSourceList; |
| -// Cheshire cat implementation of MixerAudioSource's non virtual functions. |
| -class NewMixHistory { |
| - public: |
| - NewMixHistory(); |
| - ~NewMixHistory(); |
| - |
| - // Returns true if the audio source is being mixed. |
| - bool IsMixed() const; |
| - |
| - // Returns true if the audio source was mixed previous mix |
| - // iteration. |
| - bool WasMixed() const; |
| - |
| - // Updates the mixed status. |
| - int32_t SetIsMixed(bool mixed); |
| - |
| - void ResetMixedStatus(); |
| - |
| - private: |
| - bool is_mixed_; |
| -}; |
| - |
| class AudioMixerImpl : public AudioMixer { |
| public: |
| // AudioProcessing only accepts 10 ms frames. |