Searched refs:numFramesPlayed (Results 1 - 6 of 6) sorted by relevance

/frameworks/av/media/libstagefright/
H A DMediaSync.cpp270 uint32_t numFramesPlayed = 0; local
272 status_t res = mAudioTrack->getPosition(&numFramesPlayed);
278 int64_t numPendingFrames = mNumFramesWritten - numFramesPlayed;
483 uint32_t numFramesPlayed; local
490 numFramesPlayed = ts.mPosition;
493 // numFramesPlayed, (long long)numFramesPlayedAtUs);
496 numFramesPlayed = 0;
499 // numFramesPlayed, (long long)numFramesPlayedAtUs);
502 res = mAudioTrack->getPosition(&numFramesPlayed);
506 //ALOGD("getPosition: %d %lld", numFramesPlayed, (lon
[all...]
/frameworks/av/media/libmediaplayer2/
H A DMediaPlayer2AudioOutput.cpp202 uint32_t numFramesPlayed; local
208 numFramesPlayed = ts.mPosition;
210 //ALOGD("getTimestamp: OK %d %lld", numFramesPlayed, (long long)numFramesPlayedAtUs);
212 numFramesPlayed = 0;
215 // numFramesPlayed, (long long)numFramesPlayedAtUs);
217 res = mTrack->getPosition(&numFramesPlayed);
221 //ALOGD("getPosition: %u %lld", numFramesPlayed, (long long)numFramesPlayedAtUs);
224 // CHECK_EQ(numFramesPlayed & (1 << 31), 0); // can't be negative until 12.4 hrs, test
226 int64_t durationUs = (int64_t)((int32_t)numFramesPlayed * 1000000LL / mSampleRateHz)
229 // Occurs when numFramesPlayed positio
[all...]
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp610 uint32_t numFramesPlayed; local
611 CHECK_EQ(state->mAudioTrack->getPosition(&numFramesPlayed), (status_t)OK);
615 - (state->mNumFramesWritten - numFramesPlayed);
/frameworks/av/media/libmediaplayer2/nuplayer2/
H A DNuPlayer2Renderer.cpp549 uint32_t numFramesPlayed; local
550 CHECK_EQ(mAudioSink->getPosition(&numFramesPlayed),
555 (mNumFramesWritten > numFramesPlayed ?
556 mNumFramesWritten - numFramesPlayed : 0);
980 uint32_t numFramesPlayed; local
981 if (mAudioSink->getPosition(&numFramesPlayed) != OK) {
994 mAudioSink->frameCount() - (mNumFramesWritten - numFramesPlayed);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerRenderer.cpp550 uint32_t numFramesPlayed; local
551 CHECK_EQ(mAudioSink->getPosition(&numFramesPlayed),
556 (mNumFramesWritten > numFramesPlayed ?
557 mNumFramesWritten - numFramesPlayed : 0);
981 uint32_t numFramesPlayed; local
982 if (mAudioSink->getPosition(&numFramesPlayed) != OK) {
995 mAudioSink->frameCount() - (mNumFramesWritten - numFramesPlayed);
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp1740 uint32_t numFramesPlayed; local
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 positio
[all...]

Completed in 31 milliseconds