Previous Topic Index Next Topic
[API function]

FSOUND_Stream_AddSynchPoint

Adds a user synchronization callback point into a stream.

DLL_API int F_API FSOUND_Stream_AddSynchPoint(
FSOUND_STREAM *stream,
unsigned int pcmoffset,
int userdata
);

Parameters

stream The stream to add a synch point to.
pcmoffset Offset in SAMPLES (not bytes).
userdata The value to be passed in from the synch callback. This could be cast to a string or pointer.

Return Value

On success, a sync point index is returned.
On failure, -1 is returned.

Remarks

___________________
Supported on the following platforms : Win32, WinCE, Linux, Macintosh, XBox, PlayStation 2

See Also

FSOUND_Stream_DeleteSynchPoint , FSOUND_Stream_GetNumSynchPoints , FSOUND_Stream_SetSynchCallback

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.