Save This Page
Home » openjdk-7 » » sound » [javadoc | source]
class: AlawCodec.AlawCodecStream [javadoc | source]

All Implemented Interfaces:

Field Summary
 boolean encode    True to encode to a-law, false to decode to linear 
 AudioFormat encodeFormat     
 AudioFormat decodeFormat     
 byte[] tabByte1     
 byte[] tabByte2     
 int highByte     
 int lowByte     
Fields inherited from javax.sound.sampled.AudioInputStream:
format,  frameLength,  frameSize,  framePos
 AlawCodecStream(AudioInputStream stream,
    AudioFormat outputFormat) 
Method from$AlawCodecStream Summary:
read,   read,   read
Methods from javax.sound.sampled.AudioInputStream:
available,   close,   getFormat,   getFrameLength,   mark,   markSupported,   read,   read,   read,   reset,   skip
Methods from
available,   close,   mark,   markSupported,   read,   read,   read,   reset,   skip
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from$AlawCodecStream Detail:
 public int read() throws IOException 
    Note that this won't actually read anything; must read in two-byte units.
 public int read(byte[] b) throws IOException 
 public int read(byte[] b,
    int off,
    int len) throws IOException