Package org.robovm.apple.audiotoolbox
Class AudioQueueBuffer
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.rt.bro.Struct<AudioQueueBuffer>
-
- org.robovm.apple.audiotoolbox.AudioQueueBuffer
-
- All Implemented Interfaces:
java.lang.Iterable<AudioQueueBuffer>
public class AudioQueueBuffer extends org.robovm.rt.bro.Struct<AudioQueueBuffer>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AudioQueueBuffer.AudioQueueBufferPtr
-
Constructor Summary
Constructors Constructor Description AudioQueueBuffer()
AudioQueueBuffer(long handle)
-
Method Summary
-
Methods inherited from class org.robovm.rt.bro.Struct
_sizeOf, allocate, allocate, as, clear, clear, copy, copy, copyWithMalloc, copyWithMalloc, free, iterator, iterator, malloc, malloc, next, next, offsetOf, previous, previous, sizeOf, sizeOf, toArray, toList, toStruct, update, update, update, wrap
-
-
-
-
Method Detail
-
setAudioData
public AudioQueueBuffer setAudioData(long dataPointer, int length)
-
setAudioData
public AudioQueueBuffer setAudioData(byte[] data)
-
setAudioData
public AudioQueueBuffer setAudioData(short[] data)
-
setAudioData
public AudioQueueBuffer setAudioData(int[] data)
-
setAudioData
public AudioQueueBuffer setAudioData(float[] data)
-
setAudioData
public AudioQueueBuffer setAudioData(java.nio.Buffer data)
-
getAudioDataAsBuffer
public <T extends java.nio.Buffer> T getAudioDataAsBuffer(java.lang.Class<T> bufferType)
-
getAudioDataAsByteArray
public byte[] getAudioDataAsByteArray()
-
getAudioDataAsShortArray
public short[] getAudioDataAsShortArray()
-
getAudioDataAsIntArray
public int[] getAudioDataAsIntArray()
-
getAudioDataAsFloatArray
public float[] getAudioDataAsFloatArray()
-
getPacketDescriptionCount
public int getPacketDescriptionCount()
-
getPacketDescription
public AudioStreamPacketDescription getPacketDescription(int index)
-
setPacketDescription
public AudioQueueBuffer setPacketDescription(int index, AudioStreamPacketDescription value)
-
getPacketDescriptions
public AudioStreamPacketDescription[] getPacketDescriptions()
-
setPacketDescriptions
public AudioQueueBuffer setPacketDescriptions(AudioStreamPacketDescription[] regions)
-
getAudioDataByteSize
protected int getAudioDataByteSize()
-
setAudioDataByteSize
protected AudioQueueBuffer setAudioDataByteSize(int audioDataByteSize)
-
getUserData
protected org.robovm.rt.bro.ptr.VoidPtr getUserData()
-
setUserData
protected AudioQueueBuffer setUserData(org.robovm.rt.bro.ptr.VoidPtr userData)
-
getPacketDescriptions0
protected AudioStreamPacketDescription.AudioStreamPacketDescriptionPtr getPacketDescriptions0()
-
setPacketDescriptions0
protected AudioQueueBuffer setPacketDescriptions0(AudioStreamPacketDescription.AudioStreamPacketDescriptionPtr packetDescriptions0)
-
getPacketDescriptionCount0
protected int getPacketDescriptionCount0()
-
setPacketDescriptionCount0
protected AudioQueueBuffer setPacketDescriptionCount0(int packetDescriptionCount0)
-
getAudioDataBytesCapacity
public int getAudioDataBytesCapacity()
-
getPacketDescriptionCapacity
public int getPacketDescriptionCapacity()
-
getDataPointer
public long getDataPointer()
-
setData0
protected AudioQueueBuffer setData0(long audioData)
-
-