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
|
alHeapAllocFormat#include <libaudio.h> void *alHeapAlloc(ALHeap *hp, s32 num, s32 size); Arguments
It allocates cache-aligned memory from an audio DRAM heap. In the debug version of the libultra library (libultra_d), this function also inserts some debugging information that allows the alHeapCheck function to test for heap consistency. Note Most memory management schemes allocate additional memory for region headers to facilitate the management of the memory region. The non-debug version of this function does not allocate any memory other than that requested or required for cache alignment. As a result, memory allocated from audio heaps cannot be freed. Note that cache alignment is important for structures that contain elements shared with the reality co-processor (RCP). See Also alHeapInit alHeapCheck
|