Implement frame timestamps and use wpi::Now() for generation.

This commit is contained in:
Peter Johnson
2016-10-22 22:09:47 -07:00
parent aad1266a94
commit 1f6b386325
6 changed files with 23 additions and 7 deletions

View File

@@ -65,6 +65,9 @@ class SourceImpl {
NumSinksEnabledChanged();
}
// Gets the current frame time (without waiting for a new one).
uint64_t GetCurFrameTime();
// Gets the current frame (without waiting for a new one).
Frame GetCurFrame();