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

Unified Diff: webrtc/modules/audio_conference_mixer/interface/audio_conference_mixer.h

Issue 1311733003: Stylizing AudioConferenceMixer. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: refine two commenting Created 5 years, 4 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
« no previous file with comments | « no previous file | webrtc/modules/audio_conference_mixer/interface/audio_conference_mixer_defines.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_conference_mixer/interface/audio_conference_mixer.h
diff --git a/webrtc/modules/audio_conference_mixer/interface/audio_conference_mixer.h b/webrtc/modules/audio_conference_mixer/interface/audio_conference_mixer.h
index 29b957dcdfcc767ee1cd3189a6e92212235b3f03..7ff39579ee08cf592de19b6769eb346695ac764a 100644
--- a/webrtc/modules/audio_conference_mixer/interface/audio_conference_mixer.h
+++ b/webrtc/modules/audio_conference_mixer/interface/audio_conference_mixer.h
@@ -44,25 +44,25 @@ public:
// Register/unregister a callback class for receiving the mixed audio.
virtual int32_t RegisterMixedStreamCallback(
- AudioMixerOutputReceiver& receiver) = 0;
+ AudioMixerOutputReceiver* receiver) = 0;
virtual int32_t UnRegisterMixedStreamCallback() = 0;
// Add/remove participants as candidates for mixing.
- virtual int32_t SetMixabilityStatus(MixerParticipant& participant,
+ virtual int32_t SetMixabilityStatus(MixerParticipant* participant,
bool mixable) = 0;
- // mixable is set to true if a participant is a candidate for mixing.
- virtual int32_t MixabilityStatus(MixerParticipant& participant,
- bool& mixable) = 0;
+ // Returns true if a participant is a candidate for mixing.
+ virtual bool MixabilityStatus(
+ const MixerParticipant& participant) const = 0;
// Inform the mixer that the participant should always be mixed and not
// count toward the number of mixed participants. Note that a participant
// must have been added to the mixer (by calling SetMixabilityStatus())
// before this function can be successfully called.
- virtual int32_t SetAnonymousMixabilityStatus(MixerParticipant& participant,
- const bool mixable) = 0;
- // mixable is set to true if the participant is mixed anonymously.
- virtual int32_t AnonymousMixabilityStatus(MixerParticipant& participant,
- bool& mixable) = 0;
+ virtual int32_t SetAnonymousMixabilityStatus(
+ MixerParticipant* participant, bool mixable) = 0;
+ // Returns true if the participant is mixed anonymously.
+ virtual bool AnonymousMixabilityStatus(
+ const MixerParticipant& participant) const = 0;
// Set the minimum sampling frequency at which to mix. The mixing algorithm
// may still choose to mix at a higher samling frequency to avoid
« no previous file with comments | « no previous file | webrtc/modules/audio_conference_mixer/interface/audio_conference_mixer_defines.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698