Searched refs:fscale (Results 1 – 2 of 2) sorted by relevance
253 float fscale; // multiplicative scale in process() local268 fscale = 0.99f / maxSample; in process()270 const float significand = frexp(fscale, &exp); in process()272 fscale *= 255.f / 256.f; // avoid returning unaltered PCM signal in process()276 fscale = 1.f; in process()281 fscale = 1.f / mChannelCount; // account for summing all the channels together. in process()296 mCaptureBuf[captIdx] = clamp8_from_float(smp * fscale); in process()
369 float fscale; // multiplicative scale in Visualizer_process() local390 fscale = 0.99f / maxSample; in Visualizer_process()392 const float significand = frexp(fscale, &exp); in Visualizer_process()394 fscale *= 255.f / 256.f; // avoid returning unaltered PCM signal in Visualizer_process()398 fscale = 1.f; in Visualizer_process()423 fscale = 1.f / pContext->mChannelCount; // account for summing all the channels together. in Visualizer_process()442 buf[captIdx] = clamp8_from_float(smp * fscale); in Visualizer_process()