Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.media.sound
Class SoftLinearResampler2

    java.lang.Object
      com.sun.media.sound.SoftAbstractResampler
          com.sun.media.sound.SoftLinearResampler2

All Implemented Interfaces:
  SoftResampler

    public class SoftLinearResampler2

extends SoftAbstractResampler

A resampler that uses first-order (linear) interpolation. This one doesn't perform float to int casting inside the processing loop.

Author:
  Karl Helgason

Constructor Summary
`SoftLinearResampler2()`

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 com.sun.media.sound.SoftAbstractResampler
`openStreamer`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SoftLinearResampler2

    public SoftLinearResampler2()

Method Detail

### 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`

Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD