Package tomp2p.opuswrapper
Interface Opus
-
- All Superinterfaces:
com.sun.jna.Library
public interface Opus extends com.sun.jna.LibraryThis is taken from https://github.com/tbocek/opus-wrapper
Slight modification to how it loads the native library.
Credit for creation of this wrapper goes to the original developer: Thomas Bocek (tbocek)Completely removed all of the javadoc in this class because it was terrible and throwing errors when gradle attempted to create javadoc for it. If you want to see the javadoc, please refer to the the original developer's Github repo.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classOpus.OpusCustomDecoderstatic classOpus.OpusCustomEncoderstatic classOpus.OpusCustomModestatic classOpus.OpusDecoderstatic classOpus.OpusEncoderstatic classOpus.OpusMSDecoderstatic classOpus.OpusMSEncoderstatic classOpus.OpusRepacketizer
-
Field Summary
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intopus_custom_decode(com.sun.jna.ptr.PointerByReference st, byte[] data, int len, java.nio.ShortBuffer pcm, int frame_size)intopus_custom_decode(com.sun.jna.ptr.PointerByReference st, com.sun.jna.Pointer data, int len, com.sun.jna.ptr.ShortByReference pcm, int frame_size)intopus_custom_decode_float(com.sun.jna.ptr.PointerByReference st, byte[] data, int len, java.nio.FloatBuffer pcm, int frame_size)intopus_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)com.sun.jna.ptr.PointerByReferenceopus_custom_decoder_create(com.sun.jna.ptr.PointerByReference mode, int channels, com.sun.jna.ptr.IntByReference error)com.sun.jna.ptr.PointerByReferenceopus_custom_decoder_create(com.sun.jna.ptr.PointerByReference mode, int channels, java.nio.IntBuffer error)intopus_custom_decoder_ctl(com.sun.jna.ptr.PointerByReference st, int request, java.lang.Object... varargs)voidopus_custom_decoder_destroy(com.sun.jna.ptr.PointerByReference st)intopus_custom_decoder_get_size(com.sun.jna.ptr.PointerByReference mode, int channels)intopus_custom_decoder_init(com.sun.jna.ptr.PointerByReference st, com.sun.jna.ptr.PointerByReference mode, int channels)intopus_custom_encode(com.sun.jna.ptr.PointerByReference st, com.sun.jna.ptr.ShortByReference pcm, int frame_size, com.sun.jna.Pointer compressed, int maxCompressedBytes)intopus_custom_encode(com.sun.jna.ptr.PointerByReference st, java.nio.ShortBuffer pcm, int frame_size, java.nio.ByteBuffer compressed, int maxCompressedBytes)intopus_custom_encode_float(com.sun.jna.ptr.PointerByReference st, float[] pcm, int frame_size, java.nio.ByteBuffer compressed, int maxCompressedBytes)intopus_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)com.sun.jna.ptr.PointerByReferenceopus_custom_encoder_create(com.sun.jna.ptr.PointerByReference mode, int channels, com.sun.jna.ptr.IntByReference error)com.sun.jna.ptr.PointerByReferenceopus_custom_encoder_create(com.sun.jna.ptr.PointerByReference mode, int channels, java.nio.IntBuffer error)intopus_custom_encoder_ctl(com.sun.jna.ptr.PointerByReference st, int request, java.lang.Object... varargs)voidopus_custom_encoder_destroy(com.sun.jna.ptr.PointerByReference st)intopus_custom_encoder_get_size(com.sun.jna.ptr.PointerByReference mode, int channels)com.sun.jna.ptr.PointerByReferenceopus_custom_mode_create(int Fs, int frame_size, java.nio.IntBuffer error)voidopus_custom_mode_destroy(com.sun.jna.ptr.PointerByReference mode)intopus_decode(com.sun.jna.ptr.PointerByReference st, byte[] data, int len, java.nio.ShortBuffer pcm, int frame_size, int decode_fec)intopus_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)intopus_decode_float(com.sun.jna.ptr.PointerByReference st, byte[] data, int len, java.nio.FloatBuffer pcm, int frame_size, int decode_fec)intopus_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)com.sun.jna.ptr.PointerByReferenceopus_decoder_create(int Fs, int channels, java.nio.IntBuffer error)intopus_decoder_ctl(com.sun.jna.ptr.PointerByReference st, int request, java.lang.Object... varargs)voidopus_decoder_destroy(com.sun.jna.ptr.PointerByReference st)intopus_decoder_get_nb_samples(com.sun.jna.ptr.PointerByReference dec, byte[] packet, int len)intopus_decoder_get_nb_samples(com.sun.jna.ptr.PointerByReference dec, com.sun.jna.Pointer packet, int len)intopus_decoder_get_size(int channels)intopus_decoder_init(com.sun.jna.ptr.PointerByReference st, int Fs, int channels)intopus_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)intopus_encode(com.sun.jna.ptr.PointerByReference st, java.nio.ShortBuffer pcm, int frame_size, java.nio.ByteBuffer data, int max_data_bytes)intopus_encode_float(com.sun.jna.ptr.PointerByReference st, float[] pcm, int frame_size, java.nio.ByteBuffer data, int max_data_bytes)intopus_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)com.sun.jna.ptr.PointerByReferenceopus_encoder_create(int Fs, int channels, int application, java.nio.IntBuffer error)intopus_encoder_ctl(com.sun.jna.ptr.PointerByReference st, int request, java.lang.Object... varargs)voidopus_encoder_destroy(com.sun.jna.ptr.PointerByReference st)intopus_encoder_get_size(int channels)intopus_encoder_init(com.sun.jna.ptr.PointerByReference st, int Fs, int channels, int application)java.lang.Stringopus_get_version_string()intopus_multistream_decode(com.sun.jna.ptr.PointerByReference st, byte[] data, int len, java.nio.ShortBuffer pcm, int frame_size, int decode_fec)intopus_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)intopus_multistream_decode_float(com.sun.jna.ptr.PointerByReference st, byte[] data, int len, java.nio.FloatBuffer pcm, int frame_size, int decode_fec)intopus_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)com.sun.jna.ptr.PointerByReferenceopus_multistream_decoder_create(int Fs, int channels, int streams, int coupled_streams, byte[] mapping, java.nio.IntBuffer error)intopus_multistream_decoder_ctl(com.sun.jna.ptr.PointerByReference st, int request, java.lang.Object... varargs)voidopus_multistream_decoder_destroy(com.sun.jna.ptr.PointerByReference st)intopus_multistream_decoder_get_size(int streams, int coupled_streams)intopus_multistream_decoder_init(com.sun.jna.ptr.PointerByReference st, int Fs, int channels, int streams, int coupled_streams, byte[] mapping)intopus_multistream_decoder_init(com.sun.jna.ptr.PointerByReference st, int Fs, int channels, int streams, int coupled_streams, com.sun.jna.Pointer mapping)intopus_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)intopus_multistream_encode(com.sun.jna.ptr.PointerByReference st, java.nio.ShortBuffer pcm, int frame_size, java.nio.ByteBuffer data, int max_data_bytes)intopus_multistream_encode_float(com.sun.jna.ptr.PointerByReference st, float[] pcm, int frame_size, java.nio.ByteBuffer data, int max_data_bytes)intopus_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)com.sun.jna.ptr.PointerByReferenceopus_multistream_encoder_create(int Fs, int channels, int streams, int coupled_streams, byte[] mapping, int application, java.nio.IntBuffer error)intopus_multistream_encoder_ctl(com.sun.jna.ptr.PointerByReference st, int request, java.lang.Object... varargs)voidopus_multistream_encoder_destroy(com.sun.jna.ptr.PointerByReference st)intopus_multistream_encoder_get_size(int streams, int coupled_streams)intopus_multistream_encoder_init(com.sun.jna.ptr.PointerByReference st, int Fs, int channels, int streams, int coupled_streams, byte[] mapping, int application)intopus_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)intopus_multistream_packet_pad(java.nio.ByteBuffer data, int len, int new_len, int nb_streams)intopus_multistream_packet_unpad(java.nio.ByteBuffer data, int len, int nb_streams)com.sun.jna.ptr.PointerByReferenceopus_multistream_surround_encoder_create(int Fs, int channels, int mapping_family, java.nio.IntBuffer streams, java.nio.IntBuffer coupled_streams, java.nio.ByteBuffer mapping, int application, java.nio.IntBuffer error)intopus_multistream_surround_encoder_get_size(int channels, int mapping_family)intopus_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)intopus_multistream_surround_encoder_init(com.sun.jna.ptr.PointerByReference st, int Fs, int channels, int mapping_family, java.nio.IntBuffer streams, java.nio.IntBuffer coupled_streams, java.nio.ByteBuffer mapping, int application)intopus_packet_get_bandwidth(byte[] data)intopus_packet_get_nb_channels(byte[] data)intopus_packet_get_nb_frames(byte[] packet, int len)intopus_packet_get_nb_samples(byte[] packet, int len, int Fs)intopus_packet_get_samples_per_frame(byte[] data, int Fs)intopus_packet_pad(java.nio.ByteBuffer data, int len, int new_len)intopus_packet_parse(byte[] data, int len, java.nio.ByteBuffer out_toc, byte[] frames, java.nio.ShortBuffer size, java.nio.IntBuffer payload_offset)intopus_packet_unpad(java.nio.ByteBuffer data, int len)voidopus_pcm_soft_clip(java.nio.FloatBuffer pcm, int frame_size, int channels, java.nio.FloatBuffer softclip_mem)intopus_repacketizer_cat(com.sun.jna.ptr.PointerByReference rp, byte[] data, int len)intopus_repacketizer_cat(com.sun.jna.ptr.PointerByReference rp, com.sun.jna.Pointer data, int len)com.sun.jna.ptr.PointerByReferenceopus_repacketizer_create()voidopus_repacketizer_destroy(com.sun.jna.ptr.PointerByReference rp)intopus_repacketizer_get_nb_frames(com.sun.jna.ptr.PointerByReference rp)intopus_repacketizer_get_size()com.sun.jna.ptr.PointerByReferenceopus_repacketizer_init(com.sun.jna.ptr.PointerByReference rp)intopus_repacketizer_out(com.sun.jna.ptr.PointerByReference rp, com.sun.jna.Pointer data, int maxlen)intopus_repacketizer_out(com.sun.jna.ptr.PointerByReference rp, java.nio.ByteBuffer data, int maxlen)intopus_repacketizer_out_range(com.sun.jna.ptr.PointerByReference rp, int begin, int end, com.sun.jna.Pointer data, int maxlen)intopus_repacketizer_out_range(com.sun.jna.ptr.PointerByReference rp, int begin, int end, java.nio.ByteBuffer data, int maxlen)java.lang.Stringopus_strerror(int error)
-
-
-
Field Detail
-
INSTANCE
static final Opus INSTANCE
-
OPUS_GET_LSB_DEPTH_REQUEST
static final int OPUS_GET_LSB_DEPTH_REQUEST
- See Also:
- Constant Field Values
-
OPUS_GET_APPLICATION_REQUEST
static final int OPUS_GET_APPLICATION_REQUEST
- See Also:
- Constant Field Values
-
OPUS_GET_FORCE_CHANNELS_REQUEST
static final int OPUS_GET_FORCE_CHANNELS_REQUEST
- See Also:
- Constant Field Values
-
OPUS_GET_VBR_REQUEST
static final int OPUS_GET_VBR_REQUEST
- See Also:
- Constant Field Values
-
OPUS_GET_BANDWIDTH_REQUEST
static final int OPUS_GET_BANDWIDTH_REQUEST
- See Also:
- Constant Field Values
-
OPUS_SET_BITRATE_REQUEST
static final int OPUS_SET_BITRATE_REQUEST
- See Also:
- Constant Field Values
-
OPUS_SET_BANDWIDTH_REQUEST
static final int OPUS_SET_BANDWIDTH_REQUEST
- See Also:
- Constant Field Values
-
OPUS_SIGNAL_MUSIC
static final int OPUS_SIGNAL_MUSIC
- See Also:
- Constant Field Values
-
OPUS_RESET_STATE
static final int OPUS_RESET_STATE
- See Also:
- Constant Field Values
-
OPUS_FRAMESIZE_2_5_MS
static final int OPUS_FRAMESIZE_2_5_MS
- See Also:
- Constant Field Values
-
OPUS_GET_COMPLEXITY_REQUEST
static final int OPUS_GET_COMPLEXITY_REQUEST
- See Also:
- Constant Field Values
-
OPUS_FRAMESIZE_40_MS
static final int OPUS_FRAMESIZE_40_MS
- See Also:
- Constant Field Values
-
OPUS_SET_PACKET_LOSS_PERC_REQUEST
static final int OPUS_SET_PACKET_LOSS_PERC_REQUEST
- See Also:
- Constant Field Values
-
OPUS_GET_VBR_CONSTRAINT_REQUEST
static final int OPUS_GET_VBR_CONSTRAINT_REQUEST
- See Also:
- Constant Field Values
-
OPUS_SET_INBAND_FEC_REQUEST
static final int OPUS_SET_INBAND_FEC_REQUEST
- See Also:
- Constant Field Values
-
OPUS_APPLICATION_RESTRICTED_LOWDELAY
static final int OPUS_APPLICATION_RESTRICTED_LOWDELAY
- See Also:
- Constant Field Values
-
OPUS_BANDWIDTH_FULLBAND
static final int OPUS_BANDWIDTH_FULLBAND
- See Also:
- Constant Field Values
-
OPUS_SET_VBR_REQUEST
static final int OPUS_SET_VBR_REQUEST
- See Also:
- Constant Field Values
-
OPUS_BANDWIDTH_SUPERWIDEBAND
static final int OPUS_BANDWIDTH_SUPERWIDEBAND
- See Also:
- Constant Field Values
-
OPUS_SET_FORCE_CHANNELS_REQUEST
static final int OPUS_SET_FORCE_CHANNELS_REQUEST
- See Also:
- Constant Field Values
-
OPUS_APPLICATION_VOIP
static final int OPUS_APPLICATION_VOIP
- See Also:
- Constant Field Values
-
OPUS_SIGNAL_VOICE
static final int OPUS_SIGNAL_VOICE
- See Also:
- Constant Field Values
-
OPUS_GET_FINAL_RANGE_REQUEST
static final int OPUS_GET_FINAL_RANGE_REQUEST
- See Also:
- Constant Field Values
-
OPUS_BUFFER_TOO_SMALL
static final int OPUS_BUFFER_TOO_SMALL
- See Also:
- Constant Field Values
-
OPUS_SET_COMPLEXITY_REQUEST
static final int OPUS_SET_COMPLEXITY_REQUEST
- See Also:
- Constant Field Values
-
OPUS_FRAMESIZE_ARG
static final int OPUS_FRAMESIZE_ARG
- See Also:
- Constant Field Values
-
OPUS_GET_LOOKAHEAD_REQUEST
static final int OPUS_GET_LOOKAHEAD_REQUEST
- See Also:
- Constant Field Values
-
OPUS_GET_INBAND_FEC_REQUEST
static final int OPUS_GET_INBAND_FEC_REQUEST
- See Also:
- Constant Field Values
-
OPUS_BITRATE_MAX
static final int OPUS_BITRATE_MAX
- See Also:
- Constant Field Values
-
OPUS_FRAMESIZE_5_MS
static final int OPUS_FRAMESIZE_5_MS
- See Also:
- Constant Field Values
-
OPUS_BAD_ARG
static final int OPUS_BAD_ARG
- See Also:
- Constant Field Values
-
OPUS_GET_PITCH_REQUEST
static final int OPUS_GET_PITCH_REQUEST
- See Also:
- Constant Field Values
-
OPUS_SET_SIGNAL_REQUEST
static final int OPUS_SET_SIGNAL_REQUEST
- See Also:
- Constant Field Values
-
OPUS_FRAMESIZE_20_MS
static final int OPUS_FRAMESIZE_20_MS
- See Also:
- Constant Field Values
-
OPUS_APPLICATION_AUDIO
static final int OPUS_APPLICATION_AUDIO
- See Also:
- Constant Field Values
-
OPUS_GET_DTX_REQUEST
static final int OPUS_GET_DTX_REQUEST
- See Also:
- Constant Field Values
-
OPUS_FRAMESIZE_10_MS
static final int OPUS_FRAMESIZE_10_MS
- See Also:
- Constant Field Values
-
OPUS_SET_LSB_DEPTH_REQUEST
static final int OPUS_SET_LSB_DEPTH_REQUEST
- See Also:
- Constant Field Values
-
OPUS_UNIMPLEMENTED
static final int OPUS_UNIMPLEMENTED
- See Also:
- Constant Field Values
-
OPUS_GET_PACKET_LOSS_PERC_REQUEST
static final int OPUS_GET_PACKET_LOSS_PERC_REQUEST
- See Also:
- Constant Field Values
-
OPUS_INVALID_STATE
static final int OPUS_INVALID_STATE
- See Also:
- Constant Field Values
-
OPUS_SET_EXPERT_FRAME_DURATION_REQUEST
static final int OPUS_SET_EXPERT_FRAME_DURATION_REQUEST
- See Also:
- Constant Field Values
-
OPUS_FRAMESIZE_60_MS
static final int OPUS_FRAMESIZE_60_MS
- See Also:
- Constant Field Values
-
OPUS_GET_BITRATE_REQUEST
static final int OPUS_GET_BITRATE_REQUEST
- See Also:
- Constant Field Values
-
OPUS_INTERNAL_ERROR
static final int OPUS_INTERNAL_ERROR
- See Also:
- Constant Field Values
-
OPUS_SET_MAX_BANDWIDTH_REQUEST
static final int OPUS_SET_MAX_BANDWIDTH_REQUEST
- See Also:
- Constant Field Values
-
OPUS_SET_VBR_CONSTRAINT_REQUEST
static final int OPUS_SET_VBR_CONSTRAINT_REQUEST
- See Also:
- Constant Field Values
-
OPUS_GET_MAX_BANDWIDTH_REQUEST
static final int OPUS_GET_MAX_BANDWIDTH_REQUEST
- See Also:
- Constant Field Values
-
OPUS_BANDWIDTH_NARROWBAND
static final int OPUS_BANDWIDTH_NARROWBAND
- See Also:
- Constant Field Values
-
OPUS_SET_GAIN_REQUEST
static final int OPUS_SET_GAIN_REQUEST
- See Also:
- Constant Field Values
-
OPUS_SET_PREDICTION_DISABLED_REQUEST
static final int OPUS_SET_PREDICTION_DISABLED_REQUEST
- See Also:
- Constant Field Values
-
OPUS_SET_APPLICATION_REQUEST
static final int OPUS_SET_APPLICATION_REQUEST
- See Also:
- Constant Field Values
-
OPUS_SET_DTX_REQUEST
static final int OPUS_SET_DTX_REQUEST
- See Also:
- Constant Field Values
-
OPUS_BANDWIDTH_MEDIUMBAND
static final int OPUS_BANDWIDTH_MEDIUMBAND
- See Also:
- Constant Field Values
-
OPUS_GET_SAMPLE_RATE_REQUEST
static final int OPUS_GET_SAMPLE_RATE_REQUEST
- See Also:
- Constant Field Values
-
OPUS_GET_EXPERT_FRAME_DURATION_REQUEST
static final int OPUS_GET_EXPERT_FRAME_DURATION_REQUEST
- See Also:
- Constant Field Values
-
OPUS_AUTO
static final int OPUS_AUTO
- See Also:
- Constant Field Values
-
OPUS_GET_SIGNAL_REQUEST
static final int OPUS_GET_SIGNAL_REQUEST
- See Also:
- Constant Field Values
-
OPUS_GET_LAST_PACKET_DURATION_REQUEST
static final int OPUS_GET_LAST_PACKET_DURATION_REQUEST
- See Also:
- Constant Field Values
-
OPUS_GET_PREDICTION_DISABLED_REQUEST
static final int OPUS_GET_PREDICTION_DISABLED_REQUEST
- See Also:
- Constant Field Values
-
OPUS_GET_GAIN_REQUEST
static final int OPUS_GET_GAIN_REQUEST
- See Also:
- Constant Field Values
-
OPUS_BANDWIDTH_WIDEBAND
static final int OPUS_BANDWIDTH_WIDEBAND
- See Also:
- Constant Field Values
-
OPUS_INVALID_PACKET
static final int OPUS_INVALID_PACKET
- See Also:
- Constant Field Values
-
OPUS_ALLOC_FAIL
static final int OPUS_ALLOC_FAIL
- See Also:
- Constant Field Values
-
OPUS_OK
static final int OPUS_OK
- See Also:
- Constant Field Values
-
OPUS_MULTISTREAM_GET_DECODER_STATE_REQUEST
static final int OPUS_MULTISTREAM_GET_DECODER_STATE_REQUEST
- See Also:
- Constant Field Values
-
OPUS_MULTISTREAM_GET_ENCODER_STATE_REQUEST
static final int OPUS_MULTISTREAM_GET_ENCODER_STATE_REQUEST
- See Also:
- Constant Field Values
-
-
Method Detail
-
opus_encoder_get_size
int opus_encoder_get_size(int channels)
-
opus_encoder_create
com.sun.jna.ptr.PointerByReference opus_encoder_create(int Fs, int channels, int application, java.nio.IntBuffer error)
-
opus_encoder_init
int opus_encoder_init(com.sun.jna.ptr.PointerByReference st, int Fs, int channels, int application)
-
opus_encode
int opus_encode(com.sun.jna.ptr.PointerByReference st, java.nio.ShortBuffer pcm, int frame_size, java.nio.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_float
int opus_encode_float(com.sun.jna.ptr.PointerByReference st, float[] pcm, int frame_size, java.nio.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_encoder_destroy
void opus_encoder_destroy(com.sun.jna.ptr.PointerByReference st)
-
opus_encoder_ctl
int opus_encoder_ctl(com.sun.jna.ptr.PointerByReference st, int request, java.lang.Object... varargs)
-
opus_decoder_get_size
int opus_decoder_get_size(int channels)
-
opus_decoder_create
com.sun.jna.ptr.PointerByReference opus_decoder_create(int Fs, int channels, java.nio.IntBuffer error)
-
opus_decoder_init
int opus_decoder_init(com.sun.jna.ptr.PointerByReference st, int Fs, int channels)
-
opus_decode
int opus_decode(com.sun.jna.ptr.PointerByReference st, byte[] data, int len, java.nio.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_float
int opus_decode_float(com.sun.jna.ptr.PointerByReference st, byte[] data, int len, java.nio.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_decoder_ctl
int opus_decoder_ctl(com.sun.jna.ptr.PointerByReference st, int request, java.lang.Object... varargs)
-
opus_decoder_destroy
void opus_decoder_destroy(com.sun.jna.ptr.PointerByReference st)
-
opus_packet_parse
int opus_packet_parse(byte[] data, int len, java.nio.ByteBuffer out_toc, byte[] frames, java.nio.ShortBuffer size, java.nio.IntBuffer payload_offset)
-
opus_packet_get_bandwidth
int opus_packet_get_bandwidth(byte[] data)
-
opus_packet_get_samples_per_frame
int opus_packet_get_samples_per_frame(byte[] data, int Fs)
-
opus_packet_get_nb_channels
int opus_packet_get_nb_channels(byte[] data)
-
opus_packet_get_nb_frames
int opus_packet_get_nb_frames(byte[] packet, int len)
-
opus_packet_get_nb_samples
int opus_packet_get_nb_samples(byte[] packet, int len, int Fs)
-
opus_decoder_get_nb_samples
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_pcm_soft_clip
void opus_pcm_soft_clip(java.nio.FloatBuffer pcm, int frame_size, int channels, java.nio.FloatBuffer softclip_mem)
-
opus_repacketizer_get_size
int opus_repacketizer_get_size()
-
opus_repacketizer_init
com.sun.jna.ptr.PointerByReference opus_repacketizer_init(com.sun.jna.ptr.PointerByReference rp)
-
opus_repacketizer_create
com.sun.jna.ptr.PointerByReference opus_repacketizer_create()
-
opus_repacketizer_destroy
void opus_repacketizer_destroy(com.sun.jna.ptr.PointerByReference rp)
-
opus_repacketizer_cat
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_out_range
int opus_repacketizer_out_range(com.sun.jna.ptr.PointerByReference rp, int begin, int end, java.nio.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_get_nb_frames
int opus_repacketizer_get_nb_frames(com.sun.jna.ptr.PointerByReference rp)
-
opus_repacketizer_out
int opus_repacketizer_out(com.sun.jna.ptr.PointerByReference rp, java.nio.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_packet_pad
int opus_packet_pad(java.nio.ByteBuffer data, int len, int new_len)
-
opus_packet_unpad
int opus_packet_unpad(java.nio.ByteBuffer data, int len)
-
opus_multistream_packet_pad
int opus_multistream_packet_pad(java.nio.ByteBuffer data, int len, int new_len, int nb_streams)
-
opus_multistream_packet_unpad
int opus_multistream_packet_unpad(java.nio.ByteBuffer data, int len, int nb_streams)
-
opus_strerror
java.lang.String opus_strerror(int error)
-
opus_get_version_string
java.lang.String opus_get_version_string()
-
opus_multistream_encoder_get_size
int opus_multistream_encoder_get_size(int streams, int coupled_streams)
-
opus_multistream_surround_encoder_get_size
int opus_multistream_surround_encoder_get_size(int channels, int mapping_family)
-
opus_multistream_encoder_create
com.sun.jna.ptr.PointerByReference opus_multistream_encoder_create(int Fs, int channels, int streams, int coupled_streams, byte[] mapping, int application, java.nio.IntBuffer error)
-
opus_multistream_surround_encoder_create
com.sun.jna.ptr.PointerByReference opus_multistream_surround_encoder_create(int Fs, int channels, int mapping_family, java.nio.IntBuffer streams, java.nio.IntBuffer coupled_streams, java.nio.ByteBuffer mapping, int application, java.nio.IntBuffer error)
-
opus_multistream_encoder_init
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_surround_encoder_init
int opus_multistream_surround_encoder_init(com.sun.jna.ptr.PointerByReference st, int Fs, int channels, int mapping_family, java.nio.IntBuffer streams, java.nio.IntBuffer coupled_streams, java.nio.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_encode
int opus_multistream_encode(com.sun.jna.ptr.PointerByReference st, java.nio.ShortBuffer pcm, int frame_size, java.nio.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_float
int opus_multistream_encode_float(com.sun.jna.ptr.PointerByReference st, float[] pcm, int frame_size, java.nio.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_encoder_destroy
void opus_multistream_encoder_destroy(com.sun.jna.ptr.PointerByReference st)
-
opus_multistream_encoder_ctl
int opus_multistream_encoder_ctl(com.sun.jna.ptr.PointerByReference st, int request, java.lang.Object... varargs)
-
opus_multistream_decoder_get_size
int opus_multistream_decoder_get_size(int streams, int coupled_streams)
-
opus_multistream_decoder_create
com.sun.jna.ptr.PointerByReference opus_multistream_decoder_create(int Fs, int channels, int streams, int coupled_streams, byte[] mapping, java.nio.IntBuffer error)
-
opus_multistream_decoder_init
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_decode
int opus_multistream_decode(com.sun.jna.ptr.PointerByReference st, byte[] data, int len, java.nio.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_float
int opus_multistream_decode_float(com.sun.jna.ptr.PointerByReference st, byte[] data, int len, java.nio.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_decoder_ctl
int opus_multistream_decoder_ctl(com.sun.jna.ptr.PointerByReference st, int request, java.lang.Object... varargs)
-
opus_multistream_decoder_destroy
void opus_multistream_decoder_destroy(com.sun.jna.ptr.PointerByReference st)
-
opus_custom_mode_create
com.sun.jna.ptr.PointerByReference opus_custom_mode_create(int Fs, int frame_size, java.nio.IntBuffer error)
-
opus_custom_mode_destroy
void opus_custom_mode_destroy(com.sun.jna.ptr.PointerByReference mode)
-
opus_custom_encoder_get_size
int opus_custom_encoder_get_size(com.sun.jna.ptr.PointerByReference mode, int channels)
-
opus_custom_encoder_create
com.sun.jna.ptr.PointerByReference opus_custom_encoder_create(com.sun.jna.ptr.PointerByReference mode, int channels, java.nio.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_destroy
void opus_custom_encoder_destroy(com.sun.jna.ptr.PointerByReference st)
-
opus_custom_encode_float
int opus_custom_encode_float(com.sun.jna.ptr.PointerByReference st, float[] pcm, int frame_size, java.nio.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
int opus_custom_encode(com.sun.jna.ptr.PointerByReference st, java.nio.ShortBuffer pcm, int frame_size, java.nio.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_encoder_ctl
int opus_custom_encoder_ctl(com.sun.jna.ptr.PointerByReference st, int request, java.lang.Object... varargs)
-
opus_custom_decoder_get_size
int opus_custom_decoder_get_size(com.sun.jna.ptr.PointerByReference mode, int channels)
-
opus_custom_decoder_init
int opus_custom_decoder_init(com.sun.jna.ptr.PointerByReference st, com.sun.jna.ptr.PointerByReference mode, int channels)
-
opus_custom_decoder_create
com.sun.jna.ptr.PointerByReference opus_custom_decoder_create(com.sun.jna.ptr.PointerByReference mode, int channels, java.nio.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_destroy
void opus_custom_decoder_destroy(com.sun.jna.ptr.PointerByReference st)
-
opus_custom_decode_float
int opus_custom_decode_float(com.sun.jna.ptr.PointerByReference st, byte[] data, int len, java.nio.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
int opus_custom_decode(com.sun.jna.ptr.PointerByReference st, byte[] data, int len, java.nio.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_decoder_ctl
int opus_custom_decoder_ctl(com.sun.jna.ptr.PointerByReference st, int request, java.lang.Object... varargs)
-
-