| Index: webrtc/modules/audio_conference_mixer/source/audio_conference_mixer_impl.h
|
| diff --git a/webrtc/modules/audio_conference_mixer/source/audio_conference_mixer_impl.h b/webrtc/modules/audio_conference_mixer/source/audio_conference_mixer_impl.h
|
| index b1a812a113419e052ecffb5e2d2d3c5cb4bc2a53..1c35ca9e72f953334645b0910ad910635294d422 100644
|
| --- a/webrtc/modules/audio_conference_mixer/source/audio_conference_mixer_impl.h
|
| +++ b/webrtc/modules/audio_conference_mixer/source/audio_conference_mixer_impl.h
|
| @@ -71,10 +71,6 @@ public:
|
| int32_t RegisterMixedStreamCallback(
|
| AudioMixerOutputReceiver& mixReceiver) override;
|
| int32_t UnRegisterMixedStreamCallback() override;
|
| - int32_t RegisterMixerStatusCallback(
|
| - AudioMixerStatusReceiver& mixerStatusCallback,
|
| - const uint32_t amountOf10MsBetweenCallbacks) override;
|
| - int32_t UnRegisterMixerStatusCallback() override;
|
| int32_t SetMixabilityStatus(MixerParticipant& participant,
|
| bool mixable) override;
|
| int32_t MixabilityStatus(MixerParticipant& participant,
|
| @@ -93,8 +89,7 @@ private:
|
| Frequency OutputFrequency() const;
|
|
|
| // Fills mixList with the AudioFrames pointers that should be used when
|
| - // mixing. Fills mixParticipantList with ParticipantStatistics for the
|
| - // participants who's AudioFrames are inside mixList.
|
| + // mixing.
|
| // maxAudioFrameCounter both input and output specifies how many more
|
| // AudioFrames that are allowed to be mixed.
|
| // rampOutList contain AudioFrames corresponding to an audio stream that
|
| @@ -154,16 +149,6 @@ private:
|
|
|
| bool LimitMixedAudio(AudioFrame& mixedAudio);
|
|
|
| - // Scratch memory
|
| - // Note that the scratch memory may only be touched in the scope of
|
| - // Process().
|
| - size_t _scratchParticipantsToMixAmount;
|
| - ParticipantStatistics _scratchMixedParticipants[
|
| - kMaximumAmountOfMixedParticipants];
|
| - uint32_t _scratchVadPositiveParticipantsAmount;
|
| - ParticipantStatistics _scratchVadPositiveParticipants[
|
| - kMaximumAmountOfMixedParticipants];
|
| -
|
| rtc::scoped_ptr<CriticalSectionWrapper> _crit;
|
| rtc::scoped_ptr<CriticalSectionWrapper> _cbCrit;
|
|
|
| @@ -174,11 +159,6 @@ private:
|
| // Mix result callback
|
| AudioMixerOutputReceiver* _mixReceiver;
|
|
|
| - AudioMixerStatusReceiver* _mixerStatusCallback;
|
| - uint32_t _amountOf10MsBetweenCallbacks;
|
| - uint32_t _amountOf10MsUntilNextCallback;
|
| - bool _mixerStatusCb;
|
| -
|
| // The current sample frequency and sample size when mixing.
|
| Frequency _outputFrequency;
|
| uint16_t _sampleSize;
|
| @@ -201,9 +181,6 @@ private:
|
| // Metronome class.
|
| TimeScheduler _timeScheduler;
|
|
|
| - // Smooth level indicator.
|
| - LevelIndicator _mixedAudioLevel;
|
| -
|
| // Counter keeping track of concurrent calls to process.
|
| // Note: should never be higher than 1 or lower than 0.
|
| int16_t _processCalls;
|
|
|