Home
last modified time | relevance | path

Searched refs:numFramesPlayed (Results 1 – 6 of 6) 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/media/libmediaplayer2/
DMediaPlayer2AudioOutput.cpp188 uint32_t numFramesPlayed; in getPlayedOutDurationUs() local
195 numFramesPlayed = ts.mPosition; in getPlayedOutDurationUs()
200 numFramesPlayed = 0; in getPlayedOutDurationUs()
208 int64_t durationUs = (int64_t)((int32_t)numFramesPlayed * 1000000LL / mSampleRateHz) in getPlayedOutDurationUs()
223 numFramesPlayed, (long long)numFramesPlayedAtUs); in getPlayedOutDurationUs()
/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.cpp574 uint32_t numFramesPlayed; in onMessageReceived() local
575 CHECK_EQ(mAudioSink->getPosition(&numFramesPlayed), in onMessageReceived()
580 (mNumFramesWritten > numFramesPlayed ? in onMessageReceived()
581 mNumFramesWritten - numFramesPlayed : 0); in onMessageReceived()
1005 uint32_t numFramesPlayed; in onDrainAudioQueue() local
1006 if (mAudioSink->getPosition(&numFramesPlayed) != OK) { in onDrainAudioQueue()
1019 mAudioSink->frameCount() - (mNumFramesWritten - numFramesPlayed); in onDrainAudioQueue()
/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2Renderer.cpp561 uint32_t numFramesPlayed; in onMessageReceived() local
562 CHECK_EQ(mAudioSink->getPosition(&numFramesPlayed), in onMessageReceived()
567 (mNumFramesWritten > numFramesPlayed ? in onMessageReceived()
568 mNumFramesWritten - numFramesPlayed : 0); in onMessageReceived()
992 uint32_t numFramesPlayed; in onDrainAudioQueue() local
993 if (mAudioSink->getPosition(&numFramesPlayed) != OK) { in onDrainAudioQueue()
1006 mAudioSink->frameCount() - (mNumFramesWritten - numFramesPlayed); in onDrainAudioQueue()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1730 uint32_t numFramesPlayed; in getPlayedOutDurationUs() local
1736 numFramesPlayed = ts.mPosition; in getPlayedOutDurationUs()
1740 numFramesPlayed = 0; in getPlayedOutDurationUs()
1745 res = mTrack->getPosition(&numFramesPlayed); in getPlayedOutDurationUs()
1754 int64_t durationUs = (int64_t)((int32_t)numFramesPlayed * 1000000LL / mSampleRateHz) in getPlayedOutDurationUs()
1769 numFramesPlayed, (long long)numFramesPlayedAtUs); in getPlayedOutDurationUs()