Home
last modified time | relevance | path

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

/hardware/interfaces/audio/effect/all-versions/default/
DEffect.h62 std::function<void(uint32_t valueSize, const void* valueData)>;
127 [&](uint32_t valueSize, const void* valueData) { in getIntegerParam()
129 memcpy(&value, valueData, valueSize); in getIntegerParam()
138 [&](uint32_t valueSize, const void* valueData) { in getParam()
140 memcpy(&paramValue, valueData, valueSize); in getParam()
148 [&](uint32_t valueSize, const void* valueData) { in getParam()
150 memcpy(&paramValue, valueData, valueSize); in getParam()
172 const void* valueData);
221 const void** valueData, std::vector<uint8_t>* halParamBuffer);
DEffect.cpp398 const void** valueData, std::vector<uint8_t>* halParamBuffer) { in parameterToHal() argument
421 if (valueData) { in parameterToHal()
422 if (*valueData) { in parameterToHal()
424 memcpy(halParam->data + valueOffsetFromData, *valueData, valueSize); in parameterToHal()
427 *valueData = halParam->data + valueOffsetFromData; in parameterToHal()
510 const void* valueData = nullptr; in getParameterImpl() local
512 if (!parameterToHal(paramSize, paramData, replyValueSize, &valueData, &halParamBuffer)) { in getParameterImpl()
521 onSuccess(halParam->vsize, valueData); in getParameterImpl()
685 const void* valueData) { in setParameterImpl() argument
687 if (!parameterToHal(paramSize, paramData, valueSize, &valueData, &halParamBuffer)) { in setParameterImpl()
[all …]
DLoudnessEnhancerEffect.cpp196 sizeof(paramId), &paramId, 0, sizeof(targetGainMb), [&](uint32_t, const void* valueData) { in getTargetGain() argument
197 memcpy(&targetGainMb, valueData, sizeof(targetGainMb)); in getTargetGain()
DVirtualizerEffect.cpp236 [&](uint32_t valueSize, const void* valueData) { in getVirtualSpeakerAngles() argument
240 status = speakerAnglesFromHal(reinterpret_cast<const int32_t*>(valueData), in getVirtualSpeakerAngles()
DEqualizerEffect.cpp297 sizeof(paramId), &paramId, valueSize, [&](uint32_t, const void* valueData) { in getAllProperties() argument
299 reinterpret_cast<const t_equalizer_settings*>(valueData); in getAllProperties()