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

## alSynAllocFx

Syntax

    #include <libaudio.h>
    ALFxRef   alSynAllocFx(ALSynth *drvr, s16 bus, ALSynConfig *c, ALHeap *hp);

Arguments

- drvr is the pointer to the synthesizer driver
- 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 to use for effect structures

Explanation
It allocates and assigns an effect processor to an auxiliary bus, and it returns a reference number. The effect uses memory allocated from heap.
Note
This function is called when the application calls alInit, provided the configuration structure passed to alInit does not have the effects type parameter set to AL_FX_NONE. Usually, your application should not call this function (alSynAllocFX) directly.
See Also
alSynFreeFX
alSynSetFXMix
alSynSetFXParam
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