Save This Page
Home » openjdk-7 » » sound » [javadoc | source]
public class: Toolkit [javadoc | source]
Common conversions etc.
Method from Summary:
align,   align,   bytes2micros,   bytes2millis,   dBToLinear,   frames2micros,   getByteSwapped,   getPCMConvertedAudioInputStream,   getUnsigned8,   isFullySpecifiedAudioFormat,   isFullySpecifiedPCMFormat,   linearToDB,   micros2bytes,   micros2frames,   millis2bytes
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from Detail:
 static long align(long bytes,
    int blockSize) 
 static int align(int bytes,
    int blockSize) 
 static long bytes2micros(AudioFormat format,
    long bytes) 
 static long bytes2millis(AudioFormat format,
    long bytes) 
 static float dBToLinear(float dB) 
    DB to linear scale conversion.
 static long frames2micros(AudioFormat format,
    long frames) 
 static  void getByteSwapped(byte[] b,
    int off,
    int len) 
    Swaps bytes.
 public static AudioInputStream getPCMConvertedAudioInputStream(AudioInputStream ais) 
 static  void getUnsigned8(byte[] b,
    int off,
    int len) 
    Converts bytes from signed to unsigned.
 static  void isFullySpecifiedAudioFormat(AudioFormat format) 
 static boolean isFullySpecifiedPCMFormat(AudioFormat format) 
 static float linearToDB(float linear) 
    Linear to DB scale conversion.
 static long micros2bytes(AudioFormat format,
    long micros) 
 static long micros2frames(AudioFormat format,
    long micros) 
 static long millis2bytes(AudioFormat format,
    long millis)