Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.neomedia.codec.audio.gsm
Class GSMEncoderUtil

java.lang.Object
  extended by net.java.sip.communicator.impl.neomedia.codec.audio.gsm.GSMEncoderUtil

public class GSMEncoderUtil
extends Object

GSMEncoderUtil class

Author:
Martin Harvan, Damian Minkov

Constructor Summary
GSMEncoderUtil()
           
 
Method Summary
static void gsmEncode(boolean bigEndian, byte[] data, int offset, int length, byte[] decoded)
          Encode data to GSM.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GSMEncoderUtil

public GSMEncoderUtil()
Method Detail

gsmEncode

public static void gsmEncode(boolean bigEndian,
                             byte[] data,
                             int offset,
                             int length,
                             byte[] decoded)
Encode data to GSM.

Parameters:
bigEndian - if the data is in big endian format
data - data to encode
offset - offset
length - length of data
decoded - array of encoded data.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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