Package org.robovm.apple.coreaudio
Class AudioStreamBasicDescription
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.rt.bro.Struct<AudioStreamBasicDescription>
-
- org.robovm.apple.coreaudio.AudioStreamBasicDescription
-
- All Implemented Interfaces:
java.lang.Iterable<AudioStreamBasicDescription>
public class AudioStreamBasicDescription extends org.robovm.rt.bro.Struct<AudioStreamBasicDescription>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AudioStreamBasicDescription.AudioStreamBasicDescriptionPtr
-
Field Summary
Fields Modifier and Type Field Description static double
AnyRate
-
Constructor Summary
Constructors Constructor Description AudioStreamBasicDescription()
AudioStreamBasicDescription(double sampleRate, AudioFormat format, AudioFormatFlags formatFlags, int bytesPerPacket, int framesPerPacket, int bytesPerFrame, int channelsPerFrame, int bitsPerChannel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBitsPerChannel()
int
getBytesPerFrame()
int
getBytesPerPacket()
int
getChannelsPerFrame()
AudioFormat
getFormat()
AudioFormatFlags
getFormatFlags()
int
getFramesPerPacket()
double
getSampleRate()
AudioStreamBasicDescription
setBitsPerChannel(int bitsPerChannel)
AudioStreamBasicDescription
setBytesPerFrame(int bytesPerFrame)
AudioStreamBasicDescription
setBytesPerPacket(int bytesPerPacket)
AudioStreamBasicDescription
setChannelsPerFrame(int channelsPerFrame)
AudioStreamBasicDescription
setFormat(AudioFormat format)
AudioStreamBasicDescription
setFormatFlags(AudioFormatFlags formatFlags)
AudioStreamBasicDescription
setFramesPerPacket(int framesPerPacket)
AudioStreamBasicDescription
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
-
-
-
-
Field Detail
-
AnyRate
public static final double AnyRate
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AudioStreamBasicDescription
public AudioStreamBasicDescription()
-
AudioStreamBasicDescription
public AudioStreamBasicDescription(double sampleRate, AudioFormat format, AudioFormatFlags formatFlags, int bytesPerPacket, int framesPerPacket, int bytesPerFrame, int channelsPerFrame, int bitsPerChannel)
-
-
Method Detail
-
getSampleRate
public double getSampleRate()
-
setSampleRate
public AudioStreamBasicDescription setSampleRate(double sampleRate)
-
getFormat
public AudioFormat getFormat()
-
setFormat
public AudioStreamBasicDescription setFormat(AudioFormat format)
-
getFormatFlags
public AudioFormatFlags getFormatFlags()
-
setFormatFlags
public AudioStreamBasicDescription setFormatFlags(AudioFormatFlags formatFlags)
-
getBytesPerPacket
public int getBytesPerPacket()
-
setBytesPerPacket
public AudioStreamBasicDescription setBytesPerPacket(int bytesPerPacket)
-
getFramesPerPacket
public int getFramesPerPacket()
-
setFramesPerPacket
public AudioStreamBasicDescription setFramesPerPacket(int framesPerPacket)
-
getBytesPerFrame
public int getBytesPerFrame()
-
setBytesPerFrame
public AudioStreamBasicDescription setBytesPerFrame(int bytesPerFrame)
-
getChannelsPerFrame
public int getChannelsPerFrame()
-
setChannelsPerFrame
public AudioStreamBasicDescription setChannelsPerFrame(int channelsPerFrame)
-
getBitsPerChannel
public int getBitsPerChannel()
-
setBitsPerChannel
public AudioStreamBasicDescription setBitsPerChannel(int bitsPerChannel)
-
-