Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(253)

Unified Diff: webrtc/modules/audio_mixer/audio_mixer_defines.h

Issue 2396483002: Made MixerAudioSource a pure interface. (Closed)
Patch Set: Rebase. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_mixer/audio_mixer_defines.h
diff --git a/webrtc/modules/audio_mixer/audio_mixer_defines.h b/webrtc/modules/audio_mixer/audio_mixer_defines.h
index 57e7f5027e4bf338843d8e1a3a0a0b48fbd7ef96..191d4e8b4eb0cb8a51ccafd452ddb475eb7dc835 100644
--- a/webrtc/modules/audio_mixer/audio_mixer_defines.h
+++ b/webrtc/modules/audio_mixer/audio_mixer_defines.h
@@ -44,21 +44,6 @@ class MixerAudioSource {
virtual AudioFrameWithMuted GetAudioFrameWithMuted(int32_t id,
int sample_rate_hz) = 0;
- // Returns true if the audio source was mixed this mix iteration.
- 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_;
-
protected:
MixerAudioSource();
virtual ~MixerAudioSource();
the sun 2016/10/04 20:36:09 - Remove ctor. - Make the dtor inline and move to
aleloi 2016/10/05 15:18:18 I don't understand what you mean by moving the dto
the sun 2016/10/05 19:32:10 A protected virtual destructor means that the obje
aleloi 2016/10/06 09:26:12 I see. Good point!

Powered by Google App Engine
This is Rietveld 408576698