net.java.sip.communicator.impl.neomedia.codec.audio.silk
Class Silk_tables
java.lang.Object
net.java.sip.communicator.impl.neomedia.codec.audio.silk.Silk_tables
public class Silk_tables
- extends Object
|
Method Summary |
(package private) static int[] |
copyOfRange(int[] original,
int from,
int to)
Copies the specified range of the specified array into a new array. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PITCH_EST_MAX_LAG_MS
static final int PITCH_EST_MAX_LAG_MS
- See Also:
- Constant Field Values
PITCH_EST_MIN_LAG_MS
static final int PITCH_EST_MIN_LAG_MS
- See Also:
- Constant Field Values
Silk_tables
public Silk_tables()
copyOfRange
static int[] copyOfRange(int[] original,
int from,
int to)
- Copies the specified range of the specified array into a new array. The
initial index of the range (from) must lie between zero and
original.length, inclusive. The value at original[from]
is placed into the initial element of the copy (unless
from == original.length or from == to). Values from
subsequent elements in the original array are placed into subsequent
elements in the copy. The final index of the range (to), which
must be greater than or equal to from, may be greater than
original.length, in which case 0 is placed in all
elements of the copy whose index is greater than or equal to
original.length - from. The length of the returned array will be
to - from.
- Parameters:
original - the array from which a range is to be copiedfrom - the initial index of the range to be copied, inclusiveto - the final index of the range to be copied, exclusive. (This
index may lie outside the array.)
- Returns:
- a new array containing the specified range from the original
array, truncated or padded with zeros to obtain the required length
- Throws:
ArrayIndexOutOfBoundsException - if from < 0 or
from > original.length()
IllegalArgumentException - if from > to
NullPointerException - if original is null
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.