org.rococoa.cocoa.quicktime
Class SCAudioFormatFlagsRestrictions
java.lang.Object
com.sun.jna.Structure
com.ochafik.lang.jnaerator.runtime.Structure
org.rococoa.cocoa.quicktime.SCAudioFormatFlagsRestrictions
- Direct Known Subclasses:
- SCAudioFormatFlagsRestrictions.ByReference, SCAudioFormatFlagsRestrictions.ByValue
public class SCAudioFormatFlagsRestrictions
- extends com.ochafik.lang.jnaerator.runtime.Structure
SCAudioFormatFlagsRestrictions
Summary:
Struct describing the restrictions a client wishes to impose on
the mFormatFlags fields of an AudioStreamBasicDescription. In
formatFlagsMask, the client specifies the fields to be
restricted, and in formatFlagsValues, the client specifies the
restricted value of each field set in the mask.
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.
Field Summary |
int |
formatFlagsMask
NOTE: Currently QuickTime only supports restrictions on the
following bits: kAudioFormatFlagIsFloat,
kAudioFormatFlagIsBigEndian, kAudioFormatFlagIsSignedInteger. |
int |
formatFlagsValues
NOTE regarding the kAudioFormatFlagIsSignedInteger flag: Integer
samples over 8 bits must always be signed. |
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Structure |
setupClone |
Methods inherited from class com.sun.jna.Structure |
allocateMemory, allocateMemory, cacheTypeInfo, clear, ensureAllocated, equals, getAutoRead, getAutoWrite, getFieldOrder, getNativeAlignment, getPointer, getStructAlignment, hashCode, newInstance, read, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setTypeMapper, size, sortFields, toArray, toArray, toString, useMemory, useMemory, write, writeField, writeField |
formatFlagsMask
public int formatFlagsMask
- NOTE: Currently QuickTime only supports restrictions on the
following bits: kAudioFormatFlagIsFloat,
kAudioFormatFlagIsBigEndian, kAudioFormatFlagIsSignedInteger. If
other bits are set in the formatFlagsMask, paramErr will be
returned.
formatFlagsValues
public int formatFlagsValues
- NOTE regarding the kAudioFormatFlagIsSignedInteger flag: Integer
samples over 8 bits must always be signed. Setting this bit
applies to 8 bit integer samples only.
SCAudioFormatFlagsRestrictions
public SCAudioFormatFlagsRestrictions()
SCAudioFormatFlagsRestrictions
public SCAudioFormatFlagsRestrictions(int formatFlagsMask,
int formatFlagsValues)
- Parameters:
formatFlagsMask
- NOTE: Currently QuickTime only supports restrictions on the
following bits: kAudioFormatFlagIsFloat,
kAudioFormatFlagIsBigEndian, kAudioFormatFlagIsSignedInteger. If
other bits are set in the formatFlagsMask, paramErr will be
returned.
formatFlagsValues
- NOTE regarding the kAudioFormatFlagIsSignedInteger flag: Integer
samples over 8 bits must always be signed. Setting this bit
applies to 8 bit integer samples only.
byReference
public SCAudioFormatFlagsRestrictions.ByReference byReference()
byValue
public SCAudioFormatFlagsRestrictions.ByValue byValue()
clone
public SCAudioFormatFlagsRestrictions clone()
- Overrides:
clone
in class Object