Lines Matching refs:numFramesPlayed
1740 uint32_t numFramesPlayed;
1746 numFramesPlayed = ts.mPosition;
1748 //ALOGD("getTimestamp: OK %d %lld", numFramesPlayed, (long long)numFramesPlayedAtUs);
1750 numFramesPlayed = 0;
1753 // numFramesPlayed, (long long)numFramesPlayedAtUs);
1755 res = mTrack->getPosition(&numFramesPlayed);
1759 //ALOGD("getPosition: %u %lld", numFramesPlayed, (long long)numFramesPlayedAtUs);
1762 // CHECK_EQ(numFramesPlayed & (1 << 31), 0); // can't be negative until 12.4 hrs, test
1764 int64_t durationUs = (int64_t)((int32_t)numFramesPlayed * 1000000LL / mSampleRateHz)
1767 // Occurs when numFramesPlayed position is very small and the following:
1769 // numFramesPlayedAtUs is greater than nowUs by time more than numFramesPlayed.
1771 // numFramesPlayedAtUs, by a time amount greater than numFramesPlayed.
1779 numFramesPlayed, (long long)numFramesPlayedAtUs);