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

   

nuAuSndPlayerSetPan

Format
void nuAuSndPlayerSetPan(ALPan pan)

Arguments
  • pan is the pan value (0 - 127)
Returned Value
none

What This Macro Does
It sets the pan value of the sound in the sound player. This is used immediately after the nuAuSndPlayerPlay function or after the sound in question has been specified by the nuAuSndPlayerSetSound function. A value of 0 is completely to the left, 64 is in the middle, and 127 is completely to the right. Note that the pan value here is added to the pan value of the sound in the sound bank. If a sound is being played, that pan value is corrected. Otherwise the function affects the pan value of sounds when they are played.

See Also
alSndpSetPan



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 January 1998