spLinkSounds

Branch at end of one sound to beginning of another.

Synopsis

Err spLinkSounds (SPSound *fromSound, SPSound *toSound)

Description

This is a convenient macro for linking multiple sounds together. It simply does this:

spBranchAtMarker (fromSound, SP_MARKER_NAME_END, toSound, SP_MARKER_NAME_BEGIN)

Arguments

fromSound
Pointer to SPSound to link from.
toSound
Pointer to SPSound to link to the end of fromsound.

Return Value

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

Implementation

Macro implemented in soundplayer.h V24.

Notes

Both SPSounds must belong to the same SPPlayer.

Associated Files

soundplayer.h, music.lib

See Also

spBranchAtMarker(), spLoopSound()