alSeqSetLoc (function)

alSeqSetLoc

Sets the current sequence location

Syntax

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

Arguments

seq
Pointer to the sequence

marker
Marker containing the new sequence location

Description

alSeqSetLoc 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 embed controllers for updating the channel arguments, or have the application make calls to set the channel arguments directly.

See Also

alSeqNewMarker, alSeqGetLoc

Revision History

1999/04/30 Changed Format