Lines Matching defs:numSamples
70 int numSamples = 0;
73 &numSamples, &wave);
76 if (!numSamples) {
79 ja = env->NewShortArray(numSamples);
80 env->SetShortArrayRegion(ja, 0, numSamples, wave);
98 int numSamples = env->GetArrayLength(jpcm);
99 short *pcm = new short[numSamples];
100 env->GetShortArrayRegion(jpcm, 0, numSamples, pcm);
102 measureRms(pcm, numSamples, sampleRate, onsetThresh, ret, ret + 1,
126 int numSamples = env->GetArrayLength(jpcm);
127 short *pcm = new short[numSamples];
128 env->GetShortArrayRegion(jpcm, 0, numSamples, pcm);
134 int success = gt.checkToneSnr(pcm, numSamples, &duration, &badFrames);
157 int numSamples = env->GetArrayLength(jpcm);
158 short *pcm = new short[numSamples];
159 env->GetShortArrayRegion(jpcm, 0, numSamples, pcm);
164 int success = overflowCheck(pcm, numSamples, sampleRate,
188 int numSamples = env->GetArrayLength(jpcm);
189 short *pcm = new short[numSamples];
190 env->GetShortArrayRegion(jpcm, 0, numSamples, pcm);
196 int success = compareSpectra(pcm, numSamples, refPcm, nRefSamples,