com.arunta.base.audio.codec
Class ALawDecoder
java.lang.Object
com.arunta.base.audio.codec.ALawDecoder
- All Implemented Interfaces:
- Decoder
public class ALawDecoder
- extends java.lang.Object
- implements Decoder
G.711 A-Law decoder.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALawDecoder
public ALawDecoder()
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.