RewindSoundFile
Rewinds a sound file player.
Synopsis
int32 RewindSoundFile( SoundFilePlayer *sfp )
Description
This function rewinds a SoundFilePlayer data structure so that sound file playback will start from the beginning when the sound file is activated with StartSoundFile()
.
Arguments
- sfp
- A pointer to the SoundFilePlayer data structure.
Return Value
This function returns 0 if successful or an error code (a negative value) if an error occurs.
Implementation
Library call implemented in music.lib V20.
Associated Files
soundfile.h, music.lib
See Also
OpenSoundFile
(), CloseSoundFile(), DeleteSoundFilePlayer(), LoadSoundFile(), ReadSoundFile(), ServiceSoundFile(), StartSoundFile(), StopSoundFile(), UnloadSoundFile(), CreateSoundFilePlayer()