com.sun.media.sound
Class SoftLinearResampler
java.lang.Object
com.sun.media.sound.SoftAbstractResampler
com.sun.media.sound.SoftLinearResampler
- All Implemented Interfaces:
- SoftResampler
public class SoftLinearResampler
- extends SoftAbstractResampler
A resampler that uses first-order (linear) interpolation.
- Author:
- Karl Helgason
Method Summary |
int |
getPadding()
|
void |
interpolate(float[] in,
float[] in_offset,
float in_end,
float[] startpitch,
float pitchstep,
float[] out,
int[] out_offset,
int out_end)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SoftLinearResampler
public SoftLinearResampler()
getPadding
public int getPadding()
- Specified by:
getPadding
in class SoftAbstractResampler
interpolate
public void interpolate(float[] in,
float[] in_offset,
float in_end,
float[] startpitch,
float pitchstep,
float[] out,
int[] out_offset,
int out_end)
- Specified by:
interpolate
in class SoftAbstractResampler