Home
last modified time | relevance | path

Searched refs:numFramesPlayed (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libstagefright/
DMediaSync.cpp270 uint32_t numFramesPlayed = 0; in getPlayTimeForPendingAudioFrames() local
272 status_t res = mAudioTrack->getPosition(&numFramesPlayed); in getPlayTimeForPendingAudioFrames()
278 int64_t numPendingFrames = mNumFramesWritten - numFramesPlayed; in getPlayTimeForPendingAudioFrames()
483 uint32_t numFramesPlayed; in getPlayedOutAudioDurationMedia_l() local
490 numFramesPlayed = ts.mPosition; in getPlayedOutAudioDurationMedia_l()
496 numFramesPlayed = 0; in getPlayedOutAudioDurationMedia_l()
502 res = mAudioTrack->getPosition(&numFramesPlayed); in getPlayedOutAudioDurationMedia_l()
512 getDurationIfPlayedAtNativeSampleRate_l(numFramesPlayed) in getPlayedOutAudioDurationMedia_l()
530 (long long)durationUs, (long long)nowUs, numFramesPlayed, in getPlayedOutAudioDurationMedia_l()
/frameworks/av/cmds/stagefright/
DSimplePlayer.cpp610 uint32_t numFramesPlayed; in renderAudio() local
611 CHECK_EQ(state->mAudioTrack->getPosition(&numFramesPlayed), (status_t)OK); in renderAudio()
615 - (state->mNumFramesWritten - numFramesPlayed); in renderAudio()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.cpp594 uint32_t numFramesPlayed; in onMessageReceived() local
595 CHECK_EQ(mAudioSink->getPosition(&numFramesPlayed), in onMessageReceived()
600 (mNumFramesWritten > numFramesPlayed ? in onMessageReceived()
601 mNumFramesWritten - numFramesPlayed : 0); in onMessageReceived()
1030 uint32_t numFramesPlayed; in onDrainAudioQueue() local
1031 if (mAudioSink->getPosition(&numFramesPlayed) != OK) { in onDrainAudioQueue()
1044 mAudioSink->frameCount() - (mNumFramesWritten - numFramesPlayed); in onDrainAudioQueue()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1902 uint32_t numFramesPlayed; in getPlayedOutDurationUs() local
1908 numFramesPlayed = ts.mPosition; in getPlayedOutDurationUs()
1912 numFramesPlayed = 0; in getPlayedOutDurationUs()
1917 res = mTrack->getPosition(&numFramesPlayed); in getPlayedOutDurationUs()
1926 int64_t durationUs = (int64_t)((int32_t)numFramesPlayed * 1000000LL / mSampleRateHz) in getPlayedOutDurationUs()
1941 numFramesPlayed, (long long)numFramesPlayedAtUs); in getPlayedOutDurationUs()