spResume

Resume playback of an SPPlayer after being paused.

Synopsis

Err spResume (SPPlayer *player)

Description

Resumes playback of an SPPlayer after being paused.

Clears the SP_STATUS_F_PAUSED flag. Calling spResume() multiple times has no effect, the calls do not nest. Calling spResume() while the SPPlayer is the SP_STATUS_F_PLAYING flag is not set has no effect. The paused state is superceded by a call to spStop() or spStartPlaying().

There is presently no way to know if an SPPlayer is paused.

Arguments

player
Pointer to SPPlayer to resume.

Return Value

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

Implementation

Library call implemented in music.lib V24.

Associated Files

soundplayer.h, music.lib

See Also

spPause(), spStartPlaying(), spStop()