|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.neomedia.codec.audio.silk.Silk_resampler
public class Silk_resampler
Interface to collection of resamplers.
| Constructor Summary | |
|---|---|
Silk_resampler()
|
|
| Method Summary | |
|---|---|
(package private) static int |
gcd(int a,
int b)
Greatest common divisor. |
(package private) static int |
SKP_Silk_resampler_clear(SKP_Silk_resampler_state_struct S)
Clear the states of all resampling filters, without resetting sampling rate ratio. |
(package private) static int |
SKP_Silk_resampler_init(SKP_Silk_resampler_state_struct S,
int Fs_Hz_in,
int Fs_Hz_out)
Initialize/reset the resampler state for a given pair of input/output sampling rates. |
(package private) static int |
SKP_Silk_resampler(SKP_Silk_resampler_state_struct S,
short[] out,
int out_offset,
short[] in,
int in_offset,
int inLen)
Resampler: convert from one sampling rate to another. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Silk_resampler()
| Method Detail |
|---|
static int gcd(int a,
int b)
a - b -
static int SKP_Silk_resampler_init(SKP_Silk_resampler_state_struct S,
int Fs_Hz_in,
int Fs_Hz_out)
S - resampler state.Fs_Hz_in - Input sampling rate (Hz).Fs_Hz_out - Output sampling rate (Hz).
static int SKP_Silk_resampler_clear(SKP_Silk_resampler_state_struct S)
S - Resampler state.
static int SKP_Silk_resampler(SKP_Silk_resampler_state_struct S,
short[] out,
int out_offset,
short[] in,
int in_offset,
int inLen)
S - Resampler state.out - Output signal.out_offset - offset of vaild data.in - Input signal.in_offset - offset of valid data.inLen - Number of input samples
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||