com.sun.media.sound
Class SoftAbstractResampler

java.lang.Object
  extended by com.sun.media.sound.SoftAbstractResampler
All Implemented Interfaces:
SoftResampler
Direct Known Subclasses:
SoftCubicResampler, SoftLanczosResampler, SoftLinearResampler, SoftLinearResampler2, SoftPointResampler, SoftSincResampler

public abstract class SoftAbstractResampler
extends java.lang.Object
implements SoftResampler

Abstract resampler class.

Author:
Karl Helgason

Constructor Summary
SoftAbstractResampler()
           
 
Method Summary
abstract  int getPadding()
           
abstract  void interpolate(float[] in, float[] in_offset, float in_end, float[] pitch, float pitchstep, float[] out, int[] out_offset, int out_end)
           
 SoftResamplerStreamer openStreamer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoftAbstractResampler

public SoftAbstractResampler()
Method Detail

getPadding

public abstract int getPadding()

interpolate

public abstract void interpolate(float[] in,
                                 float[] in_offset,
                                 float in_end,
                                 float[] pitch,
                                 float pitchstep,
                                 float[] out,
                                 int[] out_offset,
                                 int out_end)

openStreamer

public SoftResamplerStreamer openStreamer()
Specified by:
openStreamer in interface SoftResampler