Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.neomedia.codec.audio.silk
Class Silk_decode_frame

java.lang.Object
  extended by net.java.sip.communicator.impl.neomedia.codec.audio.silk.Silk_decode_frame

public class Silk_decode_frame
extends Object

Decode frame

Author:
Jing Dai, Dingxin Xu

Constructor Summary
Silk_decode_frame()
           
 
Method Summary
(package private) static int SKP_Silk_decode_frame(SKP_Silk_decoder_state psDec, short[] pOut, int pOut_offset, short[] pN, byte[] pCode, int pCode_offset, int nBytes, int action, int[] decBytes)
          Decode frame.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Silk_decode_frame

public Silk_decode_frame()
Method Detail

SKP_Silk_decode_frame

static int SKP_Silk_decode_frame(SKP_Silk_decoder_state psDec,
                                 short[] pOut,
                                 int pOut_offset,
                                 short[] pN,
                                 byte[] pCode,
                                 int pCode_offset,
                                 int nBytes,
                                 int action,
                                 int[] decBytes)
Decode frame.

Parameters:
psDec - reference to Silk decoder state.
pOut - reference to output speech frame.
pOut_offset - offset of the valid data.
pN - reference to size of output frame.
pCode - reference to payload.
pCode_offset - offset the valid data.
nBytes - payload length.
action - action from Jitter buffer.
decBytes - Used bytes to decoder this frame.
Returns:
the returned value carries the error message. 0 indicates OK; other indicates error.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.