org.rococoa.cocoa.quicktime
Class SoundDescriptionV1

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure
          extended by org.rococoa.cocoa.quicktime.SoundDescriptionV1
Direct Known Subclasses:
SoundDescriptionV1.ByReference, SoundDescriptionV1.ByValue

public class SoundDescriptionV1
extends com.ochafik.lang.jnaerator.runtime.Structure

version 1 of the SoundDescription record
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 SoundDescriptionV1.ByReference
           
static class SoundDescriptionV1.ByValue
           
 
Field Summary
 NativeLong bytesPerFrame
           
 NativeLong bytesPerPacket
           
 NativeLong bytesPerSample
           
 SoundDescription desc
           
 NativeLong samplesPerPacket
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
SoundDescriptionV1()
           
SoundDescriptionV1(SoundDescription desc, NativeLong samplesPerPacket, NativeLong bytesPerPacket, NativeLong bytesPerFrame, NativeLong bytesPerSample)
           
 
Method Summary
 SoundDescriptionV1.ByReference byReference()
           
 SoundDescriptionV1.ByValue byValue()
           
 SoundDescriptionV1 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

desc

public SoundDescription desc

samplesPerPacket

public NativeLong samplesPerPacket

bytesPerPacket

public NativeLong bytesPerPacket

bytesPerFrame

public NativeLong bytesPerFrame

bytesPerSample

public NativeLong bytesPerSample
Constructor Detail

SoundDescriptionV1

public SoundDescriptionV1()

SoundDescriptionV1

public SoundDescriptionV1(SoundDescription desc,
                          NativeLong samplesPerPacket,
                          NativeLong bytesPerPacket,
                          NativeLong bytesPerFrame,
                          NativeLong bytesPerSample)
Parameters:
desc - original fields
samplesPerPacket - fixed compression ratio information
Method Detail

byReference

public SoundDescriptionV1.ByReference byReference()

byValue

public SoundDescriptionV1.ByValue byValue()

clone

public SoundDescriptionV1 clone()
Overrides:
clone in class Object