Lines Matching refs:mContext

89     RETURN_IF(!mContext, EX_NULL_POINTER, "nullContext");  in commandImpl()
92 mContext->enable(); in commandImpl()
95 mContext->disable(); in commandImpl()
98 mContext->disable(); in commandImpl()
99 mContext->resetBuffer(); in commandImpl()
112 RETURN_IF(!mContext, EX_NULL_POINTER, "nullContext"); in setParameterSpecific()
119 RETURN_IF(mContext->setCaptureSamples(param.get<Visualizer::captureSamples>()) != in setParameterSpecific()
125 RETURN_IF(mContext->setScalingMode(param.get<Visualizer::scalingMode>()) != in setParameterSpecific()
131 RETURN_IF(mContext->setMeasurementMode(param.get<Visualizer::measurementMode>()) != in setParameterSpecific()
137 RETURN_IF(mContext->setDownstreamLatency(param.get<Visualizer::latencyMs>()) != in setParameterSpecific()
172 RETURN_IF(!mContext, EX_NULL_POINTER, "nullContext"); in getParameterVisualizer()
177 param.set<Visualizer::captureSamples>(mContext->getCaptureSamples()); in getParameterVisualizer()
181 param.set<Visualizer::scalingMode>(mContext->getScalingMode()); in getParameterVisualizer()
185 param.set<Visualizer::measurementMode>(mContext->getMeasurementMode()); in getParameterVisualizer()
189 param.set<Visualizer::measurement>(mContext->getMeasure()); in getParameterVisualizer()
193 param.set<Visualizer::captureSampleBuffer>(mContext->capture()); in getParameterVisualizer()
197 param.set<Visualizer::latencyMs>(mContext->getDownstreamLatency()); in getParameterVisualizer()
212 if (mContext) { in createContext()
214 return mContext; in createContext()
217 mContext = std::make_shared<VisualizerContext>(1 /* statusFmqDepth */, common); in createContext()
218 mContext->initParams(common); in createContext()
219 return mContext; in createContext()
223 if (mContext) { in releaseContext()
224 mContext->disable(); in releaseContext()
225 mContext->resetBuffer(); in releaseContext()
233 RETURN_VALUE_IF(!mContext, status, "nullContext"); in effectProcessImpl()
234 return mContext->process(in, out, samples); in effectProcessImpl()