stretch
public void stretch(@NonNull
java.nio.ShortBuffer input,
@NonNull
java.nio.ShortBuffer output,
int channels)
Stretches the input into the output, based on the Buffer.remaining() value of both.
At the end of this method, the Buffer.position() of both should be equal to their
respective Buffer.limit().
And of course, both Buffer.limit()s should remain unchanged.
- Specified by:
stretch in interface AudioStretcher
- Parameters:
input - input buffer
output - output buffer
channels - audio channels