Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/hapticgenerator/
DEffectHapticGenerator.cpp105 context->param.hapticChannelCount = 0; in HapticGenerator_Init()
148 const size_t channelCount = param->hapticChannelCount; in HapticGenerator_buildProcessingChain()
233 context->param.hapticChannelCount = audio_channel_count_from_out_mask( in HapticGenerator_Configure()
235 ALOG_ASSERT(context->param.hapticChannelCount <= 2, in HapticGenerator_Configure()
237 context->param.hapticChannelCount); in HapticGenerator_Configure()
240 for (size_t i = 0; i < context->param.hapticChannelCount; ++i) { in HapticGenerator_Configure()
431 size_t hapticSampleCount = inBuffer->frameCount * context->param.hapticChannelCount; in HapticGenerator_Process()
441 for (size_t j = 0; j < context->param.hapticChannelCount; ++j) { in HapticGenerator_Process()
442 context->inputBuffer[i * context->param.hapticChannelCount + j] = in HapticGenerator_Process()
DEffectHapticGenerator.h49 uint32_t hapticChannelCount; member
/frameworks/av/media/libstagefright/
DMetaDataUtils.cpp350 const int hapticChannelCount = strtol(&comment[tagLen + 1], &end, 10); in parseVorbisComment() local
352 AMediaFormat_setInt32(fileMeta, kMap[j].mKey, hapticChannelCount); in parseVorbisComment()
DUtils.cpp1127 int32_t hapticChannelCount; in convertMetaDataToMessage() local
1128 if (meta->findInt32(kKeyHapticChannelCount, &hapticChannelCount)) { in convertMetaDataToMessage()
1129 msg->setInt32("haptic-channel-count", hapticChannelCount); in convertMetaDataToMessage()
1909 int32_t hapticChannelCount; in convertMessageToMetaData() local
1910 if (msg->findInt32("haptic-channel-count", &hapticChannelCount)) { in convertMessageToMetaData()
1911 meta->setInt32(kKeyHapticChannelCount, hapticChannelCount); in convertMessageToMetaData()
/frameworks/av/media/libaudioprocessing/
DAudioMixer.cpp93 const uint32_t hapticChannelCount = audio_channel_count_from_out_mask(hapticChannelMask); in setChannelMasks() local
105 track->mHapticChannelCount = hapticChannelCount; in setChannelMasks()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1667 const uint32_t hapticChannelCount = audio_channel_count_from_out_mask( in selectOutput() local
1686 if ((hapticChannelCount == 0) != (outputHapticChannelCount == 0)) { in selectOutput()
1689 if (outputHapticChannelCount >= hapticChannelCount in selectOutput()