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 to EOS_RTCAUDIO_AUDIOBUFFER_API_LATEST.intstatic final intThe most recent version of the EOS_RTCAudio_AudioBuffer APIPointer to the data with the interleaved audio frames in signed 16 bits format.intintFields 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 to EOS_RTCAUDIO_AUDIOBUFFER_API_LATEST. -
Frames
Pointer to the data with the interleaved audio frames in signed 16 bits format. -
FramesCount
public int FramesCount -
SampleRate
public int SampleRate -
Channels
public int Channels
-
-
Constructor Details
-
EOS_RTCAudio_AudioBuffer
public EOS_RTCAudio_AudioBuffer() -
EOS_RTCAudio_AudioBuffer
public EOS_RTCAudio_AudioBuffer(com.sun.jna.Pointer peer)
-