< prev index next >

src/java.desktop/share/classes/com/sun/media/sound/SoftPointResampler.java

Print this page

        

@@ -20,23 +20,26 @@
  *
  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
+
 package com.sun.media.sound;
 
 /**
  * A resampler that uses 0-order (nearest-neighbor) interpolation.
  *
  * @author Karl Helgason
  */
 public final class SoftPointResampler extends SoftAbstractResampler {
 
+    @Override
     public int getPadding() {
         return 100;
     }
 
+    @Override
     public void interpolate(float[] in, float[] in_offset, float in_end,
             float[] startpitch, float pitchstep, float[] out, int[] out_offset,
             int out_end) {
         float pitch = startpitch[0];
         float ix = in_offset[0];

@@ -56,8 +59,7 @@
             }
         }
         in_offset[0] = ix;
         out_offset[0] = ox;
         startpitch[0] = pitch;
-
     }
 }
< prev index next >