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
|
|
alSndpNew
Syntax
#include <libaudio.h>
void alSndpNew(ALSndPlayer *sndp, ALSndpConfig *config);
Arguments
- sndp is the pointer to the sound player structure to initialize
- config is the pointer to the sound player configuration structure
Explanation
It initializes the sound player specified by the sndp argument for the configuration
specified by the config argument and signs into the synthesis driver as a client.
Note that it allocates memory from the (initialized) ALHeap referenced by
the config structure.
The values in the following data elements of the ALSndpConfig structure determine how much is allocated:
- maxSounds is the maximum number of sounds that can be allocated to the player.
- maxEvents is the maximum number of internal events to support.
- heap is a pointer to an initialized audio heap.
See Also
alHeapAlloc
|
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
|
|