The internet download buffer length.
BASS_SetConfig( BASS_CONFIG_NET_BUFFER, DWORD length );
length | The buffer length in milliseconds. |
When streaming in blocks, this option determines the download buffer length. The effective buffer length can actually be a bit more than that specified, including data that has been read from the buffer by the decoder but not yet decoded.
This config option also determines the buffering used by "buffered" user file streams created with BASS_StreamCreateFileUser.
The default buffer length is 5 seconds (5000 milliseconds). The net buffer length should be larger than the length of the playback buffer (BASS_CONFIG_BUFFER), otherwise the stream is likely to stall soon after starting playback.
Using this config option only affects streams created afterwards, not any that have already been created.