Mac OS 9
SynthesizerConnections Struct Reference

#include <QuickTimeMusic.h>

Data Fields

OSType clientID
 
OSType inputPortID
 
OSType outputPortID
 
long midiChannel
 
long flags
 
long unique
 
FSSpecPtr sampleBankFile
 
long reserved2
 

Detailed Description

The sampleBankFile field of this structure can be used to pass in a pointer to an FSSpec that specifies 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.


The documentation for this struct was generated from the following file: