[API function]
Sets the current position of the sound in SAMPLES not bytes.
signed char F_API FSOUND_SetCurrentPosition(
int channel,
unsigned int pos
);
Parameters
channel |
The channel to have its offset or position set.
|
offset |
The offset in SAMPLES from the start of the sound for the position to be set to.
|
Return Value
On success, TRUE is returned.
On failure, FALSE is returned.
Remarks
On XBOX, GameCube and Playstation 2 hardware voices using compressed data (ie XADPCM, VAG or GCADPCM),
this value will not be sample accurate, but will be rounded to the nearest compression block size.
___________________
Supported on the following platforms : Win32, WinCE, Linux, Macintosh, XBox, PlayStation 2
See Also
FSOUND_GetCurrentPosition
,
FSOUND_SetFrequency
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.