Previous Topic Index Next Topic
[API function]

FSOUND_Stream_Net_SetMetadataCallback

Set a metadata callback for an internet stream.

signed char F_API FSOUND_Stream_Net_SetMetadataCallback(
FSOUND_STREAM *stream,
FSOUND_METADATACALLBACK callback,
void *userdata
);

Parameters

stream The stream to set the metadata callback for.
callback Pointer to the metadata callback function to attach to this stream.
userdata User-defined value that will be passed to the supplied metadata callback function in the userdata parameter.

Return Value

On success, TRUE is returned.
On failure, FALSE is returned.

Remarks

The supplied metadata callback function will be called each time the specified internet stream receives a chunk of metadata.
Do not do any time-consuming processing in a metadata callback function or network subsystem performance may degrade.
Do not attempt to modify or free any memory passed to a metadata callback function.
___________________
Supported on the following platforms : Win32, Macintosh, Linux

See Also

, FSOUND_METADATACALLBACK , FSOUND_Stream_Close , FSOUND_Stream_Net_GetBufferProperties , FSOUND_Stream_Net_GetLastServerStatus , FSOUND_Stream_Net_GetStatus , FSOUND_Stream_Net_SetBufferProperties , FSOUND_Stream_Net_SetProxy , FSOUND_Stream_Open , FSOUND_Stream_Play , FSOUND_Stream_Stop

This document copyright ©Firelight Technologies, Pty, Ltd, 1999-2002. All rights reserved.
Generated Mon Oct 18 11:07:59 2004 by SourceDoc v0.10, the automated source code documenter.