double OMXClock::GetClock(bool interpolated /*= true*/) { Lock(); double clock = GetTime(interpolated); UnLock(); return SystemToPlaying(clock); }
double OMXClock::GetClock(bool interpolated /*= true*/) { Lock(); double clock = SystemToPlaying(g_VideoReferenceClock.GetTime(interpolated)); UnLock(); return clock; }
double CDVDClock::GetClock(bool interpolated /*= true*/) { CSharedLock lock(m_critSection); int64_t current = g_VideoReferenceClock.GetTime(interpolated); m_systemAdjust += m_speedAdjust * (current - m_lastSystemTime); m_lastSystemTime = current; return SystemToPlaying(current); }
double OMXClock::GetClock(double& absolute, bool interpolated /*= true*/) { int64_t current = GetTime(interpolated); Lock(); CheckSystemClock(); absolute = SystemToAbsolute(current); UnLock(); return SystemToPlaying(current); }
double CDVDClock::GetClock(double& absolute, bool interpolated /*= true*/) { int64_t current = g_VideoReferenceClock.GetTime(interpolated); { CSingleLock lock(m_systemsection); CheckSystemClock(); absolute = SystemToAbsolute(current); } CSharedLock lock(m_critSection); return SystemToPlaying(current); }
double CDVDClock::GetClock(double& absolute, bool interpolated /*= true*/) { int64_t current = m_videoRefClock->GetTime(interpolated); CSingleLock lock(m_systemsection); absolute = SystemToAbsolute(current); m_systemAdjust += m_speedAdjust * (current - m_lastSystemTime); m_lastSystemTime = current; return SystemToPlaying(current); }
double CDVDClock::GetClock(bool interpolated /*= true*/) { CSharedLock lock(m_critSection); return SystemToPlaying(g_VideoReferenceClock.GetTime(interpolated)); }