Lines Matching refs:Visualizer
60 MAKE_RANGE(Visualizer, latencyMs, 0, VisualizerContext::kMaxLatencyMs),
61 MAKE_RANGE(Visualizer, captureSamples, VisualizerContext::kMinCaptureBufSize,
64 MAKE_RANGE(Visualizer, measurement, Visualizer::Measurement({.rms = 1, .peak = 1}),
65 Visualizer::Measurement({.rms = 0, .peak = 0})),
66 MAKE_RANGE(Visualizer, captureSampleBuffer, std::vector<uint8_t>({1}),
118 case Visualizer::captureSamples: { in setParameterSpecific()
119 RETURN_IF(mContext->setCaptureSamples(param.get<Visualizer::captureSamples>()) != in setParameterSpecific()
124 case Visualizer::scalingMode: { in setParameterSpecific()
125 RETURN_IF(mContext->setScalingMode(param.get<Visualizer::scalingMode>()) != in setParameterSpecific()
130 case Visualizer::measurementMode: { in setParameterSpecific()
131 RETURN_IF(mContext->setMeasurementMode(param.get<Visualizer::measurementMode>()) != in setParameterSpecific()
136 case Visualizer::latencyMs: { in setParameterSpecific()
137 RETURN_IF(mContext->setDownstreamLatency(param.get<Visualizer::latencyMs>()) != in setParameterSpecific()
158 case Visualizer::Id::commonTag: { in getParameterSpecific()
159 return getParameterVisualizer(specificId.get<Visualizer::Id::commonTag>(), specific); in getParameterSpecific()
170 ndk::ScopedAStatus VisualizerImpl::getParameterVisualizer(const Visualizer::Tag& tag, in getParameterVisualizer()
174 Visualizer param; in getParameterVisualizer()
176 case Visualizer::captureSamples: { in getParameterVisualizer()
177 param.set<Visualizer::captureSamples>(mContext->getCaptureSamples()); in getParameterVisualizer()
180 case Visualizer::scalingMode: { in getParameterVisualizer()
181 param.set<Visualizer::scalingMode>(mContext->getScalingMode()); in getParameterVisualizer()
184 case Visualizer::measurementMode: { in getParameterVisualizer()
185 param.set<Visualizer::measurementMode>(mContext->getMeasurementMode()); in getParameterVisualizer()
188 case Visualizer::measurement: { in getParameterVisualizer()
189 param.set<Visualizer::measurement>(mContext->getMeasure()); in getParameterVisualizer()
192 case Visualizer::captureSampleBuffer: { in getParameterVisualizer()
193 param.set<Visualizer::captureSampleBuffer>(mContext->capture()); in getParameterVisualizer()
196 case Visualizer::latencyMs: { in getParameterVisualizer()
197 param.set<Visualizer::latencyMs>(mContext->getDownstreamLatency()); in getParameterVisualizer()