Package samer.audio

Class AudioSink.Util

  • java.lang.Object
    • samer.audio.AudioSink.Util
  • Enclosing interface:
    AudioSink


    public static class AudioSink.Util
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      Util() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void doubletoByte(double[] src, byte[] dst, int off, int n, double k) 
      static void doubleToShort(double[] src, byte[] dst, int off, int n, double k) 
      static void floatToByte(float[] src, byte[] dst, int off, int n, float k) 
      static void floatToShort(float[] src, byte[] dst, int off, int n, float k) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Util

        public Util()
    • Method Detail

      • doubleToShort

        public static void doubleToShort(double[] src,
                                         byte[] dst,
                                         int off,
                                         int n,
                                         double k)
      • doubletoByte

        public static void doubletoByte(double[] src,
                                        byte[] dst,
                                        int off,
                                        int n,
                                        double k)
      • floatToShort

        public static void floatToShort(float[] src,
                                        byte[] dst,
                                        int off,
                                        int n,
                                        float k)
      • floatToByte

        public static void floatToByte(float[] src,
                                       byte[] dst,
                                       int off,
                                       int n,
                                       float k)