FSOUND_Stream_SetLoopPoints

##### [API function]

## FSOUND_Stream_SetLoopPoints

Sets the loop points for a stream.

DLL_API signed char F_API FSOUND_Stream_SetLoopPoints(
FSOUND_STREAM *stream,
unsigned int loopstart,
unsigned int loopend
);

### Parameters

stream | The stream to set the loop points on.
loopstart | The start of the loop, specified in PCM SAMPLES.
loopend | The end of the loop, specified in PCM SAMPLES.

### Return Value

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

### Remarks

For streams, setting looppoints is reasonably accurate but should not be assumed to be perfectly sample accurate in all cases.
It depends on the compression format in some cases as seek positions need to be rounded to the nearest compression block offset.
FSOUND_MPEGACCURATE will need to be used with mp3 files that use VBR encoding for more accuracy.
You cannot call this function wile the stream is playing, it has to be stopped.
___________________
Supported on the following platforms : Win32, WinCE, Linux, Macintosh, XBox, PlayStation 2, GameCube

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