org.rococoa.cocoa.quicktime
Class SynthesizerConnections
java.lang.Object
com.sun.jna.Structure
com.ochafik.lang.jnaerator.runtime.Structure
org.rococoa.cocoa.quicktime.SynthesizerConnections
- Direct Known Subclasses:
- SynthesizerConnections.ByReference, SynthesizerConnections.ByValue
public class SynthesizerConnections
- extends com.ochafik.lang.jnaerator.runtime.Structure
The sampleBankFile field of this structure can be used to pass in a pointer to an FSSpec
that represents a SoundFont 2 or DLS file (otherwise set it to NULL ).
You then pass in a structure with this field set (all other fields should be zero) to
NARegisterMusicDevice:
- with synthType as kSoftSynthComponentSubType
- with name being used to return to the application the "name" of the synth
that should be used in the synthesiserName field of the ToneDescription structure
and is also used to retrieve a particular MusicComponent with the
NAGetRegisteredMusicDevice call
This call will create a MusicComponent of kSoftSynthComponentSubType, with the specified
sound bank as the sample data source.
This field requires QuickTime 5.0 or later and should be set to NULL for prior versions.
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.
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 |
clientID
public int clientID
inputPortID
public int inputPortID
outputPortID
public int outputPortID
midiChannel
public NativeLong midiChannel
flags
public NativeLong flags
unique
public NativeLong unique
sampleBankFile
public FSSpec.ByReference sampleBankFile
reserved2
public NativeLong reserved2
SynthesizerConnections
public SynthesizerConnections()
SynthesizerConnections
public SynthesizerConnections(int clientID,
int inputPortID,
int outputPortID,
NativeLong midiChannel,
NativeLong flags,
NativeLong unique,
FSSpec.ByReference sampleBankFile,
NativeLong reserved2)
- Parameters:
inputPortID
- terminology death: this port is used to SEND to the midi synth
outputPortID
- terminology death: this port receives from a keyboard or other control device
midiChannel
- The system channel; others are configurable (or the nubus slot number)
unique
- unique id may be used instead of index, to getinfo and unregister calls
sampleBankFile
- see notes above
reserved2
- should be zero
byReference
public SynthesizerConnections.ByReference byReference()
byValue
public SynthesizerConnections.ByValue byValue()
clone
public SynthesizerConnections clone()
- Overrides:
clone
in class Object