Searched refs:numFramesPlayed (Results 1 – 4 of 4) 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()
610 uint32_t numFramesPlayed; in renderAudio() local611 CHECK_EQ(state->mAudioTrack->getPosition(&numFramesPlayed), (status_t)OK); in renderAudio()615 - (state->mNumFramesWritten - numFramesPlayed); in renderAudio()
594 uint32_t numFramesPlayed; in onMessageReceived() local595 CHECK_EQ(mAudioSink->getPosition(&numFramesPlayed), in onMessageReceived()600 (mNumFramesWritten > numFramesPlayed ? in onMessageReceived()601 mNumFramesWritten - numFramesPlayed : 0); in onMessageReceived()1030 uint32_t numFramesPlayed; in onDrainAudioQueue() local1031 if (mAudioSink->getPosition(&numFramesPlayed) != OK) { in onDrainAudioQueue()1044 mAudioSink->frameCount() - (mNumFramesWritten - numFramesPlayed); in onDrainAudioQueue()
1902 uint32_t numFramesPlayed; in getPlayedOutDurationUs() local1908 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()