| Index: webrtc/modules/audio_mixer/source/time_scheduler.h
|
| diff --git a/webrtc/modules/audio_conference_mixer/source/time_scheduler.h b/webrtc/modules/audio_mixer/source/time_scheduler.h
|
| similarity index 55%
|
| copy from webrtc/modules/audio_conference_mixer/source/time_scheduler.h
|
| copy to webrtc/modules/audio_mixer/source/time_scheduler.h
|
| index d1897fa100112a02dff87d7bce501b7459111d5f..a6f82c007d033a88d1694038f614cd5440250a80 100644
|
| --- a/webrtc/modules/audio_conference_mixer/source/time_scheduler.h
|
| +++ b/webrtc/modules/audio_mixer/source/time_scheduler.h
|
| @@ -17,29 +17,28 @@
|
|
|
| namespace webrtc {
|
| class CriticalSectionWrapper;
|
| -class TimeScheduler
|
| -{
|
| -public:
|
| - TimeScheduler(const int64_t periodicityInMs);
|
| - ~TimeScheduler();
|
| +class TimeScheduler {
|
| + public:
|
| + TimeScheduler(const int64_t periodicityInMs);
|
| + ~TimeScheduler();
|
|
|
| - // Signal that a periodic event has been triggered.
|
| - int32_t UpdateScheduler();
|
| + // Signal that a periodic event has been triggered.
|
| + int32_t UpdateScheduler();
|
|
|
| - // Set updateTimeInMs to the amount of time until UpdateScheduler() should
|
| - // be called. This time will never be negative.
|
| - int32_t TimeToNextUpdate(int64_t& updateTimeInMS) const;
|
| + // Set updateTimeInMs to the amount of time until UpdateScheduler() should
|
| + // be called. This time will never be negative.
|
| + int32_t TimeToNextUpdate(int64_t& updateTimeInMS) const;
|
|
|
| -private:
|
| - CriticalSectionWrapper* _crit;
|
| + private:
|
| + CriticalSectionWrapper* _crit;
|
|
|
| - bool _isStarted;
|
| - int64_t _lastPeriodMark; // In ns
|
| + bool _isStarted;
|
| + int64_t _lastPeriodMark; // In ns
|
|
|
| - int64_t _periodicityInMs;
|
| - int64_t _periodicityInTicks;
|
| - uint32_t _missedPeriods;
|
| + int64_t _periodicityInMs;
|
| + int64_t _periodicityInTicks;
|
| + uint32_t _missedPeriods;
|
| };
|
| } // namespace webrtc
|
|
|
| -#endif // WEBRTC_MODULES_AUDIO_CONFERENCE_MIXER_SOURCE_TIME_SCHEDULER_H_
|
| +#endif // WEBRTC_MODULES_AUDIO_CONFERENCE_MIXER_SOURCE_TIME_SCHEDULER_H_
|
|
|