Searched refs:hapticSampleCount (Results 1 – 2 of 2) sorted by relevance
158 const size_t hapticSampleCount = mFrameCount * mParams.mHapticChannelCount; in process() local160 if (hapticSampleCount > mInputBuffer.size()) { in process()163 mInputBuffer.resize(hapticSampleCount); in process()164 mOutputBuffer.resize(hapticSampleCount); in process()178 hapticOutBuffer, hapticSampleCount, in process()188 hapticSampleCount, 2.f /* absMax */); in process()
492 size_t hapticSampleCount = inBuffer->frameCount * context->param.hapticChannelCount; in HapticGenerator_Process() local493 if (hapticSampleCount > context->inputBuffer.size()) { in HapticGenerator_Process()496 context->inputBuffer.resize(hapticSampleCount); in HapticGenerator_Process()497 context->outputBuffer.resize(hapticSampleCount); in HapticGenerator_Process()512 os::scaleHapticData(hapticOutBuffer, hapticSampleCount, in HapticGenerator_Process()524 hapticSampleCount); in HapticGenerator_Process()