FSOUND_Stream_Net_SetBufferProperties

##### [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_Net_SetTimeout , FSOUND_Stream_Open , FSOUND_Stream_Play , FSOUND_Stream_Stop

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.