Searched refs:mNextFrame (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/services/audioflinger/tests/ |
D | test_utils.h | 100 mNextFrame(0), mUnrel(0), mInputIncr(inputIncr), mNextIdx(0) 106 mNextFrame(0), mUnrel(0), mNextIdx(0) 118 if (requestedFrames > mNumFrames - mNextFrame) { 119 buffer->frameCount = mNumFrames - mNextFrame; 134 requestedFrames, mNumFrames - mNextFrame, buffer->frameCount); 137 buffer->raw = (char *)mAddr + mFrameSize * mNextFrame; 150 mNextFrame += mUnrel; 156 mNextFrame += buffer->frameCount; 165 mNextFrame = 0; 178 size_t mNextFrame; // index of next frame to provide
|
/frameworks/av/services/audioflinger/ |
D | test-resample.cpp | 264 size_t mNextFrame; // index of next frame to provide in main() member in main::Provider 273 mNextFrame(0), mUnrel(0), mPvalues(Pvalues), mNextPidx(0) { in main() 279 if (requestedFrames > mNumFrames - mNextFrame) { in main() 280 buffer->frameCount = mNumFrames - mNextFrame; in main() 295 requestedFrames, (size_t) (mNumFrames - mNextFrame), buffer->frameCount); in main() 299 buffer->raw = (char *)mAddr + mFrameSize * mNextFrame; in main() 310 mNextFrame += mUnrel; in main() 317 mNextFrame += buffer->frameCount; in main() 324 mNextFrame = 0; in main()
|