@Structure.FieldOrder(value={"ApiVersion","Frames","FramesCount","SampleRate","Channels"})
public class EOS_RTCAudio_AudioBuffer
extends com.sun.jna.Structure
| Modifier and Type | Class and Description |
|---|---|
static class |
EOS_RTCAudio_AudioBuffer.ByReference |
static class |
EOS_RTCAudio_AudioBuffer.ByValue |
| Modifier and Type | Field and Description |
|---|---|
int |
ApiVersion
API Version: Set this to
EOS_RTCAUDIO_AUDIOBUFFER_API_LATEST. |
int |
Channels
Number of channels for the samples in the Frames buffer.
|
static int |
EOS_RTCAUDIO_AUDIOBUFFER_API_LATEST
The most recent version of the EOS_RTCAudio_AudioBuffer API
|
java.nio.ShortBuffer |
Frames
Pointer to the data with the interleaved audio frames in signed 16 bits format.
|
int |
FramesCount
Number of frames available in the Frames buffer.
|
int |
SampleRate
Sample rate for the samples in the Frames buffer.
|
| Constructor and Description |
|---|
EOS_RTCAudio_AudioBuffer() |
EOS_RTCAudio_AudioBuffer(com.sun.jna.Pointer peer) |
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeFieldpublic static final int EOS_RTCAUDIO_AUDIOBUFFER_API_LATEST
public int ApiVersion
EOS_RTCAUDIO_AUDIOBUFFER_API_LATEST.public java.nio.ShortBuffer Frames
public int FramesCount
public int SampleRate
public int Channels