Lines Matching refs:mStreaming
182 front = android_atomic_acquire_load(&cblk->u.mStreaming.mFront); in obtainBuffer()
183 rear = cblk->u.mStreaming.mRear; in obtainBuffer()
186 rear = android_atomic_acquire_load(&cblk->u.mStreaming.mRear); in obtainBuffer()
187 front = cblk->u.mStreaming.mFront; in obtainBuffer()
202 cblk->u.mStreaming.mFront = rear; in obtainBuffer()
360 int32_t rear = cblk->u.mStreaming.mRear; in releaseBuffer()
361 android_atomic_release_store(stepCount + rear, &cblk->u.mStreaming.mRear); in releaseBuffer()
363 int32_t front = cblk->u.mStreaming.mFront; in releaseBuffer()
364 android_atomic_release_store(stepCount + front, &cblk->u.mStreaming.mFront); in releaseBuffer()
393 return (mFrameCountP2 - (mIsOut ? cblk->u.mStreaming.mRear : cblk->u.mStreaming.mFront)) & in getMisalignment()
430 const int32_t rearMasked = mCblk->u.mStreaming.mRear & mask; in sendStreamingFlushStop()
435 __builtin_add_overflow(mCblk->u.mStreaming.mStop & ~mask, increment, &stopBits); in sendStreamingFlushStop()
436 android_atomic_release_store(rearMasked | stopBits, &mCblk->u.mStreaming.mStop); in sendStreamingFlushStop()
440 __builtin_add_overflow(mCblk->u.mStreaming.mFlush & ~mask, increment, &flushBits); in sendStreamingFlushStop()
441 android_atomic_release_store(rearMasked | flushBits, &mCblk->u.mStreaming.mFlush); in sendStreamingFlushStop()
676 int32_t flush = android_atomic_acquire_load(&cblk->u.mStreaming.mFlush); in flushBufferIfNeeded()
681 int32_t rear = android_atomic_acquire_load(&cblk->u.mStreaming.mRear); in flushBufferIfNeeded()
682 int32_t front = cblk->u.mStreaming.mFront; in flushBufferIfNeeded()
706 android_atomic_release_store(newFront, &cblk->u.mStreaming.mFront); in flushBufferIfNeeded()
722 const int32_t stop = android_atomic_acquire_load(&mCblk->u.mStreaming.mStop); in getRear()
723 const int32_t rear = android_atomic_acquire_load(&mCblk->u.mStreaming.mRear); in getRear()
726 const int32_t front = mCblk->u.mStreaming.mFront; in getRear()
756 mStopLast = android_atomic_acquire_load(&mCblk->u.mStreaming.mStop); in start()
777 front = cblk->u.mStreaming.mFront; in obtainBuffer()
779 front = android_atomic_acquire_load(&cblk->u.mStreaming.mFront); in obtainBuffer()
780 rear = cblk->u.mStreaming.mRear; in obtainBuffer()
856 int32_t front = cblk->u.mStreaming.mFront; in releaseBuffer()
857 android_atomic_release_store(stepCount + front, &cblk->u.mStreaming.mFront); in releaseBuffer()
859 int32_t rear = cblk->u.mStreaming.mRear; in releaseBuffer()
860 android_atomic_release_store(stepCount + rear, &cblk->u.mStreaming.mRear); in releaseBuffer()
903 int32_t flush = cblk->u.mStreaming.mFlush; in framesReady()
909 ssize_t filled = audio_utils::safe_sub_overflow(rear, cblk->u.mStreaming.mFront); in framesReady()
930 const int32_t flush = android_atomic_acquire_load(&cblk->u.mStreaming.mFlush); in framesReadySafe()
935 const ssize_t filled = audio_utils::safe_sub_overflow(rear, cblk->u.mStreaming.mFront); in framesReadySafe()
958 cblk->u.mStreaming.mUnderrunFrames += frameCount; in tallyUnderrunFrames()
962 cblk->u.mStreaming.mUnderrunCount = mUnderrunCount; in tallyUnderrunFrames()
965 frameCount, cblk->u.mStreaming.mUnderrunFrames, mUnderrunCount); in tallyUnderrunFrames()
973 frameCount, cblk->u.mStreaming.mUnderrunFrames); in tallyUnderrunFrames()
1243 const int32_t front = android_atomic_acquire_load(&mCblk->u.mStreaming.mFront); in framesReadySafe()
1244 const int32_t rear = mCblk->u.mStreaming.mRear; in framesReadySafe()