Previous Topic Index Next Topic
[API function]

FMUSIC_SetLooping

Sets looping mode for midi and mod files.

signed char F_API FMUSIC_SetLooping(
FMUSIC_MODULE *mod,
signed char looping
);

Parameters

mod Pointer to the song.
looping Set to TRUE to make it loop forever, or FALSE to only have it play once.

Return Value

On success, TRUE is returned.
On failure, FALSE is returned.

Remarks

Defaults to TRUE. To disable looping you must call this function using FALSE as the parameter.
For midi files this only takes effect before FMUSIC_PlaySong is called. For mod files this
can be called at any time including during playback.
___________________
Supported on the following platforms : Win32, WinCE, Linux, Macintosh, XBox, PlayStation 2, GameCube

See Also

FMUSIC_PlaySong

This document copyright ©Firelight Technologies, Pty, Ltd, 1999-2002. All rights reserved.
Generated Thu Dec 15 17:31:26 2005 by SourceDoc v0.10, the automated source code documenter.