- All Implemented Interfaces:
Coder
Encodes/decodes g711 packets (A-Law). (European format)
-
Constructor Summary
Constructors
-
Method Summary
short[]
decode(byte[] encoded,
int off)
byte[]
int
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
encode
public byte[] encode(short[] samples)
- Specified by:
encode in interface Coder
-
decode
public short[] decode(byte[] encoded,
int off)
- Specified by:
decode in interface Coder
-