Save This Page
Home » openjdk-7 » com.sun.media » sound » [javadoc | source]
com.sun.media.sound
public class: Toolkit [javadoc | source]
java.lang.Object
   com.sun.media.sound.Toolkit
Common conversions etc.
Method from com.sun.media.sound.Toolkit 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 com.sun.media.sound.Toolkit 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)