Skip to content

Commit

Permalink
MP1-5179: EVR render statistics update.
Browse files Browse the repository at this point in the history
  • Loading branch information
epbk committed Oct 31, 2023
1 parent 30aa079 commit ed4157e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions DirectShowFilters/DirectShowHelper/source/StatsRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,9 @@ void StatsRenderer::DrawStats()
CLOCKDATA clockData;
m_pPresenter->m_pAVSyncClock->GetClockData(&clockData);

strText.Format(_T("HW vs system: %.7fx HW vs. sys: %+.3f ms resampling adj.: %.7f Drift: %+.3f ms"),
clockData.driftMultiplier, clockData.driftHWvsSystem, clockData.resamplingAdjustment, clockData.currentDrift);
strText.Format(_T("HW vs system: %.7fx HW vs. sys: %+.3f ms resampling adj.: %.7f Drift: %+.3f ms Mode: %s"),
clockData.driftMultiplier, clockData.driftHWvsSystem, clockData.resamplingAdjustment, clockData.currentDrift,
clockData.maintainSoundPitch ? _T("TEMPO") : _T("RATE"));
DrawText(rc, strText);
OffsetRect(&rc, 0, TextHeight);
}
Expand Down

0 comments on commit ed4157e

Please sign in to comment.