Home
last modified time | relevance | path

Searched refs:mFrames (Results 1 – 2 of 2) sorted by relevance

/system/media/audio_utils/include/audio_utils/
DTimestampVerifier.h70 if (mLastTimestamp.mFrames == frames && mLastTimestamp.mTimeNs == timeNs in add()
83 if (mLastTimestamp.mFrames in add()
85 && frames >= mLastTimestamp.mFrames) { in add()
121 {(double)mFirstTimestamp.mTimeNs * 1e-9, (double)mFirstTimestamp.mFrames}); in add()
141 correctedTimestamp.mFrames = std::max( in add()
142 newFrames, mLastCorrectedTimestamp.mFrames); in add()
251 using FrameTime = struct { F mFrames; T mTimeNs; }; // a "constexpr" pair member
308 left.mFrames - right.mFrames, left.mTimeNs - right.mTimeNs); in sub()
/system/media/audio_utils/tests/
Dtimestampverifier_tests.cpp90 EXPECT_EQ(0, first.mFrames); in TEST()
92 EXPECT_EQ(48000 * (8 - 1), last.mFrames); in TEST()
118 EXPECT_EQ(0., tv.getLastCorrectedTimestamp().mFrames); in TEST()
125 EXPECT_EQ(0., tv.getLastCorrectedTimestamp().mFrames); in TEST()
135 EXPECT_NE(0, tv.getLastCorrectedTimestamp().mFrames); in TEST()
136 EXPECT_NE(96000*1.1, tv.getLastCorrectedTimestamp().mFrames); in TEST()