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:
Iterable<AudioStreamBasicDescription>
public class AudioStreamBasicDescription extends Struct<AudioStreamBasicDescription>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAudioStreamBasicDescription.AudioStreamBasicDescriptionPtrNested classes/interfaces inherited from class org.robovm.rt.bro.Struct
Struct.Marshaler -
Field Summary
Fields Modifier and Type Field Description static doubleAnyRate -
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
Modifier and Type Method Description intgetBitsPerChannel()intgetBytesPerFrame()intgetBytesPerPacket()intgetChannelsPerFrame()AudioFormatgetFormat()AudioFormatFlagsgetFormatFlags()intgetFramesPerPacket()doublegetSampleRate()AudioStreamBasicDescriptionsetBitsPerChannel(int bitsPerChannel)AudioStreamBasicDescriptionsetBytesPerFrame(int bytesPerFrame)AudioStreamBasicDescriptionsetBytesPerPacket(int bytesPerPacket)AudioStreamBasicDescriptionsetChannelsPerFrame(int channelsPerFrame)AudioStreamBasicDescriptionsetFormat(AudioFormat format)AudioStreamBasicDescriptionsetFormatFlags(AudioFormatFlags formatFlags)AudioStreamBasicDescriptionsetFramesPerPacket(int framesPerPacket)AudioStreamBasicDescriptionsetSampleRate(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, wrapMethods inherited from class org.robovm.rt.bro.NativeObject
equals, getHandle, hashCode, setHandle
-
Field Details
-
AnyRate
public static final double AnyRate- See Also:
- Constant Field Values
-
-
Constructor Details
-
AudioStreamBasicDescription
public AudioStreamBasicDescription() -
AudioStreamBasicDescription
public AudioStreamBasicDescription(double sampleRate, AudioFormat format, AudioFormatFlags formatFlags, int bytesPerPacket, int framesPerPacket, int bytesPerFrame, int channelsPerFrame, int bitsPerChannel)
-
-
Method Details
-
getSampleRate
public double getSampleRate() -
setSampleRate
-
getFormat
-
setFormat
-
getFormatFlags
-
setFormatFlags
-
getBytesPerPacket
public int getBytesPerPacket() -
setBytesPerPacket
-
getFramesPerPacket
public int getFramesPerPacket() -
setFramesPerPacket
-
getBytesPerFrame
public int getBytesPerFrame() -
setBytesPerFrame
-
getChannelsPerFrame
public int getChannelsPerFrame() -
setChannelsPerFrame
-
getBitsPerChannel
public int getBitsPerChannel() -
setBitsPerChannel
-