Amount to pre-buffer before playing internet streams.
BASS_SetConfig( BASS_CONFIG_NET_PREBUF, DWORD prebuf );
prebuf | Amount (percentage) to pre-buffer. |
Pre-buffering is performed asynchronously and does not hold up stream creation. Its progress can be monitored with BASS_StreamGetFilePosition (BASS_FILEPOS_BUFFERING). If BASS_ChannelStart or BASS_ChannelPlay is called before pre-buffering is complete then the playback will begin in a stalled state, and will resume when the pre-buffering is complete.
This setting also determines a stream's initial BASS_ATTRIB_NET_RESUME value, the amount needed to resume a stalled stream. As well as internet streams, this config setting also applies to "buffered" user file streams created with BASS_StreamCreateFileUser.