Package org.robovm.apple.audiotoolbox
Class CAFAudioDescription
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.rt.bro.Struct<CAFAudioDescription>
-
- org.robovm.apple.audiotoolbox.CAFAudioDescription
-
- All Implemented Interfaces:
java.lang.Iterable<CAFAudioDescription>
public class CAFAudioDescription extends org.robovm.rt.bro.Struct<CAFAudioDescription>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CAFAudioDescription.CAFAudioDescriptionPtr
-
Constructor Summary
Constructors Constructor Description CAFAudioDescription()
CAFAudioDescription(double sampleRate, AudioFormat format, CAFFormatFlags formatFlags, int bytesPerPacket, int framesPerPacket, int channelsPerFrame, int bitsPerChannel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBitsPerChannel()
int
getBytesPerPacket()
int
getChannelsPerFrame()
AudioFormat
getFormat()
CAFFormatFlags
getFormatFlags()
int
getFramesPerPacket()
double
getSampleRate()
CAFAudioDescription
setBitsPerChannel(int bitsPerChannel)
CAFAudioDescription
setBytesPerPacket(int bytesPerPacket)
CAFAudioDescription
setChannelsPerFrame(int channelsPerFrame)
CAFAudioDescription
setFormat(AudioFormat format)
CAFAudioDescription
setFormatFlags(CAFFormatFlags formatFlags)
CAFAudioDescription
setFramesPerPacket(int framesPerPacket)
CAFAudioDescription
setSampleRate(double sampleRate)
-
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
-
-
-
-
Constructor Detail
-
CAFAudioDescription
public CAFAudioDescription()
-
CAFAudioDescription
public CAFAudioDescription(double sampleRate, AudioFormat format, CAFFormatFlags formatFlags, int bytesPerPacket, int framesPerPacket, int channelsPerFrame, int bitsPerChannel)
-
-
Method Detail
-
getSampleRate
public double getSampleRate()
-
setSampleRate
public CAFAudioDescription setSampleRate(double sampleRate)
-
getFormat
public AudioFormat getFormat()
-
setFormat
public CAFAudioDescription setFormat(AudioFormat format)
-
getFormatFlags
public CAFFormatFlags getFormatFlags()
-
setFormatFlags
public CAFAudioDescription setFormatFlags(CAFFormatFlags formatFlags)
-
getBytesPerPacket
public int getBytesPerPacket()
-
setBytesPerPacket
public CAFAudioDescription setBytesPerPacket(int bytesPerPacket)
-
getFramesPerPacket
public int getFramesPerPacket()
-
setFramesPerPacket
public CAFAudioDescription setFramesPerPacket(int framesPerPacket)
-
getChannelsPerFrame
public int getChannelsPerFrame()
-
setChannelsPerFrame
public CAFAudioDescription setChannelsPerFrame(int channelsPerFrame)
-
getBitsPerChannel
public int getBitsPerChannel()
-
setBitsPerChannel
public CAFAudioDescription setBitsPerChannel(int bitsPerChannel)
-
-