Class OpusEnc

java.lang.Object
org.lwjgl.util.opus.OpusEnc

public class OpusEnc extends Object
  • Field Details

  • Method Details

    • ope_comments_create

      public static long ope_comments_create()
      OggOpusComments * ope_comments_create(void)
    • ope_comments_copy

      public static long ope_comments_copy(long comments)
      OggOpusComments * ope_comments_copy(OggOpusComments * comments)
    • ope_comments_destroy

      public static void ope_comments_destroy(long comments)
      void ope_comments_destroy(OggOpusComments * comments)
    • nope_comments_add

      public static int nope_comments_add(long comments, long tag, long val)
      int ope_comments_add(OggOpusComments * comments, char const * tag, char const * val)
    • ope_comments_add

      public static int ope_comments_add(long comments, ByteBuffer tag, ByteBuffer val)
      int ope_comments_add(OggOpusComments * comments, char const * tag, char const * val)
    • ope_comments_add

      public static int ope_comments_add(long comments, CharSequence tag, CharSequence val)
      int ope_comments_add(OggOpusComments * comments, char const * tag, char const * val)
    • nope_comments_add_string

      public static int nope_comments_add_string(long comments, long tag_and_val)
      int ope_comments_add_string(OggOpusComments * comments, char const * tag_and_val)
    • ope_comments_add_string

      public static int ope_comments_add_string(long comments, ByteBuffer tag_and_val)
      int ope_comments_add_string(OggOpusComments * comments, char const * tag_and_val)
    • ope_comments_add_string

      public static int ope_comments_add_string(long comments, CharSequence tag_and_val)
      int ope_comments_add_string(OggOpusComments * comments, char const * tag_and_val)
    • nope_comments_add_picture

      public static int nope_comments_add_picture(long comments, long filename, int picture_type, long description)
      int ope_comments_add_picture(OggOpusComments * comments, char const * filename, int picture_type, char const * description)
    • ope_comments_add_picture

      public static int ope_comments_add_picture(long comments, ByteBuffer filename, int picture_type, @Nullable ByteBuffer description)
      int ope_comments_add_picture(OggOpusComments * comments, char const * filename, int picture_type, char const * description)
    • ope_comments_add_picture

      public static int ope_comments_add_picture(long comments, CharSequence filename, int picture_type, @Nullable CharSequence description)
      int ope_comments_add_picture(OggOpusComments * comments, char const * filename, int picture_type, char const * description)
    • nope_comments_add_picture_from_memory

      public static int nope_comments_add_picture_from_memory(long comments, long ptr, long size, int picture_type, long description)
      int ope_comments_add_picture_from_memory(OggOpusComments * comments, char const * ptr, size_t size, int picture_type, char const * description)
    • ope_comments_add_picture_from_memory

      public static int ope_comments_add_picture_from_memory(long comments, ByteBuffer ptr, int picture_type, @Nullable ByteBuffer description)
      int ope_comments_add_picture_from_memory(OggOpusComments * comments, char const * ptr, size_t size, int picture_type, char const * description)
    • ope_comments_add_picture_from_memory

      public static int ope_comments_add_picture_from_memory(long comments, ByteBuffer ptr, int picture_type, @Nullable CharSequence description)
      int ope_comments_add_picture_from_memory(OggOpusComments * comments, char const * ptr, size_t size, int picture_type, char const * description)
    • nope_encoder_create_file

      public static long nope_encoder_create_file(long path, long comments, int rate, int channels, int family, long error)
      OggOpusEnc * ope_encoder_create_file(char const * path, OggOpusComments * comments, opus_int32 rate, int channels, int family, int * error)
    • ope_encoder_create_file

      public static long ope_encoder_create_file(ByteBuffer path, long comments, int rate, int channels, int family, @Nullable IntBuffer error)
      OggOpusEnc * ope_encoder_create_file(char const * path, OggOpusComments * comments, opus_int32 rate, int channels, int family, int * error)
    • ope_encoder_create_file

      public static long ope_encoder_create_file(CharSequence path, long comments, int rate, int channels, int family, @Nullable IntBuffer error)
      OggOpusEnc * ope_encoder_create_file(char const * path, OggOpusComments * comments, opus_int32 rate, int channels, int family, int * error)
    • nope_encoder_create_callbacks

      public static long nope_encoder_create_callbacks(long callbacks, long user_data, long comments, int rate, int channels, int family, long error)
      OggOpusEnc * ope_encoder_create_callbacks(OpusEncCallbacks const * callbacks, void * user_data, OggOpusComments * comments, opus_int32 rate, int channels, int family, int * error)
    • ope_encoder_create_callbacks

      public static long ope_encoder_create_callbacks(OpusEncCallbacks callbacks, long user_data, long comments, int rate, int channels, int family, @Nullable IntBuffer error)
      OggOpusEnc * ope_encoder_create_callbacks(OpusEncCallbacks const * callbacks, void * user_data, OggOpusComments * comments, opus_int32 rate, int channels, int family, int * error)
    • nope_encoder_create_pull

      public static long nope_encoder_create_pull(long comments, int rate, int channels, int family, long error)
      OggOpusEnc * ope_encoder_create_pull(OggOpusComments * comments, opus_int32 rate, int channels, int family, int * error)
    • ope_encoder_create_pull

      public static long ope_encoder_create_pull(long comments, int rate, int channels, int family, @Nullable IntBuffer error)
      OggOpusEnc * ope_encoder_create_pull(OggOpusComments * comments, opus_int32 rate, int channels, int family, int * error)
    • nope_encoder_deferred_init_with_mapping

      public static int nope_encoder_deferred_init_with_mapping(long enc, int family, int streams, int coupled_streams, long mapping)
      int ope_encoder_deferred_init_with_mapping(OggOpusEnc * enc, int family, int streams, int coupled_streams, unsigned char const * mapping)
    • ope_encoder_deferred_init_with_mapping

      public static int ope_encoder_deferred_init_with_mapping(long enc, int family, int streams, int coupled_streams, ByteBuffer mapping)
      int ope_encoder_deferred_init_with_mapping(OggOpusEnc * enc, int family, int streams, int coupled_streams, unsigned char const * mapping)
    • nope_encoder_write_float

      public static int nope_encoder_write_float(long enc, long pcm, int samples_per_channel)
      int ope_encoder_write_float(OggOpusEnc * enc, float const * pcm, int samples_per_channel)
    • ope_encoder_write_float

      public static int ope_encoder_write_float(long enc, FloatBuffer pcm, int samples_per_channel)
      int ope_encoder_write_float(OggOpusEnc * enc, float const * pcm, int samples_per_channel)
    • nope_encoder_write

      public static int nope_encoder_write(long enc, long pcm, int samples_per_channel)
      int ope_encoder_write(OggOpusEnc * enc, opus_int16 const * pcm, int samples_per_channel)
    • ope_encoder_write

      public static int ope_encoder_write(long enc, ShortBuffer pcm, int samples_per_channel)
      int ope_encoder_write(OggOpusEnc * enc, opus_int16 const * pcm, int samples_per_channel)
    • nope_encoder_get_page

      public static int nope_encoder_get_page(long enc, long page, long len, int flush)
      int ope_encoder_get_page(OggOpusEnc * enc, unsigned char ** page, opus_int32 * len, int flush)
    • ope_encoder_get_page

      public static boolean ope_encoder_get_page(long enc, PointerBuffer page, IntBuffer len, boolean flush)
      int ope_encoder_get_page(OggOpusEnc * enc, unsigned char ** page, opus_int32 * len, int flush)
    • ope_encoder_drain

      public static int ope_encoder_drain(long enc)
      int ope_encoder_drain(OggOpusEnc * enc)
    • ope_encoder_destroy

      public static void ope_encoder_destroy(long enc)
      void ope_encoder_destroy(OggOpusEnc * enc)
    • ope_encoder_chain_current

      public static int ope_encoder_chain_current(long enc, long comments)
      int ope_encoder_chain_current(OggOpusEnc * enc, OggOpusComments * comments)
    • nope_encoder_continue_new_file

      public static int nope_encoder_continue_new_file(long enc, long path, long comments)
      int ope_encoder_continue_new_file(OggOpusEnc * enc, char const * path, OggOpusComments * comments)
    • ope_encoder_continue_new_file

      public static int ope_encoder_continue_new_file(long enc, ByteBuffer path, long comments)
      int ope_encoder_continue_new_file(OggOpusEnc * enc, char const * path, OggOpusComments * comments)
    • ope_encoder_continue_new_file

      public static int ope_encoder_continue_new_file(long enc, CharSequence path, long comments)
      int ope_encoder_continue_new_file(OggOpusEnc * enc, char const * path, OggOpusComments * comments)
    • ope_encoder_continue_new_callbacks

      public static int ope_encoder_continue_new_callbacks(long enc, long user_data, long comments)
      int ope_encoder_continue_new_callbacks(OggOpusEnc * enc, void * user_data, OggOpusComments * comments)
    • ope_encoder_flush_header

      public static int ope_encoder_flush_header(long enc)
      int ope_encoder_flush_header(OggOpusEnc * enc)
    • nope_strerror

      public static long nope_strerror(int error)
      char const * ope_strerror(int error)
    • ope_strerror

      public static @Nullable String ope_strerror(int error)
      char const * ope_strerror(int error)
    • nope_get_version_string

      public static long nope_get_version_string()
      char const * ope_get_version_string(void)
    • ope_get_version_string

      public static @Nullable String ope_get_version_string()
      char const * ope_get_version_string(void)
    • ope_get_abi_version

      public static int ope_get_abi_version()
      int ope_get_abi_version(void)
    • ope_encoder_ctl

      public static int ope_encoder_ctl(long enc, int request)
      Sets encoder options.
      Parameters:
      enc - encoder
      request - use a request macro
      Returns:
      error code
    • ope_encoder_ctl

      public static int ope_encoder_ctl(long enc, Opus.CTLRequest request)
      Sets encoder options.
      Parameters:
      enc - encoder
      request - use a request macro
      Returns:
      error code
    • OPE_SET_DECISION_DELAY_REQUEST

      public static Opus.CTLRequest OPE_SET_DECISION_DELAY_REQUEST(int value)
    • OPE_GET_DECISION_DELAY_REQUEST

      public static Opus.CTLRequest OPE_GET_DECISION_DELAY_REQUEST(IntBuffer __result)
    • OPE_SET_MUXING_DELAY_REQUEST

      public static Opus.CTLRequest OPE_SET_MUXING_DELAY_REQUEST(int value)
    • OPE_GET_MUXING_DELAY_REQUEST

      public static Opus.CTLRequest OPE_GET_MUXING_DELAY_REQUEST(IntBuffer __result)
    • OPE_SET_COMMENT_PADDING_REQUEST

      public static Opus.CTLRequest OPE_SET_COMMENT_PADDING_REQUEST(int value)
    • OPE_GET_COMMENT_PADDING_REQUEST

      public static Opus.CTLRequest OPE_GET_COMMENT_PADDING_REQUEST(IntBuffer __result)
    • OPE_SET_SERIALNO_REQUEST

      public static Opus.CTLRequest OPE_SET_SERIALNO_REQUEST(int value)
    • OPE_GET_SERIALNO_REQUEST

      public static Opus.CTLRequest OPE_GET_SERIALNO_REQUEST(IntBuffer __result)
    • OPE_SET_PACKET_CALLBACK_REQUEST

      public static Opus.CTLRequest OPE_SET_PACKET_CALLBACK_REQUEST(OPEPacketFuncI value)
    • OPE_SET_HEADER_GAIN_REQUEST

      public static Opus.CTLRequest OPE_SET_HEADER_GAIN_REQUEST(int value)
    • OPE_GET_HEADER_GAIN_REQUEST

      public static Opus.CTLRequest OPE_GET_HEADER_GAIN_REQUEST(IntBuffer __result)
    • OPE_GET_NB_STREAMS_REQUEST

      public static Opus.CTLRequest OPE_GET_NB_STREAMS_REQUEST(IntBuffer __result)
    • OPE_GET_NB_COUPLED_STREAMS_REQUEST

      public static Opus.CTLRequest OPE_GET_NB_COUPLED_STREAMS_REQUEST(IntBuffer __result)