|
|
|
|
|
|
|||||||||||||||||||||||||
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 Mus - Mus Library nuSys - NuSystem os - N64 Operating System sp - Sprite Library Functions uh - Host to Target IO 64DD - N64 Disk Drive
|
![]() |
MusHandleWaveAddress()Get the wave lookup table address. Syntax unsigned short *MusHandleWaveAddress(musHandle handle); Arguments
Explanation
The handle must be a sound handle returned by MusStartSong(), MusStartSongFromMarker(), MusStartEffect() or MusStartEffect2() functions. If an handle of zero is supplied, this function will always return zero. Return Value
Example unsigned short *DuplicateLookUp(musHandle handle)
{
int I, count;
unsigned short *src, *dest;
count = MusHandleWaveCount(handle);
dest = MemMalloc(sizeof(unsigned short)*count);
src = MusHandleWaveAddress(handle);
for (I=0; I<count; I++)
dest[I]=src[I];
return (dest);
}
See Also
|
|||||||||||||||||||||||||||