com.arunta.base.audio.codec
Class SPEEXDecoder

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

public class SPEEXDecoder
extends java.lang.Object
implements Decoder

SPEEX decoder.


Constructor Summary
SPEEXDecoder()
           
SPEEXDecoder(byte[] packet)
           
 
Method Summary
 int decode(byte[] dataToDecode, int bytesToDecode, byte[] output)
           
 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

SPEEXDecoder

public SPEEXDecoder()

SPEEXDecoder

public SPEEXDecoder(byte[] packet)
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[] dataToDecode,
                  int bytesToDecode,
                  byte[] output)

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.