Class STBVorbis

java.lang.Object
club.doki7.stb.vorbis.STBVorbis

public final class STBVorbis extends Object
  • Field Details

    • SEGMENT$stb_vorbis_close

      @Nullable public final @Nullable MemorySegment SEGMENT$stb_vorbis_close
    • SEGMENT$stb_vorbis_decode_filename

      @Nullable public final @Nullable MemorySegment SEGMENT$stb_vorbis_decode_filename
    • SEGMENT$stb_vorbis_decode_frame_pushdata

      @Nullable public final @Nullable MemorySegment SEGMENT$stb_vorbis_decode_frame_pushdata
    • SEGMENT$stb_vorbis_decode_memory

      @Nullable public final @Nullable MemorySegment SEGMENT$stb_vorbis_decode_memory
    • SEGMENT$stb_vorbis_flush_pushdata

      @Nullable public final @Nullable MemorySegment SEGMENT$stb_vorbis_flush_pushdata
    • SEGMENT$stb_vorbis_get_comment

      @Nullable public final @Nullable MemorySegment SEGMENT$stb_vorbis_get_comment
    • SEGMENT$stb_vorbis_get_error

      @Nullable public final @Nullable MemorySegment SEGMENT$stb_vorbis_get_error
    • SEGMENT$stb_vorbis_get_file_offset

      @Nullable public final @Nullable MemorySegment SEGMENT$stb_vorbis_get_file_offset
    • SEGMENT$stb_vorbis_get_frame_float

      @Nullable public final @Nullable MemorySegment SEGMENT$stb_vorbis_get_frame_float
    • SEGMENT$stb_vorbis_get_frame_short

      @Nullable public final @Nullable MemorySegment SEGMENT$stb_vorbis_get_frame_short
    • SEGMENT$stb_vorbis_get_frame_short_interleaved

      @Nullable public final @Nullable MemorySegment SEGMENT$stb_vorbis_get_frame_short_interleaved
    • SEGMENT$stb_vorbis_get_info

      @Nullable public final @Nullable MemorySegment SEGMENT$stb_vorbis_get_info
    • SEGMENT$stb_vorbis_get_sample_offset

      @Nullable public final @Nullable MemorySegment SEGMENT$stb_vorbis_get_sample_offset
    • SEGMENT$stb_vorbis_get_samples_float

      @Nullable public final @Nullable MemorySegment SEGMENT$stb_vorbis_get_samples_float
    • SEGMENT$stb_vorbis_get_samples_float_interleaved

      @Nullable public final @Nullable MemorySegment SEGMENT$stb_vorbis_get_samples_float_interleaved
    • SEGMENT$stb_vorbis_get_samples_short

      @Nullable public final @Nullable MemorySegment SEGMENT$stb_vorbis_get_samples_short
    • SEGMENT$stb_vorbis_get_samples_short_interleaved

      @Nullable public final @Nullable MemorySegment SEGMENT$stb_vorbis_get_samples_short_interleaved
    • SEGMENT$stb_vorbis_open_filename

      @Nullable public final @Nullable MemorySegment SEGMENT$stb_vorbis_open_filename
    • SEGMENT$stb_vorbis_open_memory

      @Nullable public final @Nullable MemorySegment SEGMENT$stb_vorbis_open_memory
    • SEGMENT$stb_vorbis_open_pushdata

      @Nullable public final @Nullable MemorySegment SEGMENT$stb_vorbis_open_pushdata
    • SEGMENT$stb_vorbis_seek

      @Nullable public final @Nullable MemorySegment SEGMENT$stb_vorbis_seek
    • SEGMENT$stb_vorbis_seek_frame

      @Nullable public final @Nullable MemorySegment SEGMENT$stb_vorbis_seek_frame
    • SEGMENT$stb_vorbis_seek_start

      @Nullable public final @Nullable MemorySegment SEGMENT$stb_vorbis_seek_start
    • SEGMENT$stb_vorbis_stream_length_in_samples

      @Nullable public final @Nullable MemorySegment SEGMENT$stb_vorbis_stream_length_in_samples
    • SEGMENT$stb_vorbis_stream_length_in_seconds

      @Nullable public final @Nullable MemorySegment SEGMENT$stb_vorbis_stream_length_in_seconds
    • HANDLE$stb_vorbis_close

      @Nullable public final @Nullable MethodHandle HANDLE$stb_vorbis_close
    • HANDLE$stb_vorbis_decode_filename

      @Nullable public final @Nullable MethodHandle HANDLE$stb_vorbis_decode_filename
    • HANDLE$stb_vorbis_decode_frame_pushdata

      @Nullable public final @Nullable MethodHandle HANDLE$stb_vorbis_decode_frame_pushdata
    • HANDLE$stb_vorbis_decode_memory

      @Nullable public final @Nullable MethodHandle HANDLE$stb_vorbis_decode_memory
    • HANDLE$stb_vorbis_flush_pushdata

      @Nullable public final @Nullable MethodHandle HANDLE$stb_vorbis_flush_pushdata
    • HANDLE$stb_vorbis_get_comment

      @Nullable public final @Nullable MethodHandle HANDLE$stb_vorbis_get_comment
    • HANDLE$stb_vorbis_get_error

      @Nullable public final @Nullable MethodHandle HANDLE$stb_vorbis_get_error
    • HANDLE$stb_vorbis_get_file_offset

      @Nullable public final @Nullable MethodHandle HANDLE$stb_vorbis_get_file_offset
    • HANDLE$stb_vorbis_get_frame_float

      @Nullable public final @Nullable MethodHandle HANDLE$stb_vorbis_get_frame_float
    • HANDLE$stb_vorbis_get_frame_short

      @Nullable public final @Nullable MethodHandle HANDLE$stb_vorbis_get_frame_short
    • HANDLE$stb_vorbis_get_frame_short_interleaved

      @Nullable public final @Nullable MethodHandle HANDLE$stb_vorbis_get_frame_short_interleaved
    • HANDLE$stb_vorbis_get_info

      @Nullable public final @Nullable MethodHandle HANDLE$stb_vorbis_get_info
    • HANDLE$stb_vorbis_get_sample_offset

      @Nullable public final @Nullable MethodHandle HANDLE$stb_vorbis_get_sample_offset
    • HANDLE$stb_vorbis_get_samples_float

      @Nullable public final @Nullable MethodHandle HANDLE$stb_vorbis_get_samples_float
    • HANDLE$stb_vorbis_get_samples_float_interleaved

      @Nullable public final @Nullable MethodHandle HANDLE$stb_vorbis_get_samples_float_interleaved
    • HANDLE$stb_vorbis_get_samples_short

      @Nullable public final @Nullable MethodHandle HANDLE$stb_vorbis_get_samples_short
    • HANDLE$stb_vorbis_get_samples_short_interleaved

      @Nullable public final @Nullable MethodHandle HANDLE$stb_vorbis_get_samples_short_interleaved
    • HANDLE$stb_vorbis_open_filename

      @Nullable public final @Nullable MethodHandle HANDLE$stb_vorbis_open_filename
    • HANDLE$stb_vorbis_open_memory

      @Nullable public final @Nullable MethodHandle HANDLE$stb_vorbis_open_memory
    • HANDLE$stb_vorbis_open_pushdata

      @Nullable public final @Nullable MethodHandle HANDLE$stb_vorbis_open_pushdata
    • HANDLE$stb_vorbis_seek

      @Nullable public final @Nullable MethodHandle HANDLE$stb_vorbis_seek
    • HANDLE$stb_vorbis_seek_frame

      @Nullable public final @Nullable MethodHandle HANDLE$stb_vorbis_seek_frame
    • HANDLE$stb_vorbis_seek_start

      @Nullable public final @Nullable MethodHandle HANDLE$stb_vorbis_seek_start
    • HANDLE$stb_vorbis_stream_length_in_samples

      @Nullable public final @Nullable MethodHandle HANDLE$stb_vorbis_stream_length_in_samples
    • HANDLE$stb_vorbis_stream_length_in_seconds

      @Nullable public final @Nullable MethodHandle HANDLE$stb_vorbis_stream_length_in_seconds
  • Constructor Details

  • Method Details

    • close

      public void close(@Nullable @Nullable STB_Vorbis f)
    • decodeFilename

      public int decodeFilename(@Nullable @Nullable BytePtr filename, @Nullable @Nullable IntPtr channels, @Nullable @Nullable IntPtr sampleRate, @Nullable @Nullable PointerPtr output)
    • decodeFramePushdata

      public int decodeFramePushdata(@Nullable @Nullable STB_Vorbis f, @Nullable @Nullable BytePtr datablock, int datablockLengthInBytes, @Nullable @Nullable IntPtr channels, @Nullable @Nullable PointerPtr output, @Nullable @Nullable IntPtr samples)
    • decodeMemory

      public int decodeMemory(@Nullable @Nullable BytePtr mem, int len, @Nullable @Nullable IntPtr channels, @Nullable @Nullable IntPtr sampleRate, @Nullable @Nullable PointerPtr output)
    • flushPushdata

      public void flushPushdata(@Nullable @Nullable STB_Vorbis f)
    • getComment

      public STB_VorbisComment getComment(SegmentAllocator allocator, @Nullable @Nullable STB_Vorbis f)
    • getError

      public int getError(@Nullable @Nullable STB_Vorbis f)
    • getFileOffset

      public int getFileOffset(@Nullable @Nullable STB_Vorbis f)
    • getFrameFloat

      public int getFrameFloat(@Nullable @Nullable STB_Vorbis f, @Nullable @Nullable IntPtr channels, @Nullable @Nullable PointerPtr output)
    • getFrameShort

      public int getFrameShort(@Nullable @Nullable STB_Vorbis f, int numC, @Nullable @Nullable PointerPtr buffer, int numSamples)
    • getFrameShortInterleaved

      public int getFrameShortInterleaved(@Nullable @Nullable STB_Vorbis f, int numC, @Nullable @Nullable ShortPtr buffer, int numShorts)
    • getInfo

      public STB_VorbisInfo getInfo(SegmentAllocator allocator, @Nullable @Nullable STB_Vorbis f)
    • getSampleOffset

      public int getSampleOffset(@Nullable @Nullable STB_Vorbis f)
    • getSamplesFloat

      public int getSamplesFloat(@Nullable @Nullable STB_Vorbis f, int channels, @Nullable @Nullable PointerPtr buffer, int numSamples)
    • getSamplesFloatInterleaved

      public int getSamplesFloatInterleaved(@Nullable @Nullable STB_Vorbis f, int channels, @Nullable @Nullable FloatPtr buffer, int numFloats)
    • getSamplesShort

      public int getSamplesShort(@Nullable @Nullable STB_Vorbis f, int channels, @Nullable @Nullable PointerPtr buffer, int numSamples)
    • getSamplesShortInterleaved

      public int getSamplesShortInterleaved(@Nullable @Nullable STB_Vorbis f, int channels, @Nullable @Nullable ShortPtr buffer, int numShorts)
    • openFilename

      @Nullable public @Nullable STB_Vorbis openFilename(@Nullable @Nullable BytePtr filename, @Nullable @Nullable IntPtr error, @Nullable @Pointer @Nullable ISTB_VorbisAlloc allocBuffer)
    • openMemory

      @Nullable public @Nullable STB_Vorbis openMemory(@Nullable @Nullable BytePtr data, int len, @Nullable @Nullable IntPtr error, @Nullable @Pointer @Nullable ISTB_VorbisAlloc allocBuffer)
    • openPushdata

      @Nullable public @Nullable STB_Vorbis openPushdata(@Nullable @Nullable BytePtr datablock, int datablockLengthInBytes, @Nullable @Nullable IntPtr datablockMemoryConsumedInBytes, @Nullable @Nullable IntPtr error, @Nullable @Pointer @Nullable ISTB_VorbisAlloc allocBuffer)
    • seek

      public int seek(@Nullable @Nullable STB_Vorbis f, int sampleNumber)
    • seekFrame

      public int seekFrame(@Nullable @Nullable STB_Vorbis f, int sampleNumber)
    • seekStart

      public int seekStart(@Nullable @Nullable STB_Vorbis f)
    • streamLengthInSamples

      public int streamLengthInSamples(@Nullable @Nullable STB_Vorbis f)
    • streamLengthInSeconds

      public float streamLengthInSeconds(@Nullable @Nullable STB_Vorbis f)