Save This Page
Home » openjdk-7 » com.sun.media » sound » [javadoc | source]
com.sun.media.sound
abstract public class: AudioFloatConverter [javadoc | source]
java.lang.Object
   com.sun.media.sound.AudioFloatConverter
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.
Method from com.sun.media.sound.AudioFloatConverter Summary:
getConverter,   getFormat,   toByteArray,   toByteArray,   toByteArray,   toByteArray,   toByteArray,   toFloatArray,   toFloatArray,   toFloatArray,   toFloatArray,   toFloatArray
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.media.sound.AudioFloatConverter Detail:
 public static AudioFloatConverter getConverter(AudioFormat format) 
 public AudioFormat getFormat() 
 public byte[] toByteArray(float[] in_buff,
    byte[] out_buff) 
 public byte[] toByteArray(float[] in_buff,
    int in_len,
    byte[] out_buff) 
 public byte[] toByteArray(float[] in_buff,
    int in_len,
    byte[] out_buff,
    int out_offset) 
 public byte[] toByteArray(float[] in_buff,
    int in_offset,
    int in_len,
    byte[] out_buff) 
 abstract public byte[] toByteArray(float[] in_buff,
    int in_offset,
    int in_len,
    byte[] out_buff,
    int out_offset)
 public float[] toFloatArray(byte[] in_buff,
    float[] out_buff) 
 public float[] toFloatArray(byte[] in_buff,
    float[] out_buff,
    int out_len) 
 public float[] toFloatArray(byte[] in_buff,
    float[] out_buff,
    int out_offset,
    int out_len) 
 public float[] toFloatArray(byte[] in_buff,
    int in_offset,
    float[] out_buff,
    int out_len) 
 abstract public float[] toFloatArray(byte[] in_buff,
    int in_offset,
    float[] out_buff,
    int out_offset,
    int out_len)