struct stb_vorbis_info {
unsigned int sample_rate;
int channels;
unsigned int setup_memory_required;
unsigned int setup_temp_memory_required;
unsigned int temp_memory_required;
int max_frame_size;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | STBVorbisInfo.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | CHANNELS
The struct member offsets. |
| public static final int | MAX_FRAME_SIZE
The struct member offsets. |
| public static final int | SAMPLE_RATE
The struct member offsets. |
| public static final int | SETUP_MEMORY_REQUIRED
The struct member offsets. |
| public static final int | SETUP_TEMP_MEMORY_REQUIRED
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TEMP_MEMORY_REQUIRED
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | STBVorbisInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static STBVorbisInfo | |
| public static STBVorbisInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static STBVorbisInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static STBVorbisInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static STBVorbisInfo | |
| public static STBVorbisInfo | |
| public static STBVorbisInfo. | |
| public static STBVorbisInfo. | |
| public int | |
| protected STBVorbisInfo | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static STBVorbisInfo | |
| public static STBVorbisInfo | |
| public static STBVorbisInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static STBVorbisInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static STBVorbisInfo | |
| public static STBVorbisInfo. | |
| public static STBVorbisInfo | |
| public static STBVorbisInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static STBVorbisInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static STBVorbisInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static STBVorbisInfo | |
| public static STBVorbisInfo | |
| public static STBVorbisInfo. | |
| public static STBVorbisInfo. | |
| public int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| CHANNELS | back to summary |
|---|---|
| public static final int CHANNELS The struct member offsets. | |
| MAX_FRAME_SIZE | back to summary |
|---|---|
| public static final int MAX_FRAME_SIZE The struct member offsets. | |
| SAMPLE_RATE | back to summary |
|---|---|
| public static final int SAMPLE_RATE The struct member offsets. | |
| SETUP_MEMORY_REQUIRED | back to summary |
|---|---|
| public static final int SETUP_MEMORY_REQUIRED The struct member offsets. | |
| SETUP_TEMP_MEMORY_REQUIRED | back to summary |
|---|---|
| public static final int SETUP_TEMP_MEMORY_REQUIRED The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| TEMP_MEMORY_REQUIRED | back to summary |
|---|---|
| public static final int TEMP_MEMORY_REQUIRED The struct member offsets. | |
| STBVorbisInfo | back to summary |
|---|---|
| protected STBVorbisInfo(long address, ByteBuffer container) | |
| STBVorbisInfo | back to summary |
|---|---|
| public STBVorbisInfo(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static STBVorbisInfo calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static STBVorbisInfo. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static STBVorbisInfo calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static STBVorbisInfo. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static STBVorbisInfo callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static STBVorbisInfo callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static STBVorbisInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static STBVorbisInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| channels | back to summary |
|---|---|
public int channels()
| |
| create | back to summary |
|---|---|
| protected STBVorbisInfo create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static STBVorbisInfo create() Returns a new | |
| create | back to summary |
|---|---|
| public static STBVorbisInfo create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static STBVorbisInfo. Returns a new
| |
| create | back to summary |
|---|---|
| public static STBVorbisInfo. Create a
| |
| createSafe | back to summary |
|---|---|
| public static STBVorbisInfo createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static STBVorbisInfo. Like
| |
| malloc | back to summary |
|---|---|
| public static STBVorbisInfo malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static STBVorbisInfo. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static STBVorbisInfo malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static STBVorbisInfo. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static STBVorbisInfo mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static STBVorbisInfo mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static STBVorbisInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static STBVorbisInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| max_frame_size | back to summary |
|---|---|
public int max_frame_size()
| |
| nchannels | back to summary |
|---|---|
| public static int nchannels(long struct) Unsafe version of | |
| nmax_frame_size | back to summary |
|---|---|
| public static int nmax_frame_size(long struct) Unsafe version of | |
| nsample_rate | back to summary |
|---|---|
| public static int nsample_rate(long struct) Unsafe version of | |
| nsetup_memory_required | back to summary |
|---|---|
| public static int nsetup_memory_required(long struct) Unsafe version of | |
| nsetup_temp_memory_required | back to summary |
|---|---|
| public static int nsetup_temp_memory_required(long struct) Unsafe version of | |
| ntemp_memory_required | back to summary |
|---|---|
| public static int ntemp_memory_required(long struct) Unsafe version of | |
| sample_rate | back to summary |
|---|---|
public int sample_rate()
| |
| setup_memory_required | back to summary |
|---|---|
public int setup_memory_required()
| |
| setup_temp_memory_required | back to summary |
|---|---|
public int setup_temp_memory_required()
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| temp_memory_required | back to summary |
|---|---|
public int temp_memory_required()
| |
STBVorbisInfo structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final STBVorbisInfo |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| protected STBVorbisInfo | |
| public int | |
| public int | |
| protected STBVorbisInfo. | |
| public int | |
| public int | |
| public int |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final STBVorbisInfo ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| channels | back to summary |
|---|---|
public int channels()
| |
| getElementFactory | back to summary |
|---|---|
| protected STBVorbisInfo getElementFactory() Implements abstract org.
| |
| max_frame_size | back to summary |
|---|---|
public int max_frame_size()
| |
| sample_rate | back to summary |
|---|---|
public int sample_rate()
| |
| self | back to summary |
|---|---|
| protected STBVorbisInfo. Implements abstract org.
| |
| setup_memory_required | back to summary |
|---|---|
public int setup_memory_required()
| |
| setup_temp_memory_required | back to summary |
|---|---|
public int setup_temp_memory_required()
| |
| temp_memory_required | back to summary |
|---|---|
public int temp_memory_required()
| |