Lines Matching refs:current
90 const FastCaptureState * const current = (const FastCaptureState *) mCurrent; in onStateChange() local
93 const size_t frameCount = current->mFrameCount; in onStateChange()
99 if (current->mInputSourceGen != mInputSourceGen) { in onStateChange()
100 mInputSource = current->mInputSource; in onStateChange()
101 mInputSourceGen = current->mInputSourceGen; in onStateChange()
118 if (current->mPipeSinkGen != mPipeSinkGen) { in onStateChange()
119 mPipeSink = current->mPipeSink; in onStateChange()
120 mPipeSinkGen = current->mPipeSinkGen; in onStateChange()
157 dumpState->mSilenced = current->mSilenceCapture; in onStateChange()
162 const FastCaptureState * const current = (const FastCaptureState *) mCurrent; in onWork() local
165 size_t frameCount = current->mFrameCount; in onWork()
166 AudioBufferProvider* fastPatchRecordBufferProvider = current->mFastPatchRecordBufferProvider; in onWork()
211 if (current->mSilenceCapture) { in onWork()
215 audio_track_cblk_t* cblk = current->mCblk; in onWork()
219 memcpy_by_audio_format(patchBuffer.raw, current->mFastPatchRecordFormat, in onWork()