effectshandler
Typical usage scenario:
During program initialization:
ehInitEffectsHandler() to allocate and initialize
the effects handler.
ehNewMixerInfo() to load a mixer and initialize a
mixerInfo structure.
ehLoadSoundEffect() to load a sample as a sound
effect and initialize a sampleInfo structure.
ehSetChannelLevels() for each sound
effect.
ehSetChannelLevels() for a given sound effect to
adjust its player's output levels. Issue calls which control the sound
effects player instrument (the SampleInfo's si_Player structure member).
ehDisposeSampleInfo() for each sound effect.
ehDisposeMixerInfo() for the mixer.
ehKillEffectsHandler(). Close the audio folio.
ehNewSampleInfo() and ehSetupSamplePlayer().
When you want to connect the player to the mixer, call
ehConnectSamplePlayer().