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

Unified Diff: webrtc/modules/audio_mixer/source/time_scheduler.h

Issue 2109133003: Added empty directory with myself as owner for new mixer. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Renamed to avoid compilation crashes and added build file. Created 4 years, 6 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/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_
« no previous file with comments | « webrtc/modules/audio_mixer/source/memory_pool_win.h ('k') | webrtc/modules/audio_mixer/source/time_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698