Package org.lwjgl.stb

Class STBVorbis

java.lang.Object
org.lwjgl.stb.STBVorbis

public class STBVorbis extends Object
  • Field Details

    • VORBIS__no_error

      public static final int VORBIS__no_error
      See Also:
    • VORBIS_need_more_data

      public static final int VORBIS_need_more_data
      See Also:
    • VORBIS_invalid_api_mixing

      public static final int VORBIS_invalid_api_mixing
      See Also:
    • VORBIS_outofmem

      public static final int VORBIS_outofmem
      See Also:
    • VORBIS_feature_not_supported

      public static final int VORBIS_feature_not_supported
      See Also:
    • VORBIS_too_many_channels

      public static final int VORBIS_too_many_channels
      See Also:
    • VORBIS_file_open_failure

      public static final int VORBIS_file_open_failure
      See Also:
    • VORBIS_seek_without_length

      public static final int VORBIS_seek_without_length
      See Also:
    • VORBIS_unexpected_eof

      public static final int VORBIS_unexpected_eof
      See Also:
    • VORBIS_seek_invalid

      public static final int VORBIS_seek_invalid
      See Also:
    • VORBIS_invalid_setup

      public static final int VORBIS_invalid_setup
      See Also:
    • VORBIS_invalid_stream

      public static final int VORBIS_invalid_stream
      See Also:
    • VORBIS_missing_capture_pattern

      public static final int VORBIS_missing_capture_pattern
      See Also:
    • VORBIS_invalid_stream_structure_version

      public static final int VORBIS_invalid_stream_structure_version
      See Also:
    • VORBIS_continued_packet_flag_invalid

      public static final int VORBIS_continued_packet_flag_invalid
      See Also:
    • VORBIS_incorrect_stream_serial_number

      public static final int VORBIS_incorrect_stream_serial_number
      See Also:
    • VORBIS_invalid_first_page

      public static final int VORBIS_invalid_first_page
      See Also:
    • VORBIS_bad_packet_type

      public static final int VORBIS_bad_packet_type
      See Also:
    • VORBIS_cant_find_last_page

      public static final int VORBIS_cant_find_last_page
      See Also:
    • VORBIS_seek_failed

      public static final int VORBIS_seek_failed
      See Also:
    • VORBIS_ogg_skeleton_not_supported

      public static final int VORBIS_ogg_skeleton_not_supported
      See Also:
  • Method Details

    • nstb_vorbis_get_info

      public static void nstb_vorbis_get_info(long f, long __result)
      stb_vorbis_info stb_vorbis_get_info(stb_vorbis * f)
    • stb_vorbis_get_info

      public static STBVorbisInfo stb_vorbis_get_info(long f, STBVorbisInfo __result)
      stb_vorbis_info stb_vorbis_get_info(stb_vorbis * f)
    • nstb_vorbis_get_comment

      public static void nstb_vorbis_get_comment(long f, long __result)
      stb_vorbis_comment stb_vorbis_get_comment(stb_vorbis * f)
    • stb_vorbis_get_comment

      public static STBVorbisComment stb_vorbis_get_comment(long f, STBVorbisComment __result)
      stb_vorbis_comment stb_vorbis_get_comment(stb_vorbis * f)
    • nstb_vorbis_get_error

      public static int nstb_vorbis_get_error(long f)
      int stb_vorbis_get_error(stb_vorbis * f)
    • stb_vorbis_get_error

      public static int stb_vorbis_get_error(long f)
      int stb_vorbis_get_error(stb_vorbis * f)
    • nstb_vorbis_close

      public static void nstb_vorbis_close(long f)
      void stb_vorbis_close(stb_vorbis * f)
    • stb_vorbis_close

      public static void stb_vorbis_close(long f)
      void stb_vorbis_close(stb_vorbis * f)
    • nstb_vorbis_get_sample_offset

      public static int nstb_vorbis_get_sample_offset(long f)
      int stb_vorbis_get_sample_offset(stb_vorbis * f)
    • stb_vorbis_get_sample_offset

      public static int stb_vorbis_get_sample_offset(long f)
      int stb_vorbis_get_sample_offset(stb_vorbis * f)
    • nstb_vorbis_get_file_offset

      public static int nstb_vorbis_get_file_offset(long f)
      unsigned int stb_vorbis_get_file_offset(stb_vorbis * f)
    • stb_vorbis_get_file_offset

      public static int stb_vorbis_get_file_offset(long f)
      unsigned int stb_vorbis_get_file_offset(stb_vorbis * f)
    • nstb_vorbis_open_pushdata

      public static long nstb_vorbis_open_pushdata(long datablock, int datablock_length_in_bytes, long datablock_memory_consumed_in_bytes, long error, long alloc_buffer)
      stb_vorbis * stb_vorbis_open_pushdata(unsigned char const * datablock, int datablock_length_in_bytes, int * datablock_memory_consumed_in_bytes, int * error, stb_vorbis_alloc const * alloc_buffer)
    • stb_vorbis_open_pushdata

      public static long stb_vorbis_open_pushdata(ByteBuffer datablock, IntBuffer datablock_memory_consumed_in_bytes, IntBuffer error, @Nullable STBVorbisAlloc alloc_buffer)
      stb_vorbis * stb_vorbis_open_pushdata(unsigned char const * datablock, int datablock_length_in_bytes, int * datablock_memory_consumed_in_bytes, int * error, stb_vorbis_alloc const * alloc_buffer)
    • nstb_vorbis_decode_frame_pushdata

      public static int nstb_vorbis_decode_frame_pushdata(long f, long datablock, int datablock_length_in_bytes, long channels, long output, long samples)
      int stb_vorbis_decode_frame_pushdata(stb_vorbis * f, unsigned char const * datablock, int datablock_length_in_bytes, int * channels, float *** output, int * samples)
    • stb_vorbis_decode_frame_pushdata

      public static int stb_vorbis_decode_frame_pushdata(long f, ByteBuffer datablock, @Nullable IntBuffer channels, PointerBuffer output, IntBuffer samples)
      int stb_vorbis_decode_frame_pushdata(stb_vorbis * f, unsigned char const * datablock, int datablock_length_in_bytes, int * channels, float *** output, int * samples)
    • nstb_vorbis_flush_pushdata

      public static void nstb_vorbis_flush_pushdata(long f)
      void stb_vorbis_flush_pushdata(stb_vorbis * f)
    • stb_vorbis_flush_pushdata

      public static void stb_vorbis_flush_pushdata(long f)
      void stb_vorbis_flush_pushdata(stb_vorbis * f)
    • nstb_vorbis_decode_filename

      public static int nstb_vorbis_decode_filename(long filename, long channels, long sample_rate, long output)
      int stb_vorbis_decode_filename(char const * filename, int * channels, int * sample_rate, short ** output)
    • stb_vorbis_decode_filename

      public static int stb_vorbis_decode_filename(ByteBuffer filename, IntBuffer channels, IntBuffer sample_rate, PointerBuffer output)
      int stb_vorbis_decode_filename(char const * filename, int * channels, int * sample_rate, short ** output)
    • stb_vorbis_decode_filename

      public static int stb_vorbis_decode_filename(CharSequence filename, IntBuffer channels, IntBuffer sample_rate, PointerBuffer output)
      int stb_vorbis_decode_filename(char const * filename, int * channels, int * sample_rate, short ** output)
    • stb_vorbis_decode_filename

      public static @Nullable ShortBuffer stb_vorbis_decode_filename(CharSequence filename, IntBuffer channels, IntBuffer sample_rate)
      int stb_vorbis_decode_filename(char const * filename, int * channels, int * sample_rate, short ** output)
    • nstb_vorbis_decode_memory

      public static int nstb_vorbis_decode_memory(long mem, int len, long channels, long sample_rate, long output)
      int stb_vorbis_decode_memory(unsigned char const * mem, int len, int * channels, int * sample_rate, short ** output)
    • stb_vorbis_decode_memory

      public static int stb_vorbis_decode_memory(ByteBuffer mem, IntBuffer channels, IntBuffer sample_rate, PointerBuffer output)
      int stb_vorbis_decode_memory(unsigned char const * mem, int len, int * channels, int * sample_rate, short ** output)
    • stb_vorbis_decode_memory

      public static @Nullable ShortBuffer stb_vorbis_decode_memory(ByteBuffer mem, IntBuffer channels, IntBuffer sample_rate)
      int stb_vorbis_decode_memory(unsigned char const * mem, int len, int * channels, int * sample_rate, short ** output)
    • nstb_vorbis_open_memory

      public static long nstb_vorbis_open_memory(long mem, int len, long error, long alloc_buffer)
      stb_vorbis * stb_vorbis_open_memory(unsigned char const * mem, int len, int * error, stb_vorbis_alloc const * alloc_buffer)
    • stb_vorbis_open_memory

      public static long stb_vorbis_open_memory(ByteBuffer mem, IntBuffer error, @Nullable STBVorbisAlloc alloc_buffer)
      stb_vorbis * stb_vorbis_open_memory(unsigned char const * mem, int len, int * error, stb_vorbis_alloc const * alloc_buffer)
    • nstb_vorbis_open_filename

      public static long nstb_vorbis_open_filename(long filename, long error, long alloc_buffer)
      stb_vorbis * stb_vorbis_open_filename(char const * filename, int * error, stb_vorbis_alloc const * alloc_buffer)
    • stb_vorbis_open_filename

      public static long stb_vorbis_open_filename(ByteBuffer filename, IntBuffer error, @Nullable STBVorbisAlloc alloc_buffer)
      stb_vorbis * stb_vorbis_open_filename(char const * filename, int * error, stb_vorbis_alloc const * alloc_buffer)
    • stb_vorbis_open_filename

      public static long stb_vorbis_open_filename(CharSequence filename, IntBuffer error, @Nullable STBVorbisAlloc alloc_buffer)
      stb_vorbis * stb_vorbis_open_filename(char const * filename, int * error, stb_vorbis_alloc const * alloc_buffer)
    • nstb_vorbis_seek_frame

      public static int nstb_vorbis_seek_frame(long f, int sample_number)
      int stb_vorbis_seek_frame(stb_vorbis * f, unsigned int sample_number)
    • stb_vorbis_seek_frame

      public static boolean stb_vorbis_seek_frame(long f, int sample_number)
      int stb_vorbis_seek_frame(stb_vorbis * f, unsigned int sample_number)
    • nstb_vorbis_seek

      public static int nstb_vorbis_seek(long f, int sample_number)
      int stb_vorbis_seek(stb_vorbis * f, unsigned int sample_number)
    • stb_vorbis_seek

      public static boolean stb_vorbis_seek(long f, int sample_number)
      int stb_vorbis_seek(stb_vorbis * f, unsigned int sample_number)
    • nstb_vorbis_seek_start

      public static int nstb_vorbis_seek_start(long f)
      int stb_vorbis_seek_start(stb_vorbis * f)
    • stb_vorbis_seek_start

      public static boolean stb_vorbis_seek_start(long f)
      int stb_vorbis_seek_start(stb_vorbis * f)
    • nstb_vorbis_stream_length_in_samples

      public static int nstb_vorbis_stream_length_in_samples(long f)
      unsigned int stb_vorbis_stream_length_in_samples(stb_vorbis * f)
    • stb_vorbis_stream_length_in_samples

      public static int stb_vorbis_stream_length_in_samples(long f)
      unsigned int stb_vorbis_stream_length_in_samples(stb_vorbis * f)
    • nstb_vorbis_stream_length_in_seconds

      public static float nstb_vorbis_stream_length_in_seconds(long f)
      float stb_vorbis_stream_length_in_seconds(stb_vorbis * f)
    • stb_vorbis_stream_length_in_seconds

      public static float stb_vorbis_stream_length_in_seconds(long f)
      float stb_vorbis_stream_length_in_seconds(stb_vorbis * f)
    • nstb_vorbis_get_frame_float

      public static int nstb_vorbis_get_frame_float(long f, long channels, long output)
      int stb_vorbis_get_frame_float(stb_vorbis * f, int * channels, float *** output)
    • stb_vorbis_get_frame_float

      public static int stb_vorbis_get_frame_float(long f, @Nullable IntBuffer channels, PointerBuffer output)
      int stb_vorbis_get_frame_float(stb_vorbis * f, int * channels, float *** output)
    • nstb_vorbis_get_frame_short

      public static int nstb_vorbis_get_frame_short(long f, int num_c, long buffer, int num_samples)
      int stb_vorbis_get_frame_short(stb_vorbis * f, int num_c, short ** buffer, int num_samples)
    • stb_vorbis_get_frame_short

      public static int stb_vorbis_get_frame_short(long f, PointerBuffer buffer, int num_samples)
      int stb_vorbis_get_frame_short(stb_vorbis * f, int num_c, short ** buffer, int num_samples)
    • nstb_vorbis_get_frame_short_interleaved

      public static int nstb_vorbis_get_frame_short_interleaved(long f, int num_c, long buffer, int num_shorts)
      int stb_vorbis_get_frame_short_interleaved(stb_vorbis * f, int num_c, short * buffer, int num_shorts)
    • stb_vorbis_get_frame_short_interleaved

      public static int stb_vorbis_get_frame_short_interleaved(long f, int num_c, ShortBuffer buffer)
      int stb_vorbis_get_frame_short_interleaved(stb_vorbis * f, int num_c, short * buffer, int num_shorts)
    • nstb_vorbis_get_samples_float

      public static int nstb_vorbis_get_samples_float(long f, int channels, long buffer, int num_samples)
      int stb_vorbis_get_samples_float(stb_vorbis * f, int channels, float ** buffer, int num_samples)
    • stb_vorbis_get_samples_float

      public static int stb_vorbis_get_samples_float(long f, PointerBuffer buffer, int num_samples)
      int stb_vorbis_get_samples_float(stb_vorbis * f, int channels, float ** buffer, int num_samples)
    • nstb_vorbis_get_samples_float_interleaved

      public static int nstb_vorbis_get_samples_float_interleaved(long f, int channels, long buffer, int num_floats)
      int stb_vorbis_get_samples_float_interleaved(stb_vorbis * f, int channels, float * buffer, int num_floats)
    • stb_vorbis_get_samples_float_interleaved

      public static int stb_vorbis_get_samples_float_interleaved(long f, int channels, FloatBuffer buffer)
      int stb_vorbis_get_samples_float_interleaved(stb_vorbis * f, int channels, float * buffer, int num_floats)
    • nstb_vorbis_get_samples_short

      public static int nstb_vorbis_get_samples_short(long f, int channels, long buffer, int num_samples)
      int stb_vorbis_get_samples_short(stb_vorbis * f, int channels, short ** buffer, int num_samples)
    • stb_vorbis_get_samples_short

      public static int stb_vorbis_get_samples_short(long f, PointerBuffer buffer, int num_samples)
      int stb_vorbis_get_samples_short(stb_vorbis * f, int channels, short ** buffer, int num_samples)
    • nstb_vorbis_get_samples_short_interleaved

      public static int nstb_vorbis_get_samples_short_interleaved(long f, int channels, long buffer, int num_shorts)
      int stb_vorbis_get_samples_short_interleaved(stb_vorbis * f, int channels, short * buffer, int num_shorts)
    • stb_vorbis_get_samples_short_interleaved

      public static int stb_vorbis_get_samples_short_interleaved(long f, int channels, ShortBuffer buffer)
      int stb_vorbis_get_samples_short_interleaved(stb_vorbis * f, int channels, short * buffer, int num_shorts)
    • nstb_vorbis_open_pushdata

      public static long nstb_vorbis_open_pushdata(long datablock, int datablock_length_in_bytes, int[] datablock_memory_consumed_in_bytes, int[] error, long alloc_buffer)
      stb_vorbis * stb_vorbis_open_pushdata(unsigned char const * datablock, int datablock_length_in_bytes, int * datablock_memory_consumed_in_bytes, int * error, stb_vorbis_alloc const * alloc_buffer)
    • stb_vorbis_open_pushdata

      public static long stb_vorbis_open_pushdata(ByteBuffer datablock, int[] datablock_memory_consumed_in_bytes, int[] error, @Nullable STBVorbisAlloc alloc_buffer)
      stb_vorbis * stb_vorbis_open_pushdata(unsigned char const * datablock, int datablock_length_in_bytes, int * datablock_memory_consumed_in_bytes, int * error, stb_vorbis_alloc const * alloc_buffer)
    • nstb_vorbis_decode_frame_pushdata

      public static int nstb_vorbis_decode_frame_pushdata(long f, long datablock, int datablock_length_in_bytes, int[] channels, long output, int[] samples)
      int stb_vorbis_decode_frame_pushdata(stb_vorbis * f, unsigned char const * datablock, int datablock_length_in_bytes, int * channels, float *** output, int * samples)
    • stb_vorbis_decode_frame_pushdata

      public static int stb_vorbis_decode_frame_pushdata(long f, ByteBuffer datablock, int @Nullable [] channels, PointerBuffer output, int[] samples)
      int stb_vorbis_decode_frame_pushdata(stb_vorbis * f, unsigned char const * datablock, int datablock_length_in_bytes, int * channels, float *** output, int * samples)
    • nstb_vorbis_decode_filename

      public static int nstb_vorbis_decode_filename(long filename, int[] channels, int[] sample_rate, long output)
      int stb_vorbis_decode_filename(char const * filename, int * channels, int * sample_rate, short ** output)
    • stb_vorbis_decode_filename

      public static int stb_vorbis_decode_filename(ByteBuffer filename, int[] channels, int[] sample_rate, PointerBuffer output)
      int stb_vorbis_decode_filename(char const * filename, int * channels, int * sample_rate, short ** output)
    • stb_vorbis_decode_filename

      public static int stb_vorbis_decode_filename(CharSequence filename, int[] channels, int[] sample_rate, PointerBuffer output)
      int stb_vorbis_decode_filename(char const * filename, int * channels, int * sample_rate, short ** output)
    • nstb_vorbis_decode_memory

      public static int nstb_vorbis_decode_memory(long mem, int len, int[] channels, int[] sample_rate, long output)
      int stb_vorbis_decode_memory(unsigned char const * mem, int len, int * channels, int * sample_rate, short ** output)
    • stb_vorbis_decode_memory

      public static int stb_vorbis_decode_memory(ByteBuffer mem, int[] channels, int[] sample_rate, PointerBuffer output)
      int stb_vorbis_decode_memory(unsigned char const * mem, int len, int * channels, int * sample_rate, short ** output)
    • nstb_vorbis_open_memory

      public static long nstb_vorbis_open_memory(long mem, int len, int[] error, long alloc_buffer)
      stb_vorbis * stb_vorbis_open_memory(unsigned char const * mem, int len, int * error, stb_vorbis_alloc const * alloc_buffer)
    • stb_vorbis_open_memory

      public static long stb_vorbis_open_memory(ByteBuffer mem, int[] error, @Nullable STBVorbisAlloc alloc_buffer)
      stb_vorbis * stb_vorbis_open_memory(unsigned char const * mem, int len, int * error, stb_vorbis_alloc const * alloc_buffer)
    • nstb_vorbis_open_filename

      public static long nstb_vorbis_open_filename(long filename, int[] error, long alloc_buffer)
      stb_vorbis * stb_vorbis_open_filename(char const * filename, int * error, stb_vorbis_alloc const * alloc_buffer)
    • stb_vorbis_open_filename

      public static long stb_vorbis_open_filename(ByteBuffer filename, int[] error, @Nullable STBVorbisAlloc alloc_buffer)
      stb_vorbis * stb_vorbis_open_filename(char const * filename, int * error, stb_vorbis_alloc const * alloc_buffer)
    • stb_vorbis_open_filename

      public static long stb_vorbis_open_filename(CharSequence filename, int[] error, @Nullable STBVorbisAlloc alloc_buffer)
      stb_vorbis * stb_vorbis_open_filename(char const * filename, int * error, stb_vorbis_alloc const * alloc_buffer)
    • nstb_vorbis_get_frame_float

      public static int nstb_vorbis_get_frame_float(long f, int[] channels, long output)
      int stb_vorbis_get_frame_float(stb_vorbis * f, int * channels, float *** output)
    • stb_vorbis_get_frame_float

      public static int stb_vorbis_get_frame_float(long f, int @Nullable [] channels, PointerBuffer output)
      int stb_vorbis_get_frame_float(stb_vorbis * f, int * channels, float *** output)
    • nstb_vorbis_get_frame_short_interleaved

      public static int nstb_vorbis_get_frame_short_interleaved(long f, int num_c, short[] buffer, int num_shorts)
      int stb_vorbis_get_frame_short_interleaved(stb_vorbis * f, int num_c, short * buffer, int num_shorts)
    • stb_vorbis_get_frame_short_interleaved

      public static int stb_vorbis_get_frame_short_interleaved(long f, int num_c, short[] buffer)
      int stb_vorbis_get_frame_short_interleaved(stb_vorbis * f, int num_c, short * buffer, int num_shorts)
    • nstb_vorbis_get_samples_float_interleaved

      public static int nstb_vorbis_get_samples_float_interleaved(long f, int channels, float[] buffer, int num_floats)
      int stb_vorbis_get_samples_float_interleaved(stb_vorbis * f, int channels, float * buffer, int num_floats)
    • stb_vorbis_get_samples_float_interleaved

      public static int stb_vorbis_get_samples_float_interleaved(long f, int channels, float[] buffer)
      int stb_vorbis_get_samples_float_interleaved(stb_vorbis * f, int channels, float * buffer, int num_floats)
    • nstb_vorbis_get_samples_short_interleaved

      public static int nstb_vorbis_get_samples_short_interleaved(long f, int channels, short[] buffer, int num_shorts)
      int stb_vorbis_get_samples_short_interleaved(stb_vorbis * f, int channels, short * buffer, int num_shorts)
    • stb_vorbis_get_samples_short_interleaved

      public static int stb_vorbis_get_samples_short_interleaved(long f, int channels, short[] buffer)
      int stb_vorbis_get_samples_short_interleaved(stb_vorbis * f, int channels, short * buffer, int num_shorts)