Home
last modified time | relevance | path

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

/hardware/interfaces/audio/aidl/default/virtualizer/
DVirtualizerSw.cpp98 auto& vrParam = specific.get<Parameter::Specific::virtualizer>(); in setParameterSpecific() local
99 RETURN_IF(!inRange(vrParam, kRanges), EX_ILLEGAL_ARGUMENT, "outOfRange"); in setParameterSpecific()
100 auto tag = vrParam.getTag(); in setParameterSpecific()
104 RETURN_IF(mContext->setVrStrength(vrParam.get<Virtualizer::strengthPm>()) != in setParameterSpecific()
110 RETURN_IF(mContext->setForcedDevice(vrParam.get<Virtualizer::device>()) != in setParameterSpecific()
148 Virtualizer vrParam; in getParameterVirtualizer() local
151 vrParam.set<Virtualizer::strengthPm>(mContext->getVrStrength()); in getParameterVirtualizer()
155 vrParam.set<Virtualizer::device>(mContext->getForcedDevice()); in getParameterVirtualizer()
167 specific->set<Parameter::Specific::virtualizer>(vrParam); in getParameterVirtualizer()