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

Side by Side Diff: webrtc/modules/audio_conference_mixer/source/audio_conference_mixer_impl.h

Issue 1736663004: Revert of Remove ignored return code from modules. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 enum {kProcessPeriodicityInMs = 10}; 57 enum {kProcessPeriodicityInMs = 10};
58 58
59 AudioConferenceMixerImpl(int id); 59 AudioConferenceMixerImpl(int id);
60 ~AudioConferenceMixerImpl(); 60 ~AudioConferenceMixerImpl();
61 61
62 // Must be called after ctor. 62 // Must be called after ctor.
63 bool Init(); 63 bool Init();
64 64
65 // Module functions 65 // Module functions
66 int64_t TimeUntilNextProcess() override; 66 int64_t TimeUntilNextProcess() override;
67 void Process() override; 67 int32_t Process() override;
68 68
69 // AudioConferenceMixer functions 69 // AudioConferenceMixer functions
70 int32_t RegisterMixedStreamCallback( 70 int32_t RegisterMixedStreamCallback(
71 AudioMixerOutputReceiver* mixReceiver) override; 71 AudioMixerOutputReceiver* mixReceiver) override;
72 int32_t UnRegisterMixedStreamCallback() override; 72 int32_t UnRegisterMixedStreamCallback() override;
73 int32_t SetMixabilityStatus(MixerParticipant* participant, 73 int32_t SetMixabilityStatus(MixerParticipant* participant,
74 bool mixable) override; 74 bool mixable) override;
75 bool MixabilityStatus(const MixerParticipant& participant) const override; 75 bool MixabilityStatus(const MixerParticipant& participant) const override;
76 int32_t SetMinimumMixingFrequency(Frequency freq) override; 76 int32_t SetMinimumMixingFrequency(Frequency freq) override;
77 int32_t SetAnonymousMixabilityStatus( 77 int32_t SetAnonymousMixabilityStatus(
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 // Counter keeping track of concurrent calls to process. 177 // Counter keeping track of concurrent calls to process.
178 // Note: should never be higher than 1 or lower than 0. 178 // Note: should never be higher than 1 or lower than 0.
179 int16_t _processCalls; 179 int16_t _processCalls;
180 180
181 // Used for inhibiting saturation in mixing. 181 // Used for inhibiting saturation in mixing.
182 rtc::scoped_ptr<AudioProcessing> _limiter; 182 rtc::scoped_ptr<AudioProcessing> _limiter;
183 }; 183 };
184 } // namespace webrtc 184 } // namespace webrtc
185 185
186 #endif // WEBRTC_MODULES_AUDIO_CONFERENCE_MIXER_SOURCE_AUDIO_CONFERENCE_MIXER_IM PL_H_ 186 #endif // WEBRTC_MODULES_AUDIO_CONFERENCE_MIXER_SOURCE_AUDIO_CONFERENCE_MIXER_IM PL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698