int cre_init (int driver, int head, int sources, int mode);
Initializes the AuSIM3D renderer with the designated driver type ("driver"),
allocating resources to support the designated listener ("head")
with the specified number of sound sources ("sources").
driver
Historically, the "driver" parameter selected the DSP binary to download to the DSP silicon.
AuSIM systems recognize all of the CRE driver types and emulates them.
Additional new AuSIM driver types extend functionality to new sample rates and other features.
head
The "head" parameter specifies which listener is being initialized.
The CRE_TRON API supports as many listeners in a shared virtual aural environment
as the hardware will support.
AuSIM allows listeners to be initialized in any order.
A head ID of "0" allocates the first pair of audio outputs.
sources
The "sources" parameter specifies how many sound sources in the aural environment
that the specified listener will be listening to.
The total number of sound sources in a shared virtual aural environment
will be the max of all listeners initialized.
mode
The "mode" parameter controls advanced features of initialization and client-server settings.
Please see the AuSIM user guide for details.
Many object properties are cached in the server until the end of a simulation frame.
Demarks the end of a frame and thus synchronizes all property changes
since the last frame to be set into the audio stream simultaneously.
Selects a signal source for a sound source.
The parameter input = -1 selects no real-time channel.
Wavefiles may be mixed independent of this selection.