Package org.lwjgl.util.opus
Class OpusMultistream
java.lang.Object
org.lwjgl.util.opus.OpusMultistream
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains the function pointers loaded fromOpus.getLibrary(). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionstatic intnopus_multistream_decode(long st, long data, int len, long pcm, int frame_size, int decode_fec) int opus_multistream_decode(OpusMSDecoder * st, unsigned char const * data, opus_int32 len, opus_int16 * pcm, int frame_size, int decode_fec)static intnopus_multistream_decode_float(long st, long data, int len, long pcm, int frame_size, int decode_fec) int opus_multistream_decode_float(OpusMSDecoder * st, unsigned char const * data, opus_int32 len, float * pcm, int frame_size, int decode_fec)static longnopus_multistream_decoder_create(int Fs, int channels, int streams, int coupled_streams, long mapping, long error) OpusMSDecoder * opus_multistream_decoder_create(opus_int32 Fs, int channels, int streams, int coupled_streams, unsigned char const * mapping, int * error)static intnopus_multistream_decoder_init(long st, int Fs, int channels, int streams, int coupled_streams, long mapping) int opus_multistream_decoder_init(OpusMSDecoder * st, opus_int32 Fs, int channels, int streams, int coupled_streams, unsigned char const * mapping)static intnopus_multistream_encode(long st, long pcm, int frame_size, long data, int max_data_bytes) int opus_multistream_encode(OpusMSEncoder * st, opus_int16 const * pcm, int frame_size, unsigned char * data, opus_int32 max_data_bytes)static intnopus_multistream_encode_float(long st, long pcm, int frame_size, long data, int max_data_bytes) int opus_multistream_encode_float(OpusMSEncoder * st, float const * pcm, int frame_size, unsigned char * data, opus_int32 max_data_bytes)static longnopus_multistream_encoder_create(int Fs, int channels, int streams, int coupled_streams, long mapping, int application, long error) OpusMSEncoder * opus_multistream_encoder_create(opus_int32 Fs, int channels, int streams, int coupled_streams, unsigned char const * mapping, int application, int * error)static intnopus_multistream_encoder_init(long st, int Fs, int channels, int streams, int coupled_streams, long mapping, int application) int opus_multistream_encoder_init(OpusMSEncoder * st, opus_int32 Fs, int channels, int streams, int coupled_streams, unsigned char const * mapping, int application)static longnopus_multistream_surround_encoder_create(int Fs, int channels, int mapping_family, long streams, long coupled_streams, long mapping, int application, long error) OpusMSEncoder * opus_multistream_surround_encoder_create(opus_int32 Fs, int channels, int mapping_family, int * streams, int * coupled_streams, unsigned char * mapping, int application, int * error)static intnopus_multistream_surround_encoder_init(long st, int Fs, int channels, long streams, long coupled_streams, long mapping, int application) int opus_multistream_surround_encoder_init(OpusMSEncoder * st, opus_int32 Fs, int channels, int * streams, int * coupled_streams, unsigned char const * mapping, int application)static intopus_multistream_decode(long st, @Nullable ByteBuffer data, ShortBuffer pcm, int frame_size, int decode_fec) int opus_multistream_decode(OpusMSDecoder * st, unsigned char const * data, opus_int32 len, opus_int16 * pcm, int frame_size, int decode_fec)static intopus_multistream_decode_float(long st, @Nullable ByteBuffer data, FloatBuffer pcm, int frame_size, int decode_fec) int opus_multistream_decode_float(OpusMSDecoder * st, unsigned char const * data, opus_int32 len, float * pcm, int frame_size, int decode_fec)static longopus_multistream_decoder_create(int Fs, int streams, int coupled_streams, ByteBuffer mapping, @Nullable IntBuffer error) OpusMSDecoder * opus_multistream_decoder_create(opus_int32 Fs, int channels, int streams, int coupled_streams, unsigned char const * mapping, int * error)static intopus_multistream_decoder_ctl(long st, int request) Performs a CTL function on a multistream Opus decoder.static intopus_multistream_decoder_ctl(long st, Opus.CTLRequest request) Performs a CTL function on a multistream Opus decoder.static voidopus_multistream_decoder_destroy(long st) void opus_multistream_decoder_destroy(OpusMSDecoder * st)static intopus_multistream_decoder_get_size(int streams, int coupled_streams) opus_int32 opus_multistream_decoder_get_size(int streams, int coupled_streams)static intopus_multistream_decoder_init(long st, int Fs, int streams, int coupled_streams, ByteBuffer mapping) int opus_multistream_decoder_init(OpusMSDecoder * st, opus_int32 Fs, int channels, int streams, int coupled_streams, unsigned char const * mapping)static intopus_multistream_encode(long st, ShortBuffer pcm, int frame_size, ByteBuffer data) int opus_multistream_encode(OpusMSEncoder * st, opus_int16 const * pcm, int frame_size, unsigned char * data, opus_int32 max_data_bytes)static intopus_multistream_encode_float(long st, FloatBuffer pcm, int frame_size, ByteBuffer data) int opus_multistream_encode_float(OpusMSEncoder * st, float const * pcm, int frame_size, unsigned char * data, opus_int32 max_data_bytes)static longopus_multistream_encoder_create(int Fs, int streams, int coupled_streams, ByteBuffer mapping, int application, @Nullable IntBuffer error) OpusMSEncoder * opus_multistream_encoder_create(opus_int32 Fs, int channels, int streams, int coupled_streams, unsigned char const * mapping, int application, int * error)static intopus_multistream_encoder_ctl(long st, int request) Performs a CTL function on an multistream Opus encoder.static intopus_multistream_encoder_ctl(long st, Opus.CTLRequest request) Performs a CTL function on an multistream Opus encoder.static voidopus_multistream_encoder_destroy(long st) void opus_multistream_encoder_destroy(OpusMSEncoder * st)static intopus_multistream_encoder_get_size(int streams, int coupled_streams) opus_int32 opus_multistream_encoder_get_size(int streams, int coupled_streams)static intopus_multistream_encoder_init(long st, int Fs, int streams, int coupled_streams, ByteBuffer mapping, int application) int opus_multistream_encoder_init(OpusMSEncoder * st, opus_int32 Fs, int channels, int streams, int coupled_streams, unsigned char const * mapping, int application)static longopus_multistream_surround_encoder_create(int Fs, int mapping_family, IntBuffer streams, IntBuffer coupled_streams, ByteBuffer mapping, int application, @Nullable IntBuffer error) OpusMSEncoder * opus_multistream_surround_encoder_create(opus_int32 Fs, int channels, int mapping_family, int * streams, int * coupled_streams, unsigned char * mapping, int application, int * error)static intopus_multistream_surround_encoder_get_size(int channels, int mapping_family) opus_int32 opus_multistream_surround_encoder_get_size(int channels, int mapping_family)static intopus_multistream_surround_encoder_init(long st, int Fs, IntBuffer streams, IntBuffer coupled_streams, ByteBuffer mapping, int application) int opus_multistream_surround_encoder_init(OpusMSEncoder * st, opus_int32 Fs, int channels, int * streams, int * coupled_streams, unsigned char const * mapping, int application)
-
Field Details
-
OPUS_MULTISTREAM_GET_ENCODER_STATE_REQUEST
public static final int OPUS_MULTISTREAM_GET_ENCODER_STATE_REQUEST- See Also:
-
OPUS_MULTISTREAM_GET_DECODER_STATE_REQUEST
public static final int OPUS_MULTISTREAM_GET_DECODER_STATE_REQUEST- See Also:
-
-
Method Details
-
opus_multistream_encoder_get_size
public static int opus_multistream_encoder_get_size(int streams, int coupled_streams) opus_int32 opus_multistream_encoder_get_size(int streams, int coupled_streams) -
opus_multistream_surround_encoder_get_size
public static int opus_multistream_surround_encoder_get_size(int channels, int mapping_family) opus_int32 opus_multistream_surround_encoder_get_size(int channels, int mapping_family) -
nopus_multistream_encoder_create
public static long nopus_multistream_encoder_create(int Fs, int channels, int streams, int coupled_streams, long mapping, int application, long error) OpusMSEncoder * opus_multistream_encoder_create(opus_int32 Fs, int channels, int streams, int coupled_streams, unsigned char const * mapping, int application, int * error) -
opus_multistream_encoder_create
public static long opus_multistream_encoder_create(int Fs, int streams, int coupled_streams, ByteBuffer mapping, int application, @Nullable IntBuffer error) OpusMSEncoder * opus_multistream_encoder_create(opus_int32 Fs, int channels, int streams, int coupled_streams, unsigned char const * mapping, int application, int * error) -
nopus_multistream_surround_encoder_create
public static long nopus_multistream_surround_encoder_create(int Fs, int channels, int mapping_family, long streams, long coupled_streams, long mapping, int application, long error) OpusMSEncoder * opus_multistream_surround_encoder_create(opus_int32 Fs, int channels, int mapping_family, int * streams, int * coupled_streams, unsigned char * mapping, int application, int * error) -
opus_multistream_surround_encoder_create
public static long opus_multistream_surround_encoder_create(int Fs, int mapping_family, IntBuffer streams, IntBuffer coupled_streams, ByteBuffer mapping, int application, @Nullable IntBuffer error) OpusMSEncoder * opus_multistream_surround_encoder_create(opus_int32 Fs, int channels, int mapping_family, int * streams, int * coupled_streams, unsigned char * mapping, int application, int * error) -
nopus_multistream_encoder_init
public static int nopus_multistream_encoder_init(long st, int Fs, int channels, int streams, int coupled_streams, long mapping, int application) int opus_multistream_encoder_init(OpusMSEncoder * st, opus_int32 Fs, int channels, int streams, int coupled_streams, unsigned char const * mapping, int application) -
opus_multistream_encoder_init
public static int opus_multistream_encoder_init(long st, int Fs, int streams, int coupled_streams, ByteBuffer mapping, int application) int opus_multistream_encoder_init(OpusMSEncoder * st, opus_int32 Fs, int channels, int streams, int coupled_streams, unsigned char const * mapping, int application) -
nopus_multistream_surround_encoder_init
public static int nopus_multistream_surround_encoder_init(long st, int Fs, int channels, long streams, long coupled_streams, long mapping, int application) int opus_multistream_surround_encoder_init(OpusMSEncoder * st, opus_int32 Fs, int channels, int * streams, int * coupled_streams, unsigned char const * mapping, int application) -
opus_multistream_surround_encoder_init
public static int opus_multistream_surround_encoder_init(long st, int Fs, IntBuffer streams, IntBuffer coupled_streams, ByteBuffer mapping, int application) int opus_multistream_surround_encoder_init(OpusMSEncoder * st, opus_int32 Fs, int channels, int * streams, int * coupled_streams, unsigned char const * mapping, int application) -
nopus_multistream_encode
public static int nopus_multistream_encode(long st, long pcm, int frame_size, long data, int max_data_bytes) int opus_multistream_encode(OpusMSEncoder * st, opus_int16 const * pcm, int frame_size, unsigned char * data, opus_int32 max_data_bytes) -
opus_multistream_encode
public static int opus_multistream_encode(long st, ShortBuffer pcm, int frame_size, ByteBuffer data) int opus_multistream_encode(OpusMSEncoder * st, opus_int16 const * pcm, int frame_size, unsigned char * data, opus_int32 max_data_bytes) -
nopus_multistream_encode_float
public static int nopus_multistream_encode_float(long st, long pcm, int frame_size, long data, int max_data_bytes) int opus_multistream_encode_float(OpusMSEncoder * st, float const * pcm, int frame_size, unsigned char * data, opus_int32 max_data_bytes) -
opus_multistream_encode_float
public static int opus_multistream_encode_float(long st, FloatBuffer pcm, int frame_size, ByteBuffer data) int opus_multistream_encode_float(OpusMSEncoder * st, float const * pcm, int frame_size, unsigned char * data, opus_int32 max_data_bytes) -
opus_multistream_encoder_destroy
public static void opus_multistream_encoder_destroy(long st) void opus_multistream_encoder_destroy(OpusMSEncoder * st) -
opus_multistream_decoder_get_size
public static int opus_multistream_decoder_get_size(int streams, int coupled_streams) opus_int32 opus_multistream_decoder_get_size(int streams, int coupled_streams) -
nopus_multistream_decoder_create
public static long nopus_multistream_decoder_create(int Fs, int channels, int streams, int coupled_streams, long mapping, long error) OpusMSDecoder * opus_multistream_decoder_create(opus_int32 Fs, int channels, int streams, int coupled_streams, unsigned char const * mapping, int * error) -
opus_multistream_decoder_create
public static long opus_multistream_decoder_create(int Fs, int streams, int coupled_streams, ByteBuffer mapping, @Nullable IntBuffer error) OpusMSDecoder * opus_multistream_decoder_create(opus_int32 Fs, int channels, int streams, int coupled_streams, unsigned char const * mapping, int * error) -
nopus_multistream_decoder_init
public static int nopus_multistream_decoder_init(long st, int Fs, int channels, int streams, int coupled_streams, long mapping) int opus_multistream_decoder_init(OpusMSDecoder * st, opus_int32 Fs, int channels, int streams, int coupled_streams, unsigned char const * mapping) -
opus_multistream_decoder_init
public static int opus_multistream_decoder_init(long st, int Fs, int streams, int coupled_streams, ByteBuffer mapping) int opus_multistream_decoder_init(OpusMSDecoder * st, opus_int32 Fs, int channels, int streams, int coupled_streams, unsigned char const * mapping) -
nopus_multistream_decode
public static int nopus_multistream_decode(long st, long data, int len, long pcm, int frame_size, int decode_fec) int opus_multistream_decode(OpusMSDecoder * st, unsigned char const * data, opus_int32 len, opus_int16 * pcm, int frame_size, int decode_fec) -
opus_multistream_decode
public static int opus_multistream_decode(long st, @Nullable ByteBuffer data, ShortBuffer pcm, int frame_size, int decode_fec) int opus_multistream_decode(OpusMSDecoder * st, unsigned char const * data, opus_int32 len, opus_int16 * pcm, int frame_size, int decode_fec) -
nopus_multistream_decode_float
public static int nopus_multistream_decode_float(long st, long data, int len, long pcm, int frame_size, int decode_fec) int opus_multistream_decode_float(OpusMSDecoder * st, unsigned char const * data, opus_int32 len, float * pcm, int frame_size, int decode_fec) -
opus_multistream_decode_float
public static int opus_multistream_decode_float(long st, @Nullable ByteBuffer data, FloatBuffer pcm, int frame_size, int decode_fec) int opus_multistream_decode_float(OpusMSDecoder * st, unsigned char const * data, opus_int32 len, float * pcm, int frame_size, int decode_fec) -
opus_multistream_decoder_destroy
public static void opus_multistream_decoder_destroy(long st) void opus_multistream_decoder_destroy(OpusMSDecoder * st) -
opus_multistream_encoder_ctl
public static int opus_multistream_encoder_ctl(long st, int request) Performs a CTL function on an multistream Opus encoder.- Parameters:
st- encoder staterequest- CTL request
-
opus_multistream_encoder_ctl
Performs a CTL function on an multistream Opus encoder.- Parameters:
st- encoder staterequest- CTL request
-
opus_multistream_decoder_ctl
public static int opus_multistream_decoder_ctl(long st, int request) Performs a CTL function on a multistream Opus decoder.- Parameters:
st- decoder staterequest- CTL request
-
opus_multistream_decoder_ctl
Performs a CTL function on a multistream Opus decoder.- Parameters:
st- decoder staterequest- CTL request
-