Searched refs:numFramesPlayed (Results 1 – 6 of 6) sorted by relevance
270 uint32_t numFramesPlayed = 0; in getPlayTimeForPendingAudioFrames() local272 status_t res = mAudioTrack->getPosition(&numFramesPlayed); in getPlayTimeForPendingAudioFrames()278 int64_t numPendingFrames = mNumFramesWritten - numFramesPlayed; in getPlayTimeForPendingAudioFrames()483 uint32_t numFramesPlayed; in getPlayedOutAudioDurationMedia_l() local490 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()
188 uint32_t numFramesPlayed; in getPlayedOutDurationUs() local195 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()
610 uint32_t numFramesPlayed; in renderAudio() local611 CHECK_EQ(state->mAudioTrack->getPosition(&numFramesPlayed), (status_t)OK); in renderAudio()615 - (state->mNumFramesWritten - numFramesPlayed); in renderAudio()
574 uint32_t numFramesPlayed; in onMessageReceived() local575 CHECK_EQ(mAudioSink->getPosition(&numFramesPlayed), in onMessageReceived()580 (mNumFramesWritten > numFramesPlayed ? in onMessageReceived()581 mNumFramesWritten - numFramesPlayed : 0); in onMessageReceived()1005 uint32_t numFramesPlayed; in onDrainAudioQueue() local1006 if (mAudioSink->getPosition(&numFramesPlayed) != OK) { in onDrainAudioQueue()1019 mAudioSink->frameCount() - (mNumFramesWritten - numFramesPlayed); in onDrainAudioQueue()
561 uint32_t numFramesPlayed; in onMessageReceived() local562 CHECK_EQ(mAudioSink->getPosition(&numFramesPlayed), in onMessageReceived()567 (mNumFramesWritten > numFramesPlayed ? in onMessageReceived()568 mNumFramesWritten - numFramesPlayed : 0); in onMessageReceived()992 uint32_t numFramesPlayed; in onDrainAudioQueue() local993 if (mAudioSink->getPosition(&numFramesPlayed) != OK) { in onDrainAudioQueue()1006 mAudioSink->frameCount() - (mNumFramesWritten - numFramesPlayed); in onDrainAudioQueue()
1730 uint32_t numFramesPlayed; in getPlayedOutDurationUs() local1736 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()