Previous Topic Index Next Topic
[API function]

FSOUND_Stream_GetSyncPointInfo

Retrieves the name and pcm offset in samples for a specified sync point.

char * F_API FSOUND_Stream_GetSyncPointInfo(
FSOUND_SYNCPOINT *point,
unsigned int *pcmoffset
);

Parameters

point The handle to the sync point to retrieve information from.
pcmoffset A pointer to an integer that will receive the sync point offset in pcm SAMPLES. A value of NULL will be ignored.

Return Value

On success, the name of the syncpoint is returned as a string.
On failure, NULL is returned.

Remarks

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_AddSyncPoint , FSOUND_Stream_GetNumSyncPoints , FSOUND_Stream_GetSyncPoint , FSOUND_Stream_SetSyncCallback

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.