Class AudioFloatConverter

java.lang.Object
com.sun.media.sound.AudioFloatConverter

public abstract class AudioFloatConverter extends Object
This class is used to convert between 8,16,24,32,32+ bit signed/unsigned big/litle endian fixed/floating point byte buffers and float buffers.
  • Constructor Details

    • AudioFloatConverter

      public AudioFloatConverter()
  • Method Details

    • getConverter

      public static AudioFloatConverter getConverter(AudioFormat format)
    • getFormat

      public final AudioFormat getFormat()
    • toFloatArray

      public abstract float[] toFloatArray(byte[] in_buff, int in_offset, float[] out_buff, int out_offset, int out_len)
    • toFloatArray

      public final float[] toFloatArray(byte[] in_buff, float[] out_buff, int out_offset, int out_len)
    • toFloatArray

      public final float[] toFloatArray(byte[] in_buff, int in_offset, float[] out_buff, int out_len)
    • toFloatArray

      public final float[] toFloatArray(byte[] in_buff, float[] out_buff, int out_len)
    • toFloatArray

      public final float[] toFloatArray(byte[] in_buff, float[] out_buff)
    • toByteArray

      public abstract byte[] toByteArray(float[] in_buff, int in_offset, int in_len, byte[] out_buff, int out_offset)
    • toByteArray

      public final byte[] toByteArray(float[] in_buff, int in_len, byte[] out_buff, int out_offset)
    • toByteArray

      public final byte[] toByteArray(float[] in_buff, int in_offset, int in_len, byte[] out_buff)
    • toByteArray

      public final byte[] toByteArray(float[] in_buff, int in_len, byte[] out_buff)
    • toByteArray

      public final byte[] toByteArray(float[] in_buff, byte[] out_buff)