org.rococoa.cocoa.quicktime
Class QTAudioFrequencyLevels

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

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

GetMovieAudioFrequencyLevels:
This API returns the current frequency meter levels of the movie. pAveragePowerLevels should
have its numChannels field set to the number of channels being metered, and its numBands field
set to the number of bands being metered (as previously configured). pAveragePowerLevels must be
allocated large enough to hold levels for all bands in all channels. The levels are returned with
all the band levels for the first channel first, then all the band levels for the second channel, etc.
whatMixToMeter must be set to the same value that was passed most recently to
SetMovieAudioFrequencyMeteringNumBands().
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 QTAudioFrequencyLevels.ByReference
           
static class QTAudioFrequencyLevels.ByValue
           
 
Field Summary
 float[] level
           
 int numChannels
           
 int numFrequencyBands
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
QTAudioFrequencyLevels()
           
QTAudioFrequencyLevels(int numChannels, int numFrequencyBands, float[] level)
           
 
Method Summary
 QTAudioFrequencyLevels.ByReference byReference()
           
 QTAudioFrequencyLevels.ByValue byValue()
           
 QTAudioFrequencyLevels 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

numChannels

public int numChannels

numFrequencyBands

public int numFrequencyBands

level

public float[] level
Constructor Detail

QTAudioFrequencyLevels

public QTAudioFrequencyLevels()

QTAudioFrequencyLevels

public QTAudioFrequencyLevels(int numChannels,
                              int numFrequencyBands,
                              float[] level)
Method Detail

byReference

public QTAudioFrequencyLevels.ByReference byReference()

byValue

public QTAudioFrequencyLevels.ByValue byValue()

clone

public QTAudioFrequencyLevels clone()
Overrides:
clone in class Object