Class EOS_RTCAudio_AudioBuffer
java.lang.Object
com.sun.jna.Structure
host.anzo.eossdk.eos.sdk.rtcaudio.EOS_RTCAudio_AudioBuffer
- Direct Known Subclasses:
EOS_RTCAudio_AudioBuffer.ByReference,EOS_RTCAudio_AudioBuffer.ByValue
@FieldOrder({"ApiVersion","Frames","FramesCount","SampleRate","Channels"})
public class EOS_RTCAudio_AudioBuffer
extends com.sun.jna.Structure
This struct is used to represent an audio buffer received in callbacks from EOS_RTCAudio_AddNotifyAudioBeforeSend and EOS_RTCAudio_AddNotifyAudioBeforeRender.
- Since:
- 11/2/2023
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField -
Field Summary
FieldsModifier and TypeFieldDescriptionintAPI Version: Set this toEOS_RTCAUDIO_AUDIOBUFFER_API_LATEST.intNumber of channels for the samples in the Frames buffer.static final intThe most recent version of the EOS_RTCAudio_AudioBuffer APIPointer to the data with the interleaved audio frames in signed 16 bits format.intNumber of frames available in the Frames buffer.
This is the number of frames in a channel, not the total number of frames in the buffer!intSample rate for the samples in the Frames buffer.Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sun.jna.Structure
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, writeField
-
Field Details
-
EOS_RTCAUDIO_AUDIOBUFFER_API_LATEST
public static final int EOS_RTCAUDIO_AUDIOBUFFER_API_LATESTThe most recent version of the EOS_RTCAudio_AudioBuffer API- See Also:
-
ApiVersion
public int ApiVersionAPI Version: Set this toEOS_RTCAUDIO_AUDIOBUFFER_API_LATEST. -
Frames
Pointer to the data with the interleaved audio frames in signed 16 bits format. -
FramesCount
public int FramesCountNumber of frames available in the Frames buffer.
This is the number of frames in a channel, not the total number of frames in the buffer! -
SampleRate
public int SampleRateSample rate for the samples in the Frames buffer. -
Channels
public int ChannelsNumber of channels for the samples in the Frames buffer.
-
-
Constructor Details
-
EOS_RTCAudio_AudioBuffer
public EOS_RTCAudio_AudioBuffer() -
EOS_RTCAudio_AudioBuffer
public EOS_RTCAudio_AudioBuffer(com.sun.jna.Pointer peer)
-