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

## alSeqSetLoc

Syntax

    #include <libaudio.h>
    void alSeqSetLoc(ALSeq *seq, ALSeqMarker *marker);

Arguments

- seq is the pointer to the sequence
- marker is the marker containing the new sequence location

Explanation
It sets the sequence player location to be that specified in the marker argument. The marker should have been previously initialized by calling the alSeqNewMarker or alSeqGetLoc function.
Note
Changing the location of the sequence does not revert the channel arguments (pan, vol, priority, FXMix) to the values that would exist if the sequence was played from the beginning to the new location. Channel arguments remain what they were prior to the alSeqSetLoc call. As a result, you may need to have the sequence to imbed controllers for updating the channel arguments, or have the application make calls to set the channel arguments directly.
See Also
alSeqNewMarker
alSeqGetLoc

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