SPPrepareEnd

Syntax

  #include <revolution.h>
  #include <revolution/sp.h>

  void SPPrepareEnd(SPSoundEntry *sound, AXVPB *axvpb);

Arguments

sound Pointer to an SPSoundEntry structure
axvpb Pointer to the AXVPB structure associated with an allocated AX voice

Return Values

None.

Description

The SPPrepareEnd function changes the voice type from looped to no loop. It also changes the end address of the voice from the SE loop end address (sound->loopEndAddr) to the data end address (sound->endAddr).

Note: The SPPrepareEnd function is used when the SE loop end address and data end address are different.

See Also

SPSoundEntry

Revision History

2006/03/01 Initial version.


CONFIDENTIAL