Lines Matching refs:framesReady
535 // Note that framesReady() takes a mutex on the control block using tryLock().
536 // This could result in priority inversion if framesReady() is called by the normal mixer,
538 // priority than the client's callback thread: there is a short window within framesReady()
540 // Another problem can occur if framesReady() is called by the fast mixer:
543 size_t AudioFlinger::PlaybackThread::Track::framesReady() const {
544 return mAudioTrackServerProxy->framesReady();
552 // Don't call for fast tracks; the framesReady() could result in priority inversion
558 if (framesReady() >= mFrameCount ||
937 ((framesReady() == 0) && ((mSharedBuffer != 0) ||
939 ALOGW("Track::setSyncEvent() in invalid state %d on session %d %s mode, framesReady %d ",
940 mState, mSessionId, (mSharedBuffer != 0) ? "static" : "stream", framesReady());
1133 // Update the bookkeeping for framesReady()
1475 size_t AudioFlinger::PlaybackThread::TimedTrack::framesReady() const {
1663 // FIXME borken, replace by getting framesReady() from proxy