Home
last modified time | relevance | path

Searched refs:maxRequired (Results 1 – 2 of 2) sorted by relevance

/external/sonic/
Dsonic.c43 int maxRequired; member
214 int maxRequired = 2*maxPeriod; in allocateStreamBuffers() local
216 stream->inputBufferSize = maxRequired; in allocateStreamBuffers()
217 stream->inputBuffer = (short *)calloc(maxRequired, sizeof(short)*numChannels); in allocateStreamBuffers()
222 stream->outputBufferSize = maxRequired; in allocateStreamBuffers()
223 stream->outputBuffer = (short *)calloc(maxRequired, sizeof(short)*numChannels); in allocateStreamBuffers()
228 stream->pitchBufferSize = maxRequired; in allocateStreamBuffers()
229 stream->pitchBuffer = (short *)calloc(maxRequired, sizeof(short)*numChannels); in allocateStreamBuffers()
234 stream->downSampleBuffer = (short *)calloc(maxRequired, sizeof(short)); in allocateStreamBuffers()
245 stream->maxRequired = maxRequired; in allocateStreamBuffers()
[all …]
DSonic.java39 private int maxRequired; field in Sonic
183 maxRequired = 2*maxPeriod; in allocateStreamBuffers()
184 inputBufferSize = maxRequired; in allocateStreamBuffers()
185 inputBuffer = new short[maxRequired*numChannels]; in allocateStreamBuffers()
186 outputBufferSize = maxRequired; in allocateStreamBuffers()
187 outputBuffer = new short[maxRequired*numChannels]; in allocateStreamBuffers()
188 pitchBufferSize = maxRequired; in allocateStreamBuffers()
189 pitchBuffer = new short[maxRequired*numChannels]; in allocateStreamBuffers()
190 downSampleBuffer = new short[maxRequired]; in allocateStreamBuffers()
349 if(numSamples > maxRequired) { in copyInputToOutput()
[all …]