N64® Functions Menu

al - Audio Library Functions
gDP - DP GBI Macros
gdSP - General GBI Macros
gSP - SP GBI Macros
gt - Turbo Microcode RDP
gu - Graphics Utilities
Math - Math Functions
nuSys - NuSystem
os - N64 Operating System
sp - Sprite Library Functions
uh - Host to Target IO
64DD - N64 Disk Drive

Nintendo® Confidential

## n_alSynAllocFx

Syntax

    #include <n_libaudio.h>
    ALFxRef n_alSynAllocFx(s16 bus, ALSynConfig *c, ALHeap *hp);

Arguments

- bus is the auxiliary bus that feeds the allocated effect
- c is the pointer to a synthesizer configuration structure
- hp is the pointer to the heap used for the effect structure

Explanation
This function is available in the n_audio library. It allocates and assigns an effect processor to an auxiliary bus, and it returns a reference number. The effect uses memory allocated from the heap.
Note
This function is called when the application calls n_alInit, provided the configuration structure passed to n_alInit does not have the effects type parameter set to AL_FX_NONE. Usually, your application should not call this function (n_alSynAllocFX) directly.
See Also
n_alSynFreeFX
n_alSynSetFXMix
n_alSynSetFXParam
n_alInit

Nintendo® Confidential Warning: all information in this document is confidential and covered by a non-disclosure agreement. You are responsible for keeping this information confidential and protected. Nintendo will vigorously enforce this responsibility.
Copyright © 1998
Nintendo of America Inc. All rights reserved
Nintendo and N64 are registered trademarks of Nintendo
Last Updated April, 1999