[API function]
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 start 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.
___________________
Supported on the following platforms : Win32, WinCE, Linux, Macintosh, XBox, PlayStation 2
This document copyright ©Firelight Technologies, Pty, Ltd, 1999-2002. All rights reserved.
Generated Fri Dec 20 16:31:09 2002
by SourceDoc v0.10, the automated source code documenter.