Home
last modified time | relevance | path

Searched refs:newSamples (Results 1 – 3 of 3) sorted by relevance

/external/sonic/
DSonic.java811 int newSamples; in skipPitchPeriod() local
814 newSamples = (int)(period/(speed - 1.0f)); in skipPitchPeriod()
816 newSamples = period; in skipPitchPeriod()
819 enlargeOutputBufferIfNeeded(newSamples); in skipPitchPeriod()
820 overlapAdd(newSamples, numChannels, outputBuffer, numOutputSamples, samples, position, in skipPitchPeriod()
822 numOutputSamples += newSamples; in skipPitchPeriod()
823 return newSamples; in skipPitchPeriod()
833 int newSamples; in insertPitchPeriod() local
836 newSamples = (int)(period*speed/(1.0f - speed)); in insertPitchPeriod()
838 newSamples = period; in insertPitchPeriod()
[all …]
Dsonic.c962 long newSamples; in skipPitchPeriod() local
966 newSamples = period/(speed - 1.0f); in skipPitchPeriod()
968 newSamples = period; in skipPitchPeriod()
971 if(!enlargeOutputBufferIfNeeded(stream, newSamples)) { in skipPitchPeriod()
974 overlapAdd(newSamples, numChannels, stream->outputBuffer + in skipPitchPeriod()
976 stream->numOutputSamples += newSamples; in skipPitchPeriod()
977 return newSamples; in skipPitchPeriod()
987 long newSamples; in insertPitchPeriod() local
992 newSamples = period*speed/(1.0f - speed); in insertPitchPeriod()
994 newSamples = period; in insertPitchPeriod()
[all …]
/external/aac/libAACenc/src/
Daacenc_lib.cpp1468 …INT newSamples = fixMax(0,fixMin(inargs->numInSamples, hAacEncoder->nSamplesToRead-hAacEncoder->nS… in aacEncEncode() local
1473 … FDKmemcpy(pIn, (INT_PCM*)inBufDesc->bufs[idx], newSamples*sizeof(INT_PCM)); /* Fast copy. */ in aacEncEncode()
1476 for (i=0; i<newSamples; i++) { in aacEncEncode()
1481 for (i=0; i<newSamples; i++) { in aacEncEncode()
1485 hAacEncoder->nSamplesRead += newSamples; in aacEncEncode()
1488 outargs->numInSamples = newSamples; in aacEncEncode()