Previous Topic Index Next Topic
[API function]

FSOUND_Stream_Net_SetBufferProperties

Sets buffer size and thresholds to use when opening new internet streams.

signed char F_API FSOUND_Stream_Net_SetBufferProperties(
int buffersize,
int prebuffer_percent,
int rebuffer_percent
);

Parameters

buffersize Size in bytes of the streaming buffer. Make it bigger to avoid buffer underruns. (Default = 64000)
prebuffer_percent How much to prebuffer when a stream is first opened. Values are expressed as a percentage from 1 to 99. (Default = 95)
rebuffer_percent How much to rebuffer after a stream has suffered a buffer underrun. Values are expressed as a percentage from 1 to 99. (Default = 95)

Return Value

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

Remarks

Call this function before FSOUND_Stream_Open. This function has no effect on internet streams that are already open.
___________________
Supported on the following platforms : Win32, Macintosh, Linux

See Also

FSOUND_Stream_Close , FSOUND_Stream_Net_GetBufferProperties , FSOUND_Stream_Net_GetLastServerStatus , FSOUND_Stream_Net_GetStatus , FSOUND_Stream_Net_SetMetadataCallback , 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 Fri Sep 05 18:50:23 2003 by SourceDoc v0.10, the automated source code documenter.