Class STBVorbis
java.lang.Object
club.doki7.stb.vorbis.STBVorbis
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegment -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose(@Nullable STB_Vorbis f) intdecodeFilename(@Nullable BytePtr filename, @Nullable IntPtr channels, @Nullable IntPtr sampleRate, @Nullable PointerPtr output) intdecodeFramePushdata(@Nullable STB_Vorbis f, @Nullable BytePtr datablock, int datablockLengthInBytes, @Nullable IntPtr channels, @Nullable PointerPtr output, @Nullable IntPtr samples) intdecodeMemory(@Nullable BytePtr mem, int len, @Nullable IntPtr channels, @Nullable IntPtr sampleRate, @Nullable PointerPtr output) voidflushPushdata(@Nullable STB_Vorbis f) getComment(SegmentAllocator allocator, @Nullable STB_Vorbis f) intgetError(@Nullable STB_Vorbis f) intgetFileOffset(@Nullable STB_Vorbis f) intgetFrameFloat(@Nullable STB_Vorbis f, @Nullable IntPtr channels, @Nullable PointerPtr output) intgetFrameShort(@Nullable STB_Vorbis f, int numC, @Nullable PointerPtr buffer, int numSamples) intgetFrameShortInterleaved(@Nullable STB_Vorbis f, int numC, @Nullable ShortPtr buffer, int numShorts) getInfo(SegmentAllocator allocator, @Nullable STB_Vorbis f) intgetSampleOffset(@Nullable STB_Vorbis f) intgetSamplesFloat(@Nullable STB_Vorbis f, int channels, @Nullable PointerPtr buffer, int numSamples) intgetSamplesFloatInterleaved(@Nullable STB_Vorbis f, int channels, @Nullable FloatPtr buffer, int numFloats) intgetSamplesShort(@Nullable STB_Vorbis f, int channels, @Nullable PointerPtr buffer, int numSamples) intgetSamplesShortInterleaved(@Nullable STB_Vorbis f, int channels, @Nullable ShortPtr buffer, int numShorts) @Nullable STB_VorbisopenFilename(@Nullable BytePtr filename, @Nullable IntPtr error, @Nullable ISTB_VorbisAlloc allocBuffer) @Nullable STB_VorbisopenMemory(@Nullable BytePtr data, int len, @Nullable IntPtr error, @Nullable ISTB_VorbisAlloc allocBuffer) @Nullable STB_VorbisopenPushdata(@Nullable BytePtr datablock, int datablockLengthInBytes, @Nullable IntPtr datablockMemoryConsumedInBytes, @Nullable IntPtr error, @Nullable ISTB_VorbisAlloc allocBuffer) intseek(@Nullable STB_Vorbis f, int sampleNumber) intseekFrame(@Nullable STB_Vorbis f, int sampleNumber) intseekStart(@Nullable STB_Vorbis f) intstreamLengthInSamples(@Nullable STB_Vorbis f) floatstreamLengthInSeconds(@Nullable STB_Vorbis f)
-
Field Details
-
SEGMENT$stb_vorbis_close
-
SEGMENT$stb_vorbis_decode_filename
-
SEGMENT$stb_vorbis_decode_frame_pushdata
-
SEGMENT$stb_vorbis_decode_memory
-
SEGMENT$stb_vorbis_flush_pushdata
-
SEGMENT$stb_vorbis_get_comment
-
SEGMENT$stb_vorbis_get_error
-
SEGMENT$stb_vorbis_get_file_offset
-
SEGMENT$stb_vorbis_get_frame_float
-
SEGMENT$stb_vorbis_get_frame_short
-
SEGMENT$stb_vorbis_get_frame_short_interleaved
-
SEGMENT$stb_vorbis_get_info
-
SEGMENT$stb_vorbis_get_sample_offset
-
SEGMENT$stb_vorbis_get_samples_float
-
SEGMENT$stb_vorbis_get_samples_float_interleaved
-
SEGMENT$stb_vorbis_get_samples_short
-
SEGMENT$stb_vorbis_get_samples_short_interleaved
-
SEGMENT$stb_vorbis_open_filename
-
SEGMENT$stb_vorbis_open_memory
-
SEGMENT$stb_vorbis_open_pushdata
-
SEGMENT$stb_vorbis_seek
-
SEGMENT$stb_vorbis_seek_frame
-
SEGMENT$stb_vorbis_seek_start
-
SEGMENT$stb_vorbis_stream_length_in_samples
-
SEGMENT$stb_vorbis_stream_length_in_seconds
-
HANDLE$stb_vorbis_close
-
HANDLE$stb_vorbis_decode_filename
-
HANDLE$stb_vorbis_decode_frame_pushdata
-
HANDLE$stb_vorbis_decode_memory
-
HANDLE$stb_vorbis_flush_pushdata
-
HANDLE$stb_vorbis_get_comment
-
HANDLE$stb_vorbis_get_error
-
HANDLE$stb_vorbis_get_file_offset
-
HANDLE$stb_vorbis_get_frame_float
-
HANDLE$stb_vorbis_get_frame_short
-
HANDLE$stb_vorbis_get_frame_short_interleaved
-
HANDLE$stb_vorbis_get_info
-
HANDLE$stb_vorbis_get_sample_offset
-
HANDLE$stb_vorbis_get_samples_float
-
HANDLE$stb_vorbis_get_samples_float_interleaved
-
HANDLE$stb_vorbis_get_samples_short
-
HANDLE$stb_vorbis_get_samples_short_interleaved
-
HANDLE$stb_vorbis_open_filename
-
HANDLE$stb_vorbis_open_memory
-
HANDLE$stb_vorbis_open_pushdata
-
HANDLE$stb_vorbis_seek
-
HANDLE$stb_vorbis_seek_frame
-
HANDLE$stb_vorbis_seek_start
-
HANDLE$stb_vorbis_stream_length_in_samples
-
HANDLE$stb_vorbis_stream_length_in_seconds
-
-
Constructor Details
-
STBVorbis
-
-
Method Details
-
close
-
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
-
getComment
-
getError
-
getFileOffset
-
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
-
getSampleOffset
-
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
-
seekFrame
-
seekStart
-
streamLengthInSamples
-
streamLengthInSeconds
-