Class STBVorbis
java.lang.Object
club.doki7.stb.vorbis.STBVorbis
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MethodHandle
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
final @Nullable MemorySegment
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close
(@Nullable STB_Vorbis f) int
decodeFilename
(@Nullable BytePtr filename, @Nullable IntPtr channels, @Nullable IntPtr sampleRate, @Nullable PointerPtr output) int
decodeFramePushdata
(@Nullable STB_Vorbis f, @Nullable BytePtr datablock, int datablockLengthInBytes, @Nullable IntPtr channels, @Nullable PointerPtr output, @Nullable IntPtr samples) int
decodeMemory
(@Nullable BytePtr mem, int len, @Nullable IntPtr channels, @Nullable IntPtr sampleRate, @Nullable PointerPtr output) void
flushPushdata
(@Nullable STB_Vorbis f) getComment
(SegmentAllocator allocator, @Nullable STB_Vorbis f) int
getError
(@Nullable STB_Vorbis f) int
getFileOffset
(@Nullable STB_Vorbis f) int
getFrameFloat
(@Nullable STB_Vorbis f, @Nullable IntPtr channels, @Nullable PointerPtr output) int
getFrameShort
(@Nullable STB_Vorbis f, int numC, @Nullable PointerPtr buffer, int numSamples) int
getFrameShortInterleaved
(@Nullable STB_Vorbis f, int numC, @Nullable ShortPtr buffer, int numShorts) getInfo
(SegmentAllocator allocator, @Nullable STB_Vorbis f) int
getSampleOffset
(@Nullable STB_Vorbis f) int
getSamplesFloat
(@Nullable STB_Vorbis f, int channels, @Nullable PointerPtr buffer, int numSamples) int
getSamplesFloatInterleaved
(@Nullable STB_Vorbis f, int channels, @Nullable FloatPtr buffer, int numFloats) int
getSamplesShort
(@Nullable STB_Vorbis f, int channels, @Nullable PointerPtr buffer, int numSamples) int
getSamplesShortInterleaved
(@Nullable STB_Vorbis f, int channels, @Nullable ShortPtr buffer, int numShorts) @Nullable STB_Vorbis
openFilename
(@Nullable BytePtr filename, @Nullable IntPtr error, @Nullable ISTB_VorbisAlloc allocBuffer) @Nullable STB_Vorbis
openMemory
(@Nullable BytePtr data, int len, @Nullable IntPtr error, @Nullable ISTB_VorbisAlloc allocBuffer) @Nullable STB_Vorbis
openPushdata
(@Nullable BytePtr datablock, int datablockLengthInBytes, @Nullable IntPtr datablockMemoryConsumedInBytes, @Nullable IntPtr error, @Nullable ISTB_VorbisAlloc allocBuffer) int
seek
(@Nullable STB_Vorbis f, int sampleNumber) int
seekFrame
(@Nullable STB_Vorbis f, int sampleNumber) int
seekStart
(@Nullable STB_Vorbis f) int
streamLengthInSamples
(@Nullable STB_Vorbis f) float
streamLengthInSeconds
(@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
-