Class OpusFile

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

public class OpusFile extends Object
  • Field Details

  • Method Details

    • nopus_head_parse

      public static int nopus_head_parse(long _head, long _data, long _len)
      int opus_head_parse(OpusHead * _head, unsigned char const * _data, size_t _len)
    • opus_head_parse

      public static int opus_head_parse(OpusHead _head, ByteBuffer _data)
      int opus_head_parse(OpusHead * _head, unsigned char const * _data, size_t _len)
    • nopus_granule_sample

      public static long nopus_granule_sample(long _head, long _gp)
      ogg_int64_t opus_granule_sample(OpusHead const * _head, ogg_int64_t _gp)
    • opus_granule_sample

      public static long opus_granule_sample(OpusHead _head, long _gp)
      ogg_int64_t opus_granule_sample(OpusHead const * _head, ogg_int64_t _gp)
    • nopus_tags_parse

      public static int nopus_tags_parse(long _tags, long _data, long _len)
      int opus_tags_parse(OpusTags * _tags, unsigned char const * _data, size_t _len)
    • opus_tags_parse

      public static int opus_tags_parse(@Nullable OpusTags _tags, ByteBuffer _data)
      int opus_tags_parse(OpusTags * _tags, unsigned char const * _data, size_t _len)
    • nopus_tags_copy

      public static int nopus_tags_copy(long _dst, long _src)
      int opus_tags_copy(OpusTags * _dst, OpusTags const * _src)
    • opus_tags_copy

      public static int opus_tags_copy(OpusTags _dst, OpusTags _src)
      int opus_tags_copy(OpusTags * _dst, OpusTags const * _src)
    • nopus_tags_init

      public static void nopus_tags_init(long _tags)
      void opus_tags_init(OpusTags * _tags)
    • opus_tags_init

      public static void opus_tags_init(OpusTags _tags)
      void opus_tags_init(OpusTags * _tags)
    • nopus_tags_add

      public static int nopus_tags_add(long _tags, long _tag, long _value)
      int opus_tags_add(OpusTags * _tags, char const * _tag, char const * _value)
    • opus_tags_add

      public static int opus_tags_add(OpusTags _tags, ByteBuffer _tag, ByteBuffer _value)
      int opus_tags_add(OpusTags * _tags, char const * _tag, char const * _value)
    • opus_tags_add

      public static int opus_tags_add(OpusTags _tags, CharSequence _tag, CharSequence _value)
      int opus_tags_add(OpusTags * _tags, char const * _tag, char const * _value)
    • nopus_tags_add_comment

      public static int nopus_tags_add_comment(long _tags, long _comment)
      int opus_tags_add_comment(OpusTags * _tags, char const * _comment)
    • opus_tags_add_comment

      public static int opus_tags_add_comment(OpusTags _tags, ByteBuffer _comment)
      int opus_tags_add_comment(OpusTags * _tags, char const * _comment)
    • opus_tags_add_comment

      public static int opus_tags_add_comment(OpusTags _tags, CharSequence _comment)
      int opus_tags_add_comment(OpusTags * _tags, char const * _comment)
    • nopus_tags_set_binary_suffix

      public static int nopus_tags_set_binary_suffix(long _tags, long _data, int _len)
      int opus_tags_set_binary_suffix(OpusTags * _tags, unsigned char const * _data, int _len)
    • opus_tags_set_binary_suffix

      public static int opus_tags_set_binary_suffix(OpusTags _tags, @Nullable ByteBuffer _data)
      int opus_tags_set_binary_suffix(OpusTags * _tags, unsigned char const * _data, int _len)
    • nopus_tags_query

      public static long nopus_tags_query(long _tags, long _tag, int _count)
      char const * opus_tags_query(OpusTags const * _tags, char const * _tag, int _count)
    • opus_tags_query

      public static @Nullable String opus_tags_query(OpusTags _tags, ByteBuffer _tag, int _count)
      char const * opus_tags_query(OpusTags const * _tags, char const * _tag, int _count)
    • opus_tags_query

      public static @Nullable String opus_tags_query(OpusTags _tags, CharSequence _tag, int _count)
      char const * opus_tags_query(OpusTags const * _tags, char const * _tag, int _count)
    • nopus_tags_query_count

      public static int nopus_tags_query_count(long _tags, long _tag)
      int opus_tags_query_count(OpusTags const * _tags, char const * _tag)
    • opus_tags_query_count

      public static int opus_tags_query_count(OpusTags _tags, ByteBuffer _tag)
      int opus_tags_query_count(OpusTags const * _tags, char const * _tag)
    • opus_tags_query_count

      public static int opus_tags_query_count(OpusTags _tags, CharSequence _tag)
      int opus_tags_query_count(OpusTags const * _tags, char const * _tag)
    • nopus_tags_get_binary_suffix

      public static long nopus_tags_get_binary_suffix(long _tags, long _len)
      unsigned char const * opus_tags_get_binary_suffix(OpusTags const * _tags, int * _len)
    • opus_tags_get_binary_suffix

      public static @Nullable ByteBuffer opus_tags_get_binary_suffix(OpusTags _tags)
      unsigned char const * opus_tags_get_binary_suffix(OpusTags const * _tags, int * _len)
    • nopus_tags_get_album_gain

      public static int nopus_tags_get_album_gain(long _tags, long _gain_q8)
      int opus_tags_get_album_gain(OpusTags const * _tags, int * _gain_q8)
    • opus_tags_get_album_gain

      public static int opus_tags_get_album_gain(OpusTags _tags, IntBuffer _gain_q8)
      int opus_tags_get_album_gain(OpusTags const * _tags, int * _gain_q8)
    • nopus_tags_get_track_gain

      public static int nopus_tags_get_track_gain(long _tags, long _gain_q8)
      int opus_tags_get_track_gain(OpusTags const * _tags, int * _gain_q8)
    • opus_tags_get_track_gain

      public static int opus_tags_get_track_gain(OpusTags _tags, IntBuffer _gain_q8)
      int opus_tags_get_track_gain(OpusTags const * _tags, int * _gain_q8)
    • nopus_tags_clear

      public static void nopus_tags_clear(long _tags)
      void opus_tags_clear(OpusTags * _tags)
    • opus_tags_clear

      public static void opus_tags_clear(OpusTags _tags)
      void opus_tags_clear(OpusTags * _tags)
    • nopus_tagcompare

      public static int nopus_tagcompare(long _tag_name, long _comment)
      int opus_tagcompare(char const * _tag_name, char const * _comment)
    • opus_tagcompare

      public static int opus_tagcompare(ByteBuffer _tag_name, ByteBuffer _comment)
      int opus_tagcompare(char const * _tag_name, char const * _comment)
    • opus_tagcompare

      public static int opus_tagcompare(CharSequence _tag_name, CharSequence _comment)
      int opus_tagcompare(char const * _tag_name, char const * _comment)
    • nopus_tagncompare

      public static int nopus_tagncompare(long _tag_name, int _tag_len, long _comment)
      int opus_tagncompare(char const * _tag_name, int _tag_len, char const * _comment)
    • opus_tagncompare

      public static int opus_tagncompare(ByteBuffer _tag_name, ByteBuffer _comment)
      int opus_tagncompare(char const * _tag_name, int _tag_len, char const * _comment)
    • opus_tagncompare

      public static int opus_tagncompare(CharSequence _tag_name, CharSequence _comment)
      int opus_tagncompare(char const * _tag_name, int _tag_len, char const * _comment)
    • nopus_picture_tag_parse

      public static int nopus_picture_tag_parse(long _pic, long _tag)
      int opus_picture_tag_parse(OpusPictureTag * _pic, char const * _tag)
    • opus_picture_tag_parse

      public static int opus_picture_tag_parse(OpusPictureTag _pic, ByteBuffer _tag)
      int opus_picture_tag_parse(OpusPictureTag * _pic, char const * _tag)
    • opus_picture_tag_parse

      public static int opus_picture_tag_parse(OpusPictureTag _pic, CharSequence _tag)
      int opus_picture_tag_parse(OpusPictureTag * _pic, char const * _tag)
    • nopus_picture_tag_init

      public static void nopus_picture_tag_init(long _pic)
      void opus_picture_tag_init(OpusPictureTag * _pic)
    • opus_picture_tag_init

      public static void opus_picture_tag_init(OpusPictureTag _pic)
      void opus_picture_tag_init(OpusPictureTag * _pic)
    • nopus_picture_tag_clear

      public static void nopus_picture_tag_clear(long _pic)
      void opus_picture_tag_clear(OpusPictureTag * _pic)
    • opus_picture_tag_clear

      public static void opus_picture_tag_clear(OpusPictureTag _pic)
      void opus_picture_tag_clear(OpusPictureTag * _pic)
    • nop_fopen

      public static long nop_fopen(long _cb, long _path, long _mode)
      void * op_fopen(OpusFileCallbacks * _cb, char const * _path, char const * _mode)
    • op_fopen

      public static long op_fopen(OpusFileCallbacks _cb, ByteBuffer _path, ByteBuffer _mode)
      void * op_fopen(OpusFileCallbacks * _cb, char const * _path, char const * _mode)
    • op_fopen

      public static long op_fopen(OpusFileCallbacks _cb, CharSequence _path, CharSequence _mode)
      void * op_fopen(OpusFileCallbacks * _cb, char const * _path, char const * _mode)
    • nop_fdopen

      public static long nop_fdopen(long _cb, int _fd, long _mode)
      void * op_fdopen(OpusFileCallbacks * _cb, int _fd, char const * _mode)
    • op_fdopen

      public static long op_fdopen(OpusFileCallbacks _cb, int _fd, ByteBuffer _mode)
      void * op_fdopen(OpusFileCallbacks * _cb, int _fd, char const * _mode)
    • op_fdopen

      public static long op_fdopen(OpusFileCallbacks _cb, int _fd, CharSequence _mode)
      void * op_fdopen(OpusFileCallbacks * _cb, int _fd, char const * _mode)
    • nop_freopen

      public static long nop_freopen(long _cb, long _path, long _mode, long _stream)
      void * op_freopen(OpusFileCallbacks * _cb, char const * _path, char const * _mode, void * _stream)
    • op_freopen

      public static long op_freopen(OpusFileCallbacks _cb, ByteBuffer _path, ByteBuffer _mode, long _stream)
      void * op_freopen(OpusFileCallbacks * _cb, char const * _path, char const * _mode, void * _stream)
    • op_freopen

      public static long op_freopen(OpusFileCallbacks _cb, CharSequence _path, CharSequence _mode, long _stream)
      void * op_freopen(OpusFileCallbacks * _cb, char const * _path, char const * _mode, void * _stream)
    • nop_mem_stream_create

      public static long nop_mem_stream_create(long _cb, long _data, long _size)
      void * op_mem_stream_create(OpusFileCallbacks * _cb, unsigned char const * _data, size_t _size)
    • op_mem_stream_create

      public static long op_mem_stream_create(OpusFileCallbacks _cb, ByteBuffer _data)
      void * op_mem_stream_create(OpusFileCallbacks * _cb, unsigned char const * _data, size_t _size)
    • nop_test

      public static int nop_test(long _head, long _initial_data, long _initial_bytes)
      int op_test(OpusHead * _head, unsigned char const * _initial_data, size_t _initial_bytes)
    • op_test

      public static int op_test(@Nullable OpusHead _head, ByteBuffer _initial_data)
      int op_test(OpusHead * _head, unsigned char const * _initial_data, size_t _initial_bytes)
    • nop_open_file

      public static long nop_open_file(long _path, long _error)
      OggOpusFile * op_open_file(char const * _path, int * _error)
    • op_open_file

      public static long op_open_file(ByteBuffer _path, @Nullable IntBuffer _error)
      OggOpusFile * op_open_file(char const * _path, int * _error)
    • op_open_file

      public static long op_open_file(CharSequence _path, @Nullable IntBuffer _error)
      OggOpusFile * op_open_file(char const * _path, int * _error)
    • nop_open_memory

      public static long nop_open_memory(long _data, long _size, long _error)
      OggOpusFile * op_open_memory(unsigned char const * _data, size_t _size, int * _error)
    • op_open_memory

      public static long op_open_memory(ByteBuffer _data, @Nullable IntBuffer _error)
      OggOpusFile * op_open_memory(unsigned char const * _data, size_t _size, int * _error)
    • nop_open_callbacks

      public static long nop_open_callbacks(long _stream, long _cb, long _initial_data, long _initial_bytes, long _error)
      OggOpusFile * op_open_callbacks(void * _stream, OpusFileCallbacks const * _cb, unsigned char const * _initial_data, size_t _initial_bytes, int * _error)
    • op_open_callbacks

      public static long op_open_callbacks(long _stream, OpusFileCallbacks _cb, ByteBuffer _initial_data, @Nullable IntBuffer _error)
      OggOpusFile * op_open_callbacks(void * _stream, OpusFileCallbacks const * _cb, unsigned char const * _initial_data, size_t _initial_bytes, int * _error)
    • nop_test_file

      public static long nop_test_file(long _path, long _error)
      OggOpusFile * op_test_file(char const * _path, int * _error)
    • op_test_file

      public static long op_test_file(ByteBuffer _path, @Nullable IntBuffer _error)
      OggOpusFile * op_test_file(char const * _path, int * _error)
    • op_test_file

      public static long op_test_file(CharSequence _path, @Nullable IntBuffer _error)
      OggOpusFile * op_test_file(char const * _path, int * _error)
    • nop_test_memory

      public static long nop_test_memory(long _data, long _size, long _error)
      OggOpusFile * op_test_memory(unsigned char const * _data, size_t _size, int * _error)
    • op_test_memory

      public static long op_test_memory(ByteBuffer _data, @Nullable IntBuffer _error)
      OggOpusFile * op_test_memory(unsigned char const * _data, size_t _size, int * _error)
    • nop_test_callbacks

      public static long nop_test_callbacks(long _stream, long _cb, long _initial_data, long _initial_bytes, long _error)
      OggOpusFile * op_test_callbacks(void * _stream, OpusFileCallbacks const * _cb, unsigned char const * _initial_data, size_t _initial_bytes, int * _error)
    • op_test_callbacks

      public static long op_test_callbacks(long _stream, OpusFileCallbacks _cb, ByteBuffer _initial_data, @Nullable IntBuffer _error)
      OggOpusFile * op_test_callbacks(void * _stream, OpusFileCallbacks const * _cb, unsigned char const * _initial_data, size_t _initial_bytes, int * _error)
    • op_test_open

      public static int op_test_open(long _of)
      int op_test_open(OggOpusFile * _of)
    • op_free

      public static void op_free(long _of)
      void op_free(OggOpusFile * _of)
    • op_seekable

      public static boolean op_seekable(long _of)
      int op_seekable(OggOpusFile const * _of)
    • op_serialno

      public static int op_serialno(long _of, int _li)
      opus_uint32 op_serialno(OggOpusFile const * _of, int _li)
    • op_channel_count

      public static int op_channel_count(long _of, int _li)
      int op_channel_count(OggOpusFile const * _of, int _li)
    • op_raw_total

      public static long op_raw_total(long _of, int _li)
      long long op_raw_total(OggOpusFile const * _of, int _li)
    • op_pcm_total

      public static long op_pcm_total(long _of, int _li)
      ogg_int64_t op_pcm_total(OggOpusFile const * _of, int _li)
    • nop_head

      public static long nop_head(long _of, int _li)
      OpusHead const * op_head(OggOpusFile const * _of, int _li)
    • op_head

      public static @Nullable OpusHead op_head(long _of, int _li)
      OpusHead const * op_head(OggOpusFile const * _of, int _li)
    • nop_tags

      public static long nop_tags(long _of, int _li)
      OpusTags const * op_tags(OggOpusFile const * _of, int _li)
    • op_tags

      public static @Nullable OpusTags op_tags(long _of, int _li)
      OpusTags const * op_tags(OggOpusFile const * _of, int _li)
    • op_current_link

      public static int op_current_link(long _of)
      int op_current_link(OggOpusFile const * _of)
    • op_bitrate

      public static int op_bitrate(long _of, int _li)
      opus_int32 op_bitrate(OggOpusFile const * _of, int _li)
    • op_bitrate_instant

      public static int op_bitrate_instant(long _of)
      opus_int32 op_bitrate_instant(OggOpusFile * _of)
    • op_raw_tell

      public static long op_raw_tell(long _of)
      long long op_raw_tell(OggOpusFile const * _of)
    • op_pcm_tell

      public static long op_pcm_tell(long _of)
      ogg_int64_t op_pcm_tell(OggOpusFile const * _of)
    • op_raw_seek

      public static int op_raw_seek(long _of, long _byte_offset)
      int op_raw_seek(OggOpusFile * _of, long long _byte_offset)
    • op_pcm_seek

      public static int op_pcm_seek(long _of, long _pcm_offset)
      int op_pcm_seek(OggOpusFile * _of, ogg_int64_t _pcm_offset)
    • nop_set_decode_callback

      public static void nop_set_decode_callback(long _of, long _decode_cb, long _ctx)
      void op_set_decode_callback(OggOpusFile * _of, op_decode_cb_func _decode_cb, void * _ctx)
    • op_set_decode_callback

      public static void op_set_decode_callback(long _of, OPDecodeCBFuncI _decode_cb, long _ctx)
      void op_set_decode_callback(OggOpusFile * _of, op_decode_cb_func _decode_cb, void * _ctx)
    • op_set_gain_offset

      public static int op_set_gain_offset(long _of, int _gain_type, int _gain_offset_q8)
      int op_set_gain_offset(OggOpusFile * _of, int _gain_type, opus_int32 _gain_offset_q8)
    • op_set_dither_enabled

      public static void op_set_dither_enabled(long _of, boolean _enabled)
      void op_set_dither_enabled(OggOpusFile * _of, int _enabled)
    • nop_read

      public static int nop_read(long _of, long _pcm, int _buf_size, long _li)
      int op_read(OggOpusFile * _of, opus_int16 * _pcm, int _buf_size, int * _li)
    • op_read

      public static int op_read(long _of, ShortBuffer _pcm, @Nullable IntBuffer _li)
      int op_read(OggOpusFile * _of, opus_int16 * _pcm, int _buf_size, int * _li)
    • nop_read_float

      public static int nop_read_float(long _of, long _pcm, int _buf_size, long _li)
      int op_read_float(OggOpusFile * _of, float * _pcm, int _buf_size, int * _li)
    • op_read_float

      public static int op_read_float(long _of, FloatBuffer _pcm, @Nullable IntBuffer _li)
      int op_read_float(OggOpusFile * _of, float * _pcm, int _buf_size, int * _li)
    • nop_read_stereo

      public static int nop_read_stereo(long _of, long _pcm, int _buf_size)
      int op_read_stereo(OggOpusFile * _of, opus_int16 * _pcm, int _buf_size)
    • op_read_stereo

      public static int op_read_stereo(long _of, ShortBuffer _pcm)
      int op_read_stereo(OggOpusFile * _of, opus_int16 * _pcm, int _buf_size)
    • nop_read_float_stereo

      public static int nop_read_float_stereo(long _of, long _pcm, int _buf_size)
      int op_read_float_stereo(OggOpusFile * _of, float * _pcm, int _buf_size)
    • op_read_float_stereo

      public static int op_read_float_stereo(long _of, FloatBuffer _pcm)
      int op_read_float_stereo(OggOpusFile * _of, float * _pcm, int _buf_size)