org.rococoa.cocoa.coreaudio
Class AudioBuffer

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

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


Nested Class Summary
static class AudioBuffer.ByReference
           
static class AudioBuffer.ByValue
           
 
Field Summary
 Pointer mData
           
 int mDataByteSize
           
 int mNumberChannels
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
AudioBuffer()
           
AudioBuffer(int mNumberChannels, int mDataByteSize, Pointer mData)
           
 
Method Summary
 AudioBuffer.ByReference byReference()
           
 AudioBuffer.ByValue byValue()
           
 AudioBuffer 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

mNumberChannels

public int mNumberChannels

mDataByteSize

public int mDataByteSize

mData

public Pointer mData
Constructor Detail

AudioBuffer

public AudioBuffer()

AudioBuffer

public AudioBuffer(int mNumberChannels,
                   int mDataByteSize,
                   Pointer mData)
Method Detail

byReference

public AudioBuffer.ByReference byReference()

byValue

public AudioBuffer.ByValue byValue()

clone

public AudioBuffer clone()
Overrides:
clone in class Object