Home
last modified time | relevance | path

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

/external/sonic/
DSonic.java34 private int numInputSamples; field in Sonic
254 if(numInputSamples + numSamples > inputBufferSize) { in enlargeInputBufferIfNeeded()
269 int xBuffer = numInputSamples*numChannels; in addFloatSamplesToInputBuffer()
273 numInputSamples += numSamples; in addFloatSamplesToInputBuffer()
285 move(inputBuffer, numInputSamples, samples, 0, numSamples); in addShortSamplesToInputBuffer()
286 numInputSamples += numSamples; in addShortSamplesToInputBuffer()
297 int xBuffer = numInputSamples*numChannels; in addUnsignedByteSamplesToInputBuffer()
302 numInputSamples += numSamples; in addUnsignedByteSamplesToInputBuffer()
314 int xBuffer = numInputSamples*numChannels; in addBytesToInputBuffer()
319 numInputSamples += numSamples; in addBytesToInputBuffer()
[all …]
Dsonic.c38 int numInputSamples; member
330 if(stream->numInputSamples + numSamples > stream->inputBufferSize) { in enlargeInputBufferIfNeeded()
356 buffer = stream->inputBuffer + stream->numInputSamples*stream->numChannels; in addFloatSamplesToInputBuffer()
360 stream->numInputSamples += numSamples; in addFloatSamplesToInputBuffer()
376 memcpy(stream->inputBuffer + stream->numInputSamples*stream->numChannels, samples, in addShortSamplesToInputBuffer()
378 stream->numInputSamples += numSamples; in addShortSamplesToInputBuffer()
397 buffer = stream->inputBuffer + stream->numInputSamples*stream->numChannels; in addUnsignedCharSamplesToInputBuffer()
401 stream->numInputSamples += numSamples; in addUnsignedCharSamplesToInputBuffer()
410 int remainingSamples = stream->numInputSamples - position; in removeInputSamples()
416 stream->numInputSamples = remainingSamples; in removeInputSamples()
[all …]