spLoopSound

Branch at end of sound back to the beginning.

Synopsis

Err spLoopSound (SPSound *sound)

Description

This is a convenient macro for looping a single sound. It simply does this:

spBranchAtMarker (sound, SP_MARKER_NAME_END, sound, SP_MARKER_NAME_BEGIN)

Arguments

sound
Pointer to SPSound to loop.

Return Value

Non-negative value on success; negative error code on failure.

Implementation

Macro implemented in soundplayer.h V24.

Associated Files

soundplayer.h, music.lib

See Also

spBranchAtMarker(), spLinkSounds()