Previous Topic Index Next Topic
[API function]

FSOUND_STREAMCALLBACK

Callback used with user streams.

signed char FSOUND_STREAMCALLBACK(
FSOUND_STREAM *stream,
void *buff,
int len,
int param
);

Parameters

stream Pointer to the stream in question.
buff from FSOUND_Stream_Create - Pointer to the stream data buffer to write to
from FSOUND_Stream_SetEndCallback - NULL
from FSOUND_Stream_SetSynchCallback - Pointer to a string
len from FSOUND_Stream_Create - Length of buffer specified in BYTES.
from FSOUND_Stream_SetEndCallback - 0
from FSOUND_Stream_SetSynchCallback - 0
param A user data value specified from FSOUND_Stream_Create,

Return Value

If created by FSOUND_Stream_Create -
To allow the stream to continue, TRUE is returned.
To stop the stream, FALSE is returned.
The return value is ignored if created by FSOUND_Stream_SetEndCallback or FSOUND_Stream_SetSynchCallback

Remarks

WMA/ASF/Internet streaming do not support stream callbacks.
___________________
Supported on the following platforms : Win32, WinCE, Linux, Macintosh, XBox, PlayStation 2

See Also

FSOUND_Stream_Create , FSOUND_Stream_SetEndCallback , 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.