|
Mac OS 9
|
#include <QuickTimeMusic.h>
Data Fields | |
| OSType | clientID |
| OSType | inputPortID |
| OSType | outputPortID |
| long | midiChannel |
| long | flags |
| long | unique |
| FSSpecPtr | sampleBankFile |
| long | reserved2 |
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:
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.