Searched refs:newSamples (Results 1 – 3 of 3) sorted by relevance
/external/sonic/ |
D | Sonic.java | 811 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 …]
|
D | sonic.c | 962 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/ |
D | aacenc_lib.cpp | 1757 INT newSamples = in aacEncEncode() local 1764 newSamples -= in aacEncEncode() 1765 (newSamples % in aacEncEncode() 1773 newSamples / hAacEncoder->extParam.nChannels, in aacEncEncode() 1778 newSamples / hAacEncoder->extParam.nChannels, in aacEncEncode() 1783 newSamples / hAacEncoder->extParam.nChannels, in aacEncEncode() 1786 hAacEncoder->nSamplesRead += newSamples; in aacEncEncode() 1789 outargs->numInSamples = newSamples; in aacEncEncode()
|