Package samer.audio

Class AudioSource.Util

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


    public static class AudioSource.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 byteToDouble(byte[] src, double[] dst, int off, int n) 
      static void byteToFloat(byte[] src, float[] dst, int off, int n) 
      static void mediumToDouble(byte[] src, double[] dst, int off, int n) 
      static void shortToDouble(byte[] src, double[] dst, int off, int n) 
      static void shortToDoubleMixDown(byte[] src, double[] dst, int off, int n, int m) 
      static void shortToFloat(byte[] src, float[] dst, int off, int n) 
      static void shortToFloatMixDown(byte[] src, float[] dst, int off, int n, int m) 
      • 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

      • shortToDoubleMixDown

        public static void shortToDoubleMixDown(byte[] src,
                                                double[] dst,
                                                int off,
                                                int n,
                                                int m)
      • mediumToDouble

        public static void mediumToDouble(byte[] src,
                                          double[] dst,
                                          int off,
                                          int n)
      • shortToDouble

        public static void shortToDouble(byte[] src,
                                         double[] dst,
                                         int off,
                                         int n)
      • byteToDouble

        public static void byteToDouble(byte[] src,
                                        double[] dst,
                                        int off,
                                        int n)
      • shortToFloatMixDown

        public static void shortToFloatMixDown(byte[] src,
                                               float[] dst,
                                               int off,
                                               int n,
                                               int m)
      • shortToFloat

        public static void shortToFloat(byte[] src,
                                        float[] dst,
                                        int off,
                                        int n)
      • byteToFloat

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