Save This Page
Home » openjdk-7 » com.sun.media » sound » [javadoc | source]
com.sun.media.sound
public class: UlawCodec [javadoc | source]
java.lang.Object
   javax.sound.sampled.spi.FormatConversionProvider
      com.sun.media.sound.SunCodec
         com.sun.media.sound.UlawCodec
U-law encodes linear data, and decodes u-law data to linear data.
Nested Class Summary:
class  UlawCodec.UlawCodecStream   
Field Summary
static final  byte[] ULAW_TABH     
static final  byte[] ULAW_TABL     
Fields inherited from com.sun.media.sound.SunCodec:
inputEncodings,  outputEncodings
Constructor:
 public UlawCodec() 
Method from com.sun.media.sound.UlawCodec Summary:
getAudioInputStream,   getAudioInputStream,   getTargetEncodings,   getTargetFormats
Methods from com.sun.media.sound.SunCodec:
getAudioInputStream,   getAudioInputStream,   getSourceEncodings,   getTargetEncodings,   getTargetEncodings,   getTargetFormats
Methods from javax.sound.sampled.spi.FormatConversionProvider:
getAudioInputStream,   getAudioInputStream,   getSourceEncodings,   getTargetEncodings,   getTargetEncodings,   getTargetFormats,   isConversionSupported,   isConversionSupported,   isSourceEncodingSupported,   isTargetEncodingSupported
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.media.sound.UlawCodec Detail:
 public AudioInputStream getAudioInputStream(Encoding targetEncoding,
    AudioInputStream sourceStream) 
 public AudioInputStream getAudioInputStream(AudioFormat targetFormat,
    AudioInputStream sourceStream) 
    use old code...
 public Encoding[] getTargetEncodings(AudioFormat sourceFormat) 
 public AudioFormat[] getTargetFormats(Encoding targetEncoding,
    AudioFormat sourceFormat)