[API function]
Retrieves the name and pcm offset in samples for a specified sync point.
char * F_API FSOUND_Stream_GetSynchPointInfo(
FSOUND_STREAM *stream,
int index,
unsigned int *pcmoffset
);
Parameters
stream |
The stream to remove the synch point info from.
|
index |
The synch point index.
|
pcmoffset |
The synch point offset in pcm SAMPLES.
|
Return Value
On success, the name of the synchpoint is returned as a string.
On failure, NULL is returned.
Remarks
The index is not nescessarily in order of playback. Use the return value from FSOUND_Stream_AddSynchPoint.
Convert samples to time by dividing the PCM value by the default samplerate. This would give you the value in seconds. Multiply by 1000 to get milliseconds.
___________________
Supported on the following platforms : Win32, WinCE, Linux, Macintosh, XBox, PlayStation 2, GameCube
See Also
FSOUND_Stream_AddSynchPoint
,
FSOUND_Stream_GetNumSynchPoints
,
FSOUND_Stream_SetSynchCallback
This document copyright ©Firelight Technologies, Pty, Ltd, 1999-2002. All rights reserved.
Generated Fri Jul 11 16:00:55 2003
by SourceDoc v0.10, the automated source code documenter.