The internet download buffer length.
BASS_SetConfig( BASS_CONFIG_NET_BUFFER, DWORD length );
length | The buffer length in milliseconds. |
Together with the BASS_CONFIG_NET_PREBUF config option, this config option also affects how much data is pre-buffered before playback begins.
The default setting is 5 seconds (5000 milliseconds). Changes only affect streams that are created afterwards, not any that already exist.
The BASS_CONFIG_THREAD flag can be used to make the setting specific to the current thread. When that is non-zero, it will override the global setting in the current thread.
As well as internet streams, this config setting also applies to "buffered" user file streams created with BASS_StreamCreateFileUser.