#include <revolution.h> #include <revolution/sp.h> void SPPrepareEnd(SPSoundEntry *sound, AXVPB *axvpb);
| sound | Pointer to an SPSoundEntry structure |
|---|---|
| axvpb | Pointer to the AXVPB structure associated with an allocated AX voice |
None.
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.
2006/03/01 Initial version.
CONFIDENTIAL