Re-implement dependency injection of TickTime into VCM and tests
This change basicly re-enables the change of r1220, which was reverted in r1235 due to Clang issues. The difference from r1220 is that the TickTimeInterface was renamed to TickTimeClass, and no longer inherits from TickTime. Review URL: http://webrtc-codereview.appspot.com/335006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1267 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -19,10 +19,10 @@ namespace webrtc
|
||||
class VCMInterFrameDelay
|
||||
{
|
||||
public:
|
||||
VCMInterFrameDelay();
|
||||
VCMInterFrameDelay(int64_t currentWallClock);
|
||||
|
||||
// Resets the estimate. Zeros are given as parameters.
|
||||
void Reset();
|
||||
void Reset(int64_t currentWallClock);
|
||||
|
||||
// Calculates the delay of a frame with the given timestamp.
|
||||
// This method is called when the frame is complete.
|
||||
@@ -35,7 +35,7 @@ public:
|
||||
// Return value : true if OK, false when reordered timestamps
|
||||
bool CalculateDelay(WebRtc_UWord32 timestamp,
|
||||
WebRtc_Word64 *delay,
|
||||
WebRtc_Word64 currentWallClock = -1);
|
||||
int64_t currentWallClock);
|
||||
|
||||
// Returns the current difference between incoming timestamps
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user