Searched refs:smpl (Results 1 – 3 of 3) sorted by relevance
194 float smpl = samples[smplIndex]; in drawChannelFloat() local195 if (smpl > maxMagnitude) { in drawChannelFloat()196 maxMagnitude = smpl; in drawChannelFloat()197 } else if (-smpl > maxMagnitude) { in drawChannelFloat()198 maxMagnitude = -smpl; in drawChannelFloat()201 yCoord = zeroY - (smpl * yScale); in drawChannelFloat()
959 for (int smpl = 0; smpl < decSamples.length; smpl++) { in checkEnergyUSAC()960 int value = Math.abs(decSamples[smpl]); in checkEnergyUSAC()964 noiseStart = smpl / nCh; in checkEnergyUSAC()969 signalStart = smpl / nCh; in checkEnergyUSAC()1017 for (int smpl = smpStart; smpl < smpStop; smpl += nCh) { in checkEnergyUSAC()1019 nrgPerChannel[ch] += decSamples[smpl] * decSamples[smpl]; in checkEnergyUSAC()
1246 for (int smpl = 0; smpl < decSamples.length; smpl++) { in checkEnergy()1247 int value = Math.abs(decSamples[smpl]); in checkEnergy()1249 noiseStart = smpl / nCh; // store start of prepended noise in checkEnergy()1252 signalStart = smpl / nCh; // store signal start offset [samples] in checkEnergy()1276 for (int smpl = smpStart; smpl < smpStop; smpl += nCh) { in checkEnergy()1277 nrg[ch][seg] += decSamples[smpl] * decSamples[smpl]; // accumulate segment nrg in checkEnergy()