Home
last modified time | relevance | path

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

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/
DTrimmingAudioProcessor.java33 private int endBufferSize; field in TrimmingAudioProcessor
103 int remainingBytesToOutput = endBufferSize + remaining - endBuffer.length; in queueInput()
107 int endBufferBytesToOutput = Util.constrainValue(remainingBytesToOutput, 0, endBufferSize); in queueInput()
119 endBufferSize -= endBufferBytesToOutput; in queueInput()
120 System.arraycopy(endBuffer, endBufferBytesToOutput, endBuffer, 0, endBufferSize); in queueInput()
121 inputBuffer.get(endBuffer, endBufferSize, remaining); in queueInput()
122 endBufferSize += remaining; in queueInput()
129 if (super.isEnded() && endBufferSize > 0) { in getOutput()
133 replaceOutputBuffer(endBufferSize).put(endBuffer, 0, endBufferSize).flip(); in getOutput()
134 endBufferSize = 0; in getOutput()
[all …]