org.rococoa.cocoa.quicktime
Class SCAudioFormatFlagsRestrictions

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure
          extended by 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.


Nested Class Summary
static class SCAudioFormatFlagsRestrictions.ByReference
           
static class SCAudioFormatFlagsRestrictions.ByValue
           
 
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.
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
SCAudioFormatFlagsRestrictions()
           
SCAudioFormatFlagsRestrictions(int formatFlagsMask, int formatFlagsValues)
           
 
Method Summary
 SCAudioFormatFlagsRestrictions.ByReference byReference()
           
 SCAudioFormatFlagsRestrictions.ByValue byValue()
           
 SCAudioFormatFlagsRestrictions clone()
           
 
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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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.

Constructor Detail

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.
Method Detail

byReference

public SCAudioFormatFlagsRestrictions.ByReference byReference()

byValue

public SCAudioFormatFlagsRestrictions.ByValue byValue()

clone

public SCAudioFormatFlagsRestrictions clone()
Overrides:
clone in class Object