Home
last modified time | relevance | path

Searched refs:hapticSampleCount (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libeffects/hapticgenerator/aidl/
DHapticGeneratorContext.cpp158 const size_t hapticSampleCount = mFrameCount * mParams.mHapticChannelCount; in process() local
160 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()
/frameworks/av/media/libeffects/hapticgenerator/
DEffectHapticGenerator.cpp492 size_t hapticSampleCount = inBuffer->frameCount * context->param.hapticChannelCount; in HapticGenerator_Process() local
493 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()