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
|
alHeapInitSyntax#include <libaudio.h> void alHeapInit(ALHeap *hp, u8 *base, s32 len); Arguments
Explanation The audio heap functionality provides a convenient way to ensure that buffers are aligned to 16-byte boundaries. This is highly recommended for any buffer that is shared between the reality serial processor (RSP) and the central processing unit (CPU). After the audio library is initialized and the application has allocated all the buffers that it needs, the heap structure can be examined to see if the amount of space originally allocated for the heap was of the appropriate size. This is especially important because memory allocated from audio heaps cannot be freed. See Also alHeapAlloc alHeapCheck alInit alSeqpNew alCSPNew alSndpNew
|