com.arunta.base.audio.codec
Class ULawDecoder

java.lang.Object
  extended by com.arunta.base.audio.codec.ULawDecoder
All Implemented Interfaces:
Decoder

public class ULawDecoder
extends java.lang.Object
implements Decoder

G.711 U-Law decoder.


Constructor Summary
ULawDecoder()
           
 
Method Summary
 int decode(byte[] source, int sourceOffset, int bytesToDecode, byte[] target, int targetOffset)
           
 int getChunkSize()
           
 int getExpansionFactor()
           
 java.lang.String getName()
           
static boolean isMatchingDecoder(byte[] packet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ULawDecoder

public ULawDecoder()
Method Detail

getExpansionFactor

public int getExpansionFactor()
Specified by:
getExpansionFactor in interface Decoder

getName

public java.lang.String getName()
Specified by:
getName in interface Decoder

isMatchingDecoder

public static boolean isMatchingDecoder(byte[] packet)

getChunkSize

public int getChunkSize()
Specified by:
getChunkSize in interface Decoder

decode

public int decode(byte[] source,
                  int sourceOffset,
                  int bytesToDecode,
                  byte[] target,
                  int targetOffset)
Specified by:
decode in interface Decoder


Copyright ©, 2005-2012 Prolancer Pty Ltd, Sydney Australia.