spStop

Stops an SPPlayer

Synopsis

Err spStop (SPPlayer *player)

Description

Stops reading and sound playback.

Clears all SP_STATUS_F_ flags. Can be called regardless of SPPlayer's current state. Multiple calls have no effect.

Arguments

player
Pointer to SPPlayer to stop.

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

spStartReading(), spStartPlaying(), spGetPlayerStatus()