-
- All Implemented Interfaces:
-
com.otaliastudios.transcoder.stretch.AudioStretcher
public class DefaultAudioStretcher implements AudioStretcher
An AudioStretcher that delegates to appropriate classes based on input and output size.
-
-
Method Summary
Modifier and Type Method Description voidstretch(@NonNull() ShortBuffer input, @NonNull() ShortBuffer output, int channels)Stretches the input into the output, based on the remaining value of both. -
-
Method Detail
-
stretch
void stretch(@NonNull() ShortBuffer input, @NonNull() ShortBuffer output, int channels)
Stretches the input into the output, based on the remaining value of both.At the end of this method, the position of both should be equal to theirrespective limit.And of course, both limits should remain unchanged.
- Parameters:
input- input bufferoutput- output bufferchannels- audio channels
-
-
-
-