Searched refs:maxRequired (Results 1 – 2 of 2) sorted by relevance
43 int maxRequired; member214 int maxRequired = 2*maxPeriod; in allocateStreamBuffers() local216 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 …]
39 private int maxRequired; field in Sonic183 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 …]