Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/hapticgenerator/
DEffectHapticGenerator.cpp431 size_t hapticSampleCount = inBuffer->frameCount * context->param.hapticChannelCount; in HapticGenerator_Process() local
432 if (hapticSampleCount > context->inputBuffer.size()) { in HapticGenerator_Process()
435 context->inputBuffer.resize(hapticSampleCount); in HapticGenerator_Process()
436 context->outputBuffer.resize(hapticSampleCount); in HapticGenerator_Process()
451 os::scaleHapticData(hapticOutBuffer, hapticSampleCount, context->param.maxHapticIntensity); in HapticGenerator_Process()
461 hapticSampleCount); in HapticGenerator_Process()