public interface JNAOpus
extends com.sun.jna.Library
| Modifier and Type | Interface and Description |
|---|---|
static class |
JNAOpus.OpusCustomDecoder
The Class OpusCustomDecoder.
|
static class |
JNAOpus.OpusCustomEncoder
The Class OpusCustomEncoder.
|
static class |
JNAOpus.OpusCustomMode
The Class OpusCustomMode.
|
static class |
JNAOpus.OpusDecoder
The Class OpusDecoder.
|
static class |
JNAOpus.OpusEncoder
The Class OpusEncoder.
|
static class |
JNAOpus.OpusMSDecoder
The Class OpusMSDecoder.
|
static class |
JNAOpus.OpusMSEncoder
The Class OpusMSEncoder.
|
static class |
JNAOpus.OpusRepacketizer
The Class OpusRepacketizer.
|
| Modifier and Type | Field and Description |
|---|---|
static JNAOpus |
INSTANCE
The Constant INSTANCE.
|
static String |
JNA_LIBRARY_NAME
The Constant JNA_LIBRARY_NAME.
|
static com.sun.jna.NativeLibrary |
JNA_NATIVE_LIB
The Constant JNA_NATIVE_LIB.
|
static int |
OPUS_ALLOC_FAIL
The Constant OPUS_ALLOC_FAIL.
|
static int |
OPUS_APPLICATION_AUDIO
The Constant OPUS_APPLICATION_AUDIO.
|
static int |
OPUS_APPLICATION_RESTRICTED_LOWDELAY
The Constant OPUS_APPLICATION_RESTRICTED_LOWDELAY.
|
static int |
OPUS_APPLICATION_VOIP
The Constant OPUS_APPLICATION_VOIP.
|
static int |
OPUS_AUTO
The Constant OPUS_AUTO.
|
static int |
OPUS_BAD_ARG
The Constant OPUS_BAD_ARG.
|
static int |
OPUS_BANDWIDTH_FULLBAND
The Constant OPUS_BANDWIDTH_FULLBAND.
|
static int |
OPUS_BANDWIDTH_MEDIUMBAND
The Constant OPUS_BANDWIDTH_MEDIUMBAND.
|
static int |
OPUS_BANDWIDTH_NARROWBAND
The Constant OPUS_BANDWIDTH_NARROWBAND.
|
static int |
OPUS_BANDWIDTH_SUPERWIDEBAND
The Constant OPUS_BANDWIDTH_SUPERWIDEBAND.
|
static int |
OPUS_BANDWIDTH_WIDEBAND
The Constant OPUS_BANDWIDTH_WIDEBAND.
|
static int |
OPUS_BITRATE_MAX
The Constant OPUS_BITRATE_MAX.
|
static int |
OPUS_BUFFER_TOO_SMALL
The Constant OPUS_BUFFER_TOO_SMALL.
|
static int |
OPUS_FRAMESIZE_10_MS
The Constant OPUS_FRAMESIZE_10_MS.
|
static int |
OPUS_FRAMESIZE_2_5_MS
The Constant OPUS_FRAMESIZE_2_5_MS.
|
static int |
OPUS_FRAMESIZE_20_MS
The Constant OPUS_FRAMESIZE_20_MS.
|
static int |
OPUS_FRAMESIZE_40_MS
The Constant OPUS_FRAMESIZE_40_MS.
|
static int |
OPUS_FRAMESIZE_5_MS
The Constant OPUS_FRAMESIZE_5_MS.
|
static int |
OPUS_FRAMESIZE_60_MS
The Constant OPUS_FRAMESIZE_60_MS.
|
static int |
OPUS_FRAMESIZE_ARG
The Constant OPUS_FRAMESIZE_ARG.
|
static int |
OPUS_GET_APPLICATION_REQUEST
The Constant OPUS_GET_APPLICATION_REQUEST.
|
static int |
OPUS_GET_BANDWIDTH_REQUEST
The Constant OPUS_GET_BANDWIDTH_REQUEST.
|
static int |
OPUS_GET_BITRATE_REQUEST
The Constant OPUS_GET_BITRATE_REQUEST.
|
static int |
OPUS_GET_COMPLEXITY_REQUEST
The Constant OPUS_GET_COMPLEXITY_REQUEST.
|
static int |
OPUS_GET_DTX_REQUEST
The Constant OPUS_GET_DTX_REQUEST.
|
static int |
OPUS_GET_EXPERT_FRAME_DURATION_REQUEST
The Constant OPUS_GET_EXPERT_FRAME_DURATION_REQUEST.
|
static int |
OPUS_GET_FINAL_RANGE_REQUEST
The Constant OPUS_GET_FINAL_RANGE_REQUEST.
|
static int |
OPUS_GET_FORCE_CHANNELS_REQUEST
The Constant OPUS_GET_FORCE_CHANNELS_REQUEST.
|
static int |
OPUS_GET_GAIN_REQUEST
The Constant OPUS_GET_GAIN_REQUEST.
|
static int |
OPUS_GET_INBAND_FEC_REQUEST
The Constant OPUS_GET_INBAND_FEC_REQUEST.
|
static int |
OPUS_GET_LAST_PACKET_DURATION_REQUEST
The Constant OPUS_GET_LAST_PACKET_DURATION_REQUEST.
|
static int |
OPUS_GET_LOOKAHEAD_REQUEST
The Constant OPUS_GET_LOOKAHEAD_REQUEST.
|
static int |
OPUS_GET_LSB_DEPTH_REQUEST
The Constant OPUS_GET_LSB_DEPTH_REQUEST.
|
static int |
OPUS_GET_MAX_BANDWIDTH_REQUEST
The Constant OPUS_GET_MAX_BANDWIDTH_REQUEST.
|
static int |
OPUS_GET_PACKET_LOSS_PERC_REQUEST
The Constant OPUS_GET_PACKET_LOSS_PERC_REQUEST.
|
static int |
OPUS_GET_PITCH_REQUEST
The Constant OPUS_GET_PITCH_REQUEST.
|
static int |
OPUS_GET_PREDICTION_DISABLED_REQUEST
The Constant OPUS_GET_PREDICTION_DISABLED_REQUEST.
|
static int |
OPUS_GET_SAMPLE_RATE_REQUEST
The Constant OPUS_GET_SAMPLE_RATE_REQUEST.
|
static int |
OPUS_GET_SIGNAL_REQUEST
The Constant OPUS_GET_SIGNAL_REQUEST.
|
static int |
OPUS_GET_VBR_CONSTRAINT_REQUEST
The Constant OPUS_GET_VBR_CONSTRAINT_REQUEST.
|
static int |
OPUS_GET_VBR_REQUEST
The Constant OPUS_GET_VBR_REQUEST.
|
static int |
OPUS_INTERNAL_ERROR
The Constant OPUS_INTERNAL_ERROR.
|
static int |
OPUS_INVALID_PACKET
The Constant OPUS_INVALID_PACKET.
|
static int |
OPUS_INVALID_STATE
The Constant OPUS_INVALID_STATE.
|
static int |
OPUS_MULTISTREAM_GET_DECODER_STATE_REQUEST
The Constant OPUS_MULTISTREAM_GET_DECODER_STATE_REQUEST.
|
static int |
OPUS_MULTISTREAM_GET_ENCODER_STATE_REQUEST
The Constant OPUS_MULTISTREAM_GET_ENCODER_STATE_REQUEST.
|
static int |
OPUS_OK
The Constant OPUS_OK.
|
static int |
OPUS_RESET_STATE
The Constant OPUS_RESET_STATE.
|
static int |
OPUS_SET_APPLICATION_REQUEST
The Constant OPUS_SET_APPLICATION_REQUEST.
|
static int |
OPUS_SET_BANDWIDTH_REQUEST
The Constant OPUS_SET_BANDWIDTH_REQUEST.
|
static int |
OPUS_SET_BITRATE_REQUEST
The Constant OPUS_SET_BITRATE_REQUEST.
|
static int |
OPUS_SET_COMPLEXITY_REQUEST
The Constant OPUS_SET_COMPLEXITY_REQUEST.
|
static int |
OPUS_SET_DTX_REQUEST
The Constant OPUS_SET_DTX_REQUEST.
|
static int |
OPUS_SET_EXPERT_FRAME_DURATION_REQUEST
The Constant OPUS_SET_EXPERT_FRAME_DURATION_REQUEST.
|
static int |
OPUS_SET_FORCE_CHANNELS_REQUEST
The Constant OPUS_SET_FORCE_CHANNELS_REQUEST.
|
static int |
OPUS_SET_GAIN_REQUEST
The Constant OPUS_SET_GAIN_REQUEST.
|
static int |
OPUS_SET_INBAND_FEC_REQUEST
The Constant OPUS_SET_INBAND_FEC_REQUEST.
|
static int |
OPUS_SET_LSB_DEPTH_REQUEST
The Constant OPUS_SET_LSB_DEPTH_REQUEST.
|
static int |
OPUS_SET_MAX_BANDWIDTH_REQUEST
The Constant OPUS_SET_MAX_BANDWIDTH_REQUEST.
|
static int |
OPUS_SET_PACKET_LOSS_PERC_REQUEST
The Constant OPUS_SET_PACKET_LOSS_PERC_REQUEST.
|
static int |
OPUS_SET_PREDICTION_DISABLED_REQUEST
The Constant OPUS_SET_PREDICTION_DISABLED_REQUEST.
|
static int |
OPUS_SET_SIGNAL_REQUEST
The Constant OPUS_SET_SIGNAL_REQUEST.
|
static int |
OPUS_SET_VBR_CONSTRAINT_REQUEST
The Constant OPUS_SET_VBR_CONSTRAINT_REQUEST.
|
static int |
OPUS_SET_VBR_REQUEST
The Constant OPUS_SET_VBR_REQUEST.
|
static int |
OPUS_SIGNAL_MUSIC
The Constant OPUS_SIGNAL_MUSIC.
|
static int |
OPUS_SIGNAL_VOICE
The Constant OPUS_SIGNAL_VOICE.
|
static int |
OPUS_UNIMPLEMENTED
The Constant OPUS_UNIMPLEMENTED.
|
| Modifier and Type | Method and Description |
|---|---|
int |
opus_custom_decode_float(com.sun.jna.ptr.PointerByReference st,
byte[] data,
int len,
FloatBuffer pcm,
int frame_size)
Opus custom decode float.
|
int |
opus_custom_decode_float(com.sun.jna.ptr.PointerByReference st,
com.sun.jna.Pointer data,
int len,
com.sun.jna.ptr.FloatByReference pcm,
int frame_size)
Opus custom decode float.
|
int |
opus_custom_decode(com.sun.jna.ptr.PointerByReference st,
byte[] data,
int len,
ShortBuffer pcm,
int frame_size)
Opus custom decode.
|
int |
opus_custom_decode(com.sun.jna.ptr.PointerByReference st,
com.sun.jna.Pointer data,
int len,
com.sun.jna.ptr.ShortByReference pcm,
int frame_size)
Opus custom decode.
|
com.sun.jna.ptr.PointerByReference |
opus_custom_decoder_create(com.sun.jna.ptr.PointerByReference mode,
int channels,
IntBuffer error)
Opus custom decoder create.
|
com.sun.jna.ptr.PointerByReference |
opus_custom_decoder_create(com.sun.jna.ptr.PointerByReference mode,
int channels,
com.sun.jna.ptr.IntByReference error)
Opus custom decoder create.
|
int |
opus_custom_decoder_ctl(com.sun.jna.ptr.PointerByReference st,
int request,
Object... varargs)
Opus custom decoder ctl.
|
void |
opus_custom_decoder_destroy(com.sun.jna.ptr.PointerByReference st)
Opus custom decoder destroy.
|
int |
opus_custom_decoder_get_size(com.sun.jna.ptr.PointerByReference mode,
int channels)
Opus custom decoder get size.
|
int |
opus_custom_decoder_init(com.sun.jna.ptr.PointerByReference st,
com.sun.jna.ptr.PointerByReference mode,
int channels)
Opus custom decoder init.
|
int |
opus_custom_encode_float(com.sun.jna.ptr.PointerByReference st,
float[] pcm,
int frame_size,
ByteBuffer compressed,
int maxCompressedBytes)
Opus custom encode float.
|
int |
opus_custom_encode_float(com.sun.jna.ptr.PointerByReference st,
com.sun.jna.ptr.FloatByReference pcm,
int frame_size,
com.sun.jna.Pointer compressed,
int maxCompressedBytes)
Opus custom encode float.
|
int |
opus_custom_encode(com.sun.jna.ptr.PointerByReference st,
ShortBuffer pcm,
int frame_size,
ByteBuffer compressed,
int maxCompressedBytes)
Opus custom encode.
|
int |
opus_custom_encode(com.sun.jna.ptr.PointerByReference st,
com.sun.jna.ptr.ShortByReference pcm,
int frame_size,
com.sun.jna.Pointer compressed,
int maxCompressedBytes)
Opus custom encode.
|
com.sun.jna.ptr.PointerByReference |
opus_custom_encoder_create(com.sun.jna.ptr.PointerByReference mode,
int channels,
IntBuffer error)
Opus custom encoder create.
|
com.sun.jna.ptr.PointerByReference |
opus_custom_encoder_create(com.sun.jna.ptr.PointerByReference mode,
int channels,
com.sun.jna.ptr.IntByReference error)
Opus custom encoder create.
|
int |
opus_custom_encoder_ctl(com.sun.jna.ptr.PointerByReference st,
int request,
Object... varargs)
Opus custom encoder ctl.
|
void |
opus_custom_encoder_destroy(com.sun.jna.ptr.PointerByReference st)
Opus custom encoder destroy.
|
int |
opus_custom_encoder_get_size(com.sun.jna.ptr.PointerByReference mode,
int channels)
Opus custom encoder get size.
|
com.sun.jna.ptr.PointerByReference |
opus_custom_mode_create(int Fs,
int frame_size,
IntBuffer error)
Opus custom mode create.
|
void |
opus_custom_mode_destroy(com.sun.jna.ptr.PointerByReference mode)
Opus custom mode destroy.
|
int |
opus_decode_float(com.sun.jna.ptr.PointerByReference st,
byte[] data,
int len,
FloatBuffer pcm,
int frame_size,
int decode_fec)
Opus decode float.
|
int |
opus_decode_float(com.sun.jna.ptr.PointerByReference st,
com.sun.jna.Pointer data,
int len,
com.sun.jna.ptr.FloatByReference pcm,
int frame_size,
int decode_fec)
Opus decode float.
|
int |
opus_decode(com.sun.jna.ptr.PointerByReference st,
byte[] data,
int len,
ShortBuffer pcm,
int frame_size,
int decode_fec)
Opus decode.
|
int |
opus_decode(com.sun.jna.ptr.PointerByReference st,
com.sun.jna.Pointer data,
int len,
com.sun.jna.ptr.ShortByReference pcm,
int frame_size,
int decode_fec)
Opus decode.
|
com.sun.jna.ptr.PointerByReference |
opus_decoder_create(int Fs,
int channels,
IntBuffer error)
Opus decoder create.
|
int |
opus_decoder_ctl(com.sun.jna.ptr.PointerByReference st,
int request,
Object... varargs)
Opus decoder ctl.
|
void |
opus_decoder_destroy(com.sun.jna.ptr.PointerByReference st)
Opus decoder destroy.
|
int |
opus_decoder_get_nb_samples(com.sun.jna.ptr.PointerByReference dec,
byte[] packet,
int len)
Opus decoder get nb samples.
|
int |
opus_decoder_get_nb_samples(com.sun.jna.ptr.PointerByReference dec,
com.sun.jna.Pointer packet,
int len)
Opus decoder get nb samples.
|
int |
opus_decoder_get_size(int channels)
Opus decoder get size.
|
int |
opus_decoder_init(com.sun.jna.ptr.PointerByReference st,
int Fs,
int channels)
Opus decoder init.
|
int |
opus_encode_float(com.sun.jna.ptr.PointerByReference st,
float[] pcm,
int frame_size,
ByteBuffer data,
int max_data_bytes)
Opus encode float.
|
int |
opus_encode_float(com.sun.jna.ptr.PointerByReference st,
com.sun.jna.ptr.FloatByReference pcm,
int frame_size,
com.sun.jna.Pointer data,
int max_data_bytes)
Opus encode float.
|
int |
opus_encode(com.sun.jna.ptr.PointerByReference st,
ShortBuffer pcm,
int frame_size,
ByteBuffer data,
int max_data_bytes)
Opus encode.
|
int |
opus_encode(com.sun.jna.ptr.PointerByReference st,
com.sun.jna.ptr.ShortByReference pcm,
int frame_size,
com.sun.jna.Pointer data,
int max_data_bytes)
Opus encode.
|
com.sun.jna.ptr.PointerByReference |
opus_encoder_create(int Fs,
int channels,
int application,
IntBuffer error)
Opus encoder create.
|
int |
opus_encoder_ctl(com.sun.jna.ptr.PointerByReference st,
int request,
Object... varargs)
Opus encoder ctl.
|
void |
opus_encoder_destroy(com.sun.jna.ptr.PointerByReference st)
Opus encoder destroy.
|
int |
opus_encoder_get_size(int channels)
Opus encoder get size.
|
int |
opus_encoder_init(com.sun.jna.ptr.PointerByReference st,
int Fs,
int channels,
int application)
Opus encoder init.
|
String |
opus_get_version_string()
Opus get version string.
|
int |
opus_multistream_decode_float(com.sun.jna.ptr.PointerByReference st,
byte[] data,
int len,
FloatBuffer pcm,
int frame_size,
int decode_fec)
Opus multistream decode float.
|
int |
opus_multistream_decode_float(com.sun.jna.ptr.PointerByReference st,
com.sun.jna.Pointer data,
int len,
com.sun.jna.ptr.FloatByReference pcm,
int frame_size,
int decode_fec)
Opus multistream decode float.
|
int |
opus_multistream_decode(com.sun.jna.ptr.PointerByReference st,
byte[] data,
int len,
ShortBuffer pcm,
int frame_size,
int decode_fec)
Opus multistream decode.
|
int |
opus_multistream_decode(com.sun.jna.ptr.PointerByReference st,
com.sun.jna.Pointer data,
int len,
com.sun.jna.ptr.ShortByReference pcm,
int frame_size,
int decode_fec)
Opus multistream decode.
|
com.sun.jna.ptr.PointerByReference |
opus_multistream_decoder_create(int Fs,
int channels,
int streams,
int coupled_streams,
byte[] mapping,
IntBuffer error)
Opus multistream decoder create.
|
int |
opus_multistream_decoder_ctl(com.sun.jna.ptr.PointerByReference st,
int request,
Object... varargs)
Opus multistream decoder ctl.
|
void |
opus_multistream_decoder_destroy(com.sun.jna.ptr.PointerByReference st)
Opus multistream decoder destroy.
|
int |
opus_multistream_decoder_get_size(int streams,
int coupled_streams)
Opus multistream decoder get size.
|
int |
opus_multistream_decoder_init(com.sun.jna.ptr.PointerByReference st,
int Fs,
int channels,
int streams,
int coupled_streams,
byte[] mapping)
Opus multistream decoder init.
|
int |
opus_multistream_decoder_init(com.sun.jna.ptr.PointerByReference st,
int Fs,
int channels,
int streams,
int coupled_streams,
com.sun.jna.Pointer mapping)
Opus multistream decoder init.
|
int |
opus_multistream_encode_float(com.sun.jna.ptr.PointerByReference st,
float[] pcm,
int frame_size,
ByteBuffer data,
int max_data_bytes)
Opus multistream encode float.
|
int |
opus_multistream_encode_float(com.sun.jna.ptr.PointerByReference st,
com.sun.jna.ptr.FloatByReference pcm,
int frame_size,
com.sun.jna.Pointer data,
int max_data_bytes)
Opus multistream encode float.
|
int |
opus_multistream_encode(com.sun.jna.ptr.PointerByReference st,
ShortBuffer pcm,
int frame_size,
ByteBuffer data,
int max_data_bytes)
Opus multistream encode.
|
int |
opus_multistream_encode(com.sun.jna.ptr.PointerByReference st,
com.sun.jna.ptr.ShortByReference pcm,
int frame_size,
com.sun.jna.Pointer data,
int max_data_bytes)
Opus multistream encode.
|
com.sun.jna.ptr.PointerByReference |
opus_multistream_encoder_create(int Fs,
int channels,
int streams,
int coupled_streams,
byte[] mapping,
int application,
IntBuffer error)
Opus multistream encoder create.
|
int |
opus_multistream_encoder_ctl(com.sun.jna.ptr.PointerByReference st,
int request,
Object... varargs)
Opus multistream encoder ctl.
|
void |
opus_multistream_encoder_destroy(com.sun.jna.ptr.PointerByReference st)
Opus multistream encoder destroy.
|
int |
opus_multistream_encoder_get_size(int streams,
int coupled_streams)
Opus multistream encoder get size.
|
int |
opus_multistream_encoder_init(com.sun.jna.ptr.PointerByReference st,
int Fs,
int channels,
int streams,
int coupled_streams,
byte[] mapping,
int application)
Opus multistream encoder init.
|
int |
opus_multistream_encoder_init(com.sun.jna.ptr.PointerByReference st,
int Fs,
int channels,
int streams,
int coupled_streams,
com.sun.jna.Pointer mapping,
int application)
Opus multistream encoder init.
|
int |
opus_multistream_packet_pad(ByteBuffer data,
int len,
int new_len,
int nb_streams)
Opus multistream packet pad.
|
int |
opus_multistream_packet_unpad(ByteBuffer data,
int len,
int nb_streams)
Opus multistream packet unpad.
|
com.sun.jna.ptr.PointerByReference |
opus_multistream_surround_encoder_create(int Fs,
int channels,
int mapping_family,
IntBuffer streams,
IntBuffer coupled_streams,
ByteBuffer mapping,
int application,
IntBuffer error)
Opus multistream surround encoder create.
|
int |
opus_multistream_surround_encoder_get_size(int channels,
int mapping_family)
Opus multistream surround encoder get size.
|
int |
opus_multistream_surround_encoder_init(com.sun.jna.ptr.PointerByReference st,
int Fs,
int channels,
int mapping_family,
IntBuffer streams,
IntBuffer coupled_streams,
ByteBuffer mapping,
int application)
Opus multistream surround encoder init.
|
int |
opus_multistream_surround_encoder_init(com.sun.jna.ptr.PointerByReference st,
int Fs,
int channels,
int mapping_family,
com.sun.jna.ptr.IntByReference streams,
com.sun.jna.ptr.IntByReference coupled_streams,
com.sun.jna.Pointer mapping,
int application)
Opus multistream surround encoder init.
|
int |
opus_packet_get_bandwidth(byte[] data)
Opus packet get bandwidth.
|
int |
opus_packet_get_nb_channels(byte[] data)
Opus packet get nb channels.
|
int |
opus_packet_get_nb_frames(byte[] packet,
int len)
Opus packet get nb frames.
|
int |
opus_packet_get_nb_samples(byte[] packet,
int len,
int Fs)
Opus packet get nb samples.
|
int |
opus_packet_get_samples_per_frame(byte[] data,
int Fs)
Opus packet get samples per frame.
|
int |
opus_packet_pad(ByteBuffer data,
int len,
int new_len)
Opus packet pad.
|
int |
opus_packet_parse(byte[] data,
int len,
ByteBuffer out_toc,
byte[] frames,
ShortBuffer size,
IntBuffer payload_offset)
Opus packet parse.
|
int |
opus_packet_unpad(ByteBuffer data,
int len)
Opus packet unpad.
|
void |
opus_pcm_soft_clip(FloatBuffer pcm,
int frame_size,
int channels,
FloatBuffer softclip_mem)
Opus pcm soft clip.
|
int |
opus_repacketizer_cat(com.sun.jna.ptr.PointerByReference rp,
byte[] data,
int len)
Opus repacketizer cat.
|
int |
opus_repacketizer_cat(com.sun.jna.ptr.PointerByReference rp,
com.sun.jna.Pointer data,
int len)
Opus repacketizer cat.
|
com.sun.jna.ptr.PointerByReference |
opus_repacketizer_create()
Opus repacketizer create.
|
void |
opus_repacketizer_destroy(com.sun.jna.ptr.PointerByReference rp)
Opus repacketizer destroy.
|
int |
opus_repacketizer_get_nb_frames(com.sun.jna.ptr.PointerByReference rp)
Opus repacketizer get nb frames.
|
int |
opus_repacketizer_get_size()
Opus repacketizer get size.
|
com.sun.jna.ptr.PointerByReference |
opus_repacketizer_init(com.sun.jna.ptr.PointerByReference rp)
Opus repacketizer init.
|
int |
opus_repacketizer_out_range(com.sun.jna.ptr.PointerByReference rp,
int begin,
int end,
ByteBuffer data,
int maxlen)
Opus repacketizer out range.
|
int |
opus_repacketizer_out_range(com.sun.jna.ptr.PointerByReference rp,
int begin,
int end,
com.sun.jna.Pointer data,
int maxlen)
Opus repacketizer out range.
|
int |
opus_repacketizer_out(com.sun.jna.ptr.PointerByReference rp,
ByteBuffer data,
int maxlen)
Opus repacketizer out.
|
int |
opus_repacketizer_out(com.sun.jna.ptr.PointerByReference rp,
com.sun.jna.Pointer data,
int maxlen)
Opus repacketizer out.
|
String |
opus_strerror(int error)
Opus strerror.
|
static final String JNA_LIBRARY_NAME
static final com.sun.jna.NativeLibrary JNA_NATIVE_LIB
static final JNAOpus INSTANCE
static final int OPUS_GET_LSB_DEPTH_REQUEST
static final int OPUS_GET_APPLICATION_REQUEST
static final int OPUS_GET_FORCE_CHANNELS_REQUEST
static final int OPUS_GET_VBR_REQUEST
static final int OPUS_GET_BANDWIDTH_REQUEST
static final int OPUS_SET_BITRATE_REQUEST
static final int OPUS_SET_BANDWIDTH_REQUEST
static final int OPUS_SIGNAL_MUSIC
static final int OPUS_RESET_STATE
static final int OPUS_FRAMESIZE_2_5_MS
static final int OPUS_GET_COMPLEXITY_REQUEST
static final int OPUS_FRAMESIZE_40_MS
static final int OPUS_SET_PACKET_LOSS_PERC_REQUEST
static final int OPUS_GET_VBR_CONSTRAINT_REQUEST
static final int OPUS_SET_INBAND_FEC_REQUEST
static final int OPUS_APPLICATION_RESTRICTED_LOWDELAY
static final int OPUS_BANDWIDTH_FULLBAND
static final int OPUS_SET_VBR_REQUEST
static final int OPUS_BANDWIDTH_SUPERWIDEBAND
static final int OPUS_SET_FORCE_CHANNELS_REQUEST
static final int OPUS_APPLICATION_VOIP
static final int OPUS_SIGNAL_VOICE
static final int OPUS_GET_FINAL_RANGE_REQUEST
static final int OPUS_BUFFER_TOO_SMALL
static final int OPUS_SET_COMPLEXITY_REQUEST
static final int OPUS_FRAMESIZE_ARG
static final int OPUS_GET_LOOKAHEAD_REQUEST
static final int OPUS_GET_INBAND_FEC_REQUEST
static final int OPUS_BITRATE_MAX
static final int OPUS_FRAMESIZE_5_MS
static final int OPUS_BAD_ARG
static final int OPUS_GET_PITCH_REQUEST
static final int OPUS_SET_SIGNAL_REQUEST
static final int OPUS_FRAMESIZE_20_MS
static final int OPUS_APPLICATION_AUDIO
static final int OPUS_GET_DTX_REQUEST
static final int OPUS_FRAMESIZE_10_MS
static final int OPUS_SET_LSB_DEPTH_REQUEST
static final int OPUS_UNIMPLEMENTED
static final int OPUS_GET_PACKET_LOSS_PERC_REQUEST
static final int OPUS_INVALID_STATE
static final int OPUS_SET_EXPERT_FRAME_DURATION_REQUEST
static final int OPUS_FRAMESIZE_60_MS
static final int OPUS_GET_BITRATE_REQUEST
static final int OPUS_INTERNAL_ERROR
static final int OPUS_SET_MAX_BANDWIDTH_REQUEST
static final int OPUS_SET_VBR_CONSTRAINT_REQUEST
static final int OPUS_GET_MAX_BANDWIDTH_REQUEST
static final int OPUS_BANDWIDTH_NARROWBAND
static final int OPUS_SET_GAIN_REQUEST
static final int OPUS_SET_PREDICTION_DISABLED_REQUEST
static final int OPUS_SET_APPLICATION_REQUEST
static final int OPUS_SET_DTX_REQUEST
static final int OPUS_BANDWIDTH_MEDIUMBAND
static final int OPUS_GET_SAMPLE_RATE_REQUEST
static final int OPUS_GET_EXPERT_FRAME_DURATION_REQUEST
static final int OPUS_AUTO
static final int OPUS_GET_SIGNAL_REQUEST
static final int OPUS_GET_LAST_PACKET_DURATION_REQUEST
static final int OPUS_GET_PREDICTION_DISABLED_REQUEST
static final int OPUS_GET_GAIN_REQUEST
static final int OPUS_BANDWIDTH_WIDEBAND
static final int OPUS_INVALID_PACKET
static final int OPUS_ALLOC_FAIL
static final int OPUS_OK
static final int OPUS_MULTISTREAM_GET_DECODER_STATE_REQUEST
static final int OPUS_MULTISTREAM_GET_ENCODER_STATE_REQUEST
int opus_encoder_get_size(int channels)
channels - the channelscom.sun.jna.ptr.PointerByReference opus_encoder_create(int Fs,
int channels,
int application,
IntBuffer error)
Fs - the fschannels - the channelsapplication - the applicationerror - the errorint opus_encoder_init(com.sun.jna.ptr.PointerByReference st,
int Fs,
int channels,
int application)
st - the stFs - the fschannels - the channelsapplication - the applicationint opus_encode(com.sun.jna.ptr.PointerByReference st,
ShortBuffer pcm,
int frame_size,
ByteBuffer data,
int max_data_bytes)
st - the stpcm - the pcmframe_size - the frame sizedata - the datamax_data_bytes - the max data bytesint opus_encode(com.sun.jna.ptr.PointerByReference st,
com.sun.jna.ptr.ShortByReference pcm,
int frame_size,
com.sun.jna.Pointer data,
int max_data_bytes)
st - the stpcm - the pcmframe_size - the frame sizedata - the datamax_data_bytes - the max data bytesint opus_encode_float(com.sun.jna.ptr.PointerByReference st,
float[] pcm,
int frame_size,
ByteBuffer data,
int max_data_bytes)
st - the stpcm - the pcmframe_size - the frame sizedata - the datamax_data_bytes - the max data bytesint opus_encode_float(com.sun.jna.ptr.PointerByReference st,
com.sun.jna.ptr.FloatByReference pcm,
int frame_size,
com.sun.jna.Pointer data,
int max_data_bytes)
st - the stpcm - the pcmframe_size - the frame sizedata - the datamax_data_bytes - the max data bytesvoid opus_encoder_destroy(com.sun.jna.ptr.PointerByReference st)
st - the stint opus_encoder_ctl(com.sun.jna.ptr.PointerByReference st,
int request,
Object... varargs)
st - the strequest - the requestvarargs - the varargsint opus_decoder_get_size(int channels)
channels - the channelscom.sun.jna.ptr.PointerByReference opus_decoder_create(int Fs,
int channels,
IntBuffer error)
Fs - the fschannels - the channelserror - the errorint opus_decoder_init(com.sun.jna.ptr.PointerByReference st,
int Fs,
int channels)
st - the stFs - the fschannels - the channelsint opus_decode(com.sun.jna.ptr.PointerByReference st,
byte[] data,
int len,
ShortBuffer pcm,
int frame_size,
int decode_fec)
st - the stdata - the datalen - the lenpcm - the pcmframe_size - the frame sizedecode_fec - the decode fecint opus_decode(com.sun.jna.ptr.PointerByReference st,
com.sun.jna.Pointer data,
int len,
com.sun.jna.ptr.ShortByReference pcm,
int frame_size,
int decode_fec)
st - the stdata - the datalen - the lenpcm - the pcmframe_size - the frame sizedecode_fec - the decode fecint opus_decode_float(com.sun.jna.ptr.PointerByReference st,
byte[] data,
int len,
FloatBuffer pcm,
int frame_size,
int decode_fec)
st - the stdata - the datalen - the lenpcm - the pcmframe_size - the frame sizedecode_fec - the decode fecint opus_decode_float(com.sun.jna.ptr.PointerByReference st,
com.sun.jna.Pointer data,
int len,
com.sun.jna.ptr.FloatByReference pcm,
int frame_size,
int decode_fec)
st - the stdata - the datalen - the lenpcm - the pcmframe_size - the frame sizedecode_fec - the decode fecint opus_decoder_ctl(com.sun.jna.ptr.PointerByReference st,
int request,
Object... varargs)
st - the strequest - the requestvarargs - the varargsvoid opus_decoder_destroy(com.sun.jna.ptr.PointerByReference st)
st - the stint opus_packet_parse(byte[] data,
int len,
ByteBuffer out_toc,
byte[] frames,
ShortBuffer size,
IntBuffer payload_offset)
data - the datalen - the lenout_toc - the out tocframes - the framessize - the sizepayload_offset - the payload offsetint opus_packet_get_bandwidth(byte[] data)
data - the dataint opus_packet_get_samples_per_frame(byte[] data,
int Fs)
data - the dataFs - the fsint opus_packet_get_nb_channels(byte[] data)
data - the dataint opus_packet_get_nb_frames(byte[] packet,
int len)
packet - the packetlen - the lenint opus_packet_get_nb_samples(byte[] packet,
int len,
int Fs)
packet - the packetlen - the lenFs - the fsint opus_decoder_get_nb_samples(com.sun.jna.ptr.PointerByReference dec,
byte[] packet,
int len)
dec - the decpacket - the packetlen - the lenint opus_decoder_get_nb_samples(com.sun.jna.ptr.PointerByReference dec,
com.sun.jna.Pointer packet,
int len)
dec - the decpacket - the packetlen - the lenvoid opus_pcm_soft_clip(FloatBuffer pcm, int frame_size, int channels, FloatBuffer softclip_mem)
pcm - the pcmframe_size - the frame sizechannels - the channelssoftclip_mem - the softclip memint opus_repacketizer_get_size()
com.sun.jna.ptr.PointerByReference opus_repacketizer_init(com.sun.jna.ptr.PointerByReference rp)
rp - the rpcom.sun.jna.ptr.PointerByReference opus_repacketizer_create()
void opus_repacketizer_destroy(com.sun.jna.ptr.PointerByReference rp)
rp - the rpint opus_repacketizer_cat(com.sun.jna.ptr.PointerByReference rp,
byte[] data,
int len)
rp - the rpdata - the datalen - the lenint opus_repacketizer_cat(com.sun.jna.ptr.PointerByReference rp,
com.sun.jna.Pointer data,
int len)
rp - the rpdata - the datalen - the lenint opus_repacketizer_out_range(com.sun.jna.ptr.PointerByReference rp,
int begin,
int end,
ByteBuffer data,
int maxlen)
rp - the rpbegin - the beginend - the enddata - the datamaxlen - the maxlenint opus_repacketizer_out_range(com.sun.jna.ptr.PointerByReference rp,
int begin,
int end,
com.sun.jna.Pointer data,
int maxlen)
rp - the rpbegin - the beginend - the enddata - the datamaxlen - the maxlenint opus_repacketizer_get_nb_frames(com.sun.jna.ptr.PointerByReference rp)
rp - the rpint opus_repacketizer_out(com.sun.jna.ptr.PointerByReference rp,
ByteBuffer data,
int maxlen)
rp - the rpdata - the datamaxlen - the maxlenint opus_repacketizer_out(com.sun.jna.ptr.PointerByReference rp,
com.sun.jna.Pointer data,
int maxlen)
rp - the rpdata - the datamaxlen - the maxlenint opus_packet_pad(ByteBuffer data, int len, int new_len)
data - the datalen - the lennew_len - the new lenint opus_packet_unpad(ByteBuffer data, int len)
data - the datalen - the lenint opus_multistream_packet_pad(ByteBuffer data, int len, int new_len, int nb_streams)
data - the datalen - the lennew_len - the new lennb_streams - the nb streamsint opus_multistream_packet_unpad(ByteBuffer data, int len, int nb_streams)
data - the datalen - the lennb_streams - the nb streamsString opus_strerror(int error)
error - the errorString opus_get_version_string()
int opus_multistream_encoder_get_size(int streams,
int coupled_streams)
streams - the streamscoupled_streams - the coupled streamsint opus_multistream_surround_encoder_get_size(int channels,
int mapping_family)
channels - the channelsmapping_family - the mapping familycom.sun.jna.ptr.PointerByReference opus_multistream_encoder_create(int Fs,
int channels,
int streams,
int coupled_streams,
byte[] mapping,
int application,
IntBuffer error)
Fs - the fschannels - the channelsstreams - the streamscoupled_streams - the coupled streamsmapping - the mappingapplication - the applicationerror - the errorcom.sun.jna.ptr.PointerByReference opus_multistream_surround_encoder_create(int Fs,
int channels,
int mapping_family,
IntBuffer streams,
IntBuffer coupled_streams,
ByteBuffer mapping,
int application,
IntBuffer error)
Fs - the fschannels - the channelsmapping_family - the mapping familystreams - the streamscoupled_streams - the coupled streamsmapping - the mappingapplication - the applicationerror - the errorint opus_multistream_encoder_init(com.sun.jna.ptr.PointerByReference st,
int Fs,
int channels,
int streams,
int coupled_streams,
byte[] mapping,
int application)
st - the stFs - the fschannels - the channelsstreams - the streamscoupled_streams - the coupled streamsmapping - the mappingapplication - the applicationint opus_multistream_encoder_init(com.sun.jna.ptr.PointerByReference st,
int Fs,
int channels,
int streams,
int coupled_streams,
com.sun.jna.Pointer mapping,
int application)
st - the stFs - the fschannels - the channelsstreams - the streamscoupled_streams - the coupled streamsmapping - the mappingapplication - the applicationint opus_multistream_surround_encoder_init(com.sun.jna.ptr.PointerByReference st,
int Fs,
int channels,
int mapping_family,
IntBuffer streams,
IntBuffer coupled_streams,
ByteBuffer mapping,
int application)
st - the stFs - the fschannels - the channelsmapping_family - the mapping familystreams - the streamscoupled_streams - the coupled streamsmapping - the mappingapplication - the applicationint opus_multistream_surround_encoder_init(com.sun.jna.ptr.PointerByReference st,
int Fs,
int channels,
int mapping_family,
com.sun.jna.ptr.IntByReference streams,
com.sun.jna.ptr.IntByReference coupled_streams,
com.sun.jna.Pointer mapping,
int application)
st - the stFs - the fschannels - the channelsmapping_family - the mapping familystreams - the streamscoupled_streams - the coupled streamsmapping - the mappingapplication - the applicationint opus_multistream_encode(com.sun.jna.ptr.PointerByReference st,
ShortBuffer pcm,
int frame_size,
ByteBuffer data,
int max_data_bytes)
st - the stpcm - the pcmframe_size - the frame sizedata - the datamax_data_bytes - the max data bytesint opus_multistream_encode(com.sun.jna.ptr.PointerByReference st,
com.sun.jna.ptr.ShortByReference pcm,
int frame_size,
com.sun.jna.Pointer data,
int max_data_bytes)
st - the stpcm - the pcmframe_size - the frame sizedata - the datamax_data_bytes - the max data bytesint opus_multistream_encode_float(com.sun.jna.ptr.PointerByReference st,
float[] pcm,
int frame_size,
ByteBuffer data,
int max_data_bytes)
st - the stpcm - the pcmframe_size - the frame sizedata - the datamax_data_bytes - the max data bytesint opus_multistream_encode_float(com.sun.jna.ptr.PointerByReference st,
com.sun.jna.ptr.FloatByReference pcm,
int frame_size,
com.sun.jna.Pointer data,
int max_data_bytes)
st - the stpcm - the pcmframe_size - the frame sizedata - the datamax_data_bytes - the max data bytesvoid opus_multistream_encoder_destroy(com.sun.jna.ptr.PointerByReference st)
st - the stint opus_multistream_encoder_ctl(com.sun.jna.ptr.PointerByReference st,
int request,
Object... varargs)
st - the strequest - the requestvarargs - the varargsint opus_multistream_decoder_get_size(int streams,
int coupled_streams)
streams - the streamscoupled_streams - the coupled streamscom.sun.jna.ptr.PointerByReference opus_multistream_decoder_create(int Fs,
int channels,
int streams,
int coupled_streams,
byte[] mapping,
IntBuffer error)
Fs - the fschannels - the channelsstreams - the streamscoupled_streams - the coupled streamsmapping - the mappingerror - the errorint opus_multistream_decoder_init(com.sun.jna.ptr.PointerByReference st,
int Fs,
int channels,
int streams,
int coupled_streams,
byte[] mapping)
st - the stFs - the fschannels - the channelsstreams - the streamscoupled_streams - the coupled streamsmapping - the mappingint opus_multistream_decoder_init(com.sun.jna.ptr.PointerByReference st,
int Fs,
int channels,
int streams,
int coupled_streams,
com.sun.jna.Pointer mapping)
st - the stFs - the fschannels - the channelsstreams - the streamscoupled_streams - the coupled streamsmapping - the mappingint opus_multistream_decode(com.sun.jna.ptr.PointerByReference st,
byte[] data,
int len,
ShortBuffer pcm,
int frame_size,
int decode_fec)
st - the stdata - the datalen - the lenpcm - the pcmframe_size - the frame sizedecode_fec - the decode fecint opus_multistream_decode(com.sun.jna.ptr.PointerByReference st,
com.sun.jna.Pointer data,
int len,
com.sun.jna.ptr.ShortByReference pcm,
int frame_size,
int decode_fec)
st - the stdata - the datalen - the lenpcm - the pcmframe_size - the frame sizedecode_fec - the decode fecint opus_multistream_decode_float(com.sun.jna.ptr.PointerByReference st,
byte[] data,
int len,
FloatBuffer pcm,
int frame_size,
int decode_fec)
st - the stdata - the datalen - the lenpcm - the pcmframe_size - the frame sizedecode_fec - the decode fecint opus_multistream_decode_float(com.sun.jna.ptr.PointerByReference st,
com.sun.jna.Pointer data,
int len,
com.sun.jna.ptr.FloatByReference pcm,
int frame_size,
int decode_fec)
st - the stdata - the datalen - the lenpcm - the pcmframe_size - the frame sizedecode_fec - the decode fecint opus_multistream_decoder_ctl(com.sun.jna.ptr.PointerByReference st,
int request,
Object... varargs)
st - the strequest - the requestvarargs - the varargsvoid opus_multistream_decoder_destroy(com.sun.jna.ptr.PointerByReference st)
st - the stcom.sun.jna.ptr.PointerByReference opus_custom_mode_create(int Fs,
int frame_size,
IntBuffer error)
Fs - the fsframe_size - the frame sizeerror - the errorvoid opus_custom_mode_destroy(com.sun.jna.ptr.PointerByReference mode)
mode - the modeint opus_custom_encoder_get_size(com.sun.jna.ptr.PointerByReference mode,
int channels)
mode - the modechannels - the channelscom.sun.jna.ptr.PointerByReference opus_custom_encoder_create(com.sun.jna.ptr.PointerByReference mode,
int channels,
IntBuffer error)
mode - the modechannels - the channelserror - the errorcom.sun.jna.ptr.PointerByReference opus_custom_encoder_create(com.sun.jna.ptr.PointerByReference mode,
int channels,
com.sun.jna.ptr.IntByReference error)
mode - the modechannels - the channelserror - the errorvoid opus_custom_encoder_destroy(com.sun.jna.ptr.PointerByReference st)
st - the stint opus_custom_encode_float(com.sun.jna.ptr.PointerByReference st,
float[] pcm,
int frame_size,
ByteBuffer compressed,
int maxCompressedBytes)
st - the stpcm - the pcmframe_size - the frame sizecompressed - the compressedmaxCompressedBytes - the max compressed bytesint opus_custom_encode_float(com.sun.jna.ptr.PointerByReference st,
com.sun.jna.ptr.FloatByReference pcm,
int frame_size,
com.sun.jna.Pointer compressed,
int maxCompressedBytes)
st - the stpcm - the pcmframe_size - the frame sizecompressed - the compressedmaxCompressedBytes - the max compressed bytesint opus_custom_encode(com.sun.jna.ptr.PointerByReference st,
ShortBuffer pcm,
int frame_size,
ByteBuffer compressed,
int maxCompressedBytes)
st - the stpcm - the pcmframe_size - the frame sizecompressed - the compressedmaxCompressedBytes - the max compressed bytesint opus_custom_encode(com.sun.jna.ptr.PointerByReference st,
com.sun.jna.ptr.ShortByReference pcm,
int frame_size,
com.sun.jna.Pointer compressed,
int maxCompressedBytes)
st - the stpcm - the pcmframe_size - the frame sizecompressed - the compressedmaxCompressedBytes - the max compressed bytesint opus_custom_encoder_ctl(com.sun.jna.ptr.PointerByReference st,
int request,
Object... varargs)
st - the strequest - the requestvarargs - the varargsint opus_custom_decoder_get_size(com.sun.jna.ptr.PointerByReference mode,
int channels)
mode - the modechannels - the channelsint opus_custom_decoder_init(com.sun.jna.ptr.PointerByReference st,
com.sun.jna.ptr.PointerByReference mode,
int channels)
st - the stmode - the modechannels - the channelscom.sun.jna.ptr.PointerByReference opus_custom_decoder_create(com.sun.jna.ptr.PointerByReference mode,
int channels,
IntBuffer error)
mode - the modechannels - the channelserror - the errorcom.sun.jna.ptr.PointerByReference opus_custom_decoder_create(com.sun.jna.ptr.PointerByReference mode,
int channels,
com.sun.jna.ptr.IntByReference error)
mode - the modechannels - the channelserror - the errorvoid opus_custom_decoder_destroy(com.sun.jna.ptr.PointerByReference st)
st - the stint opus_custom_decode_float(com.sun.jna.ptr.PointerByReference st,
byte[] data,
int len,
FloatBuffer pcm,
int frame_size)
st - the stdata - the datalen - the lenpcm - the pcmframe_size - the frame sizeint opus_custom_decode_float(com.sun.jna.ptr.PointerByReference st,
com.sun.jna.Pointer data,
int len,
com.sun.jna.ptr.FloatByReference pcm,
int frame_size)
st - the stdata - the datalen - the lenpcm - the pcmframe_size - the frame sizeint opus_custom_decode(com.sun.jna.ptr.PointerByReference st,
byte[] data,
int len,
ShortBuffer pcm,
int frame_size)
st - the stdata - the datalen - the lenpcm - the pcmframe_size - the frame sizeint opus_custom_decode(com.sun.jna.ptr.PointerByReference st,
com.sun.jna.Pointer data,
int len,
com.sun.jna.ptr.ShortByReference pcm,
int frame_size)
st - the stdata - the datalen - the lenpcm - the pcmframe_size - the frame sizeint opus_custom_decoder_ctl(com.sun.jna.ptr.PointerByReference st,
int request,
Object... varargs)
st - the strequest - the requestvarargs - the varargs