BASS_ATTRIB_NET_RESUME attribute
The download buffer level required to resume stalled playback.
BASS_ChannelSetAttribute(
DWORD handle,
BASS_ATTRIB_NET_RESUME,
float resume
);
Parameters
handle | The stream handle.
|
resume | The resumption level in percent... 0 - 100.
|
Remarks
This attribute determines what percentage of the download buffer (BASS_CONFIG_NET_BUFFER) needs to be filled before playback of a stalled internet stream will resume. It also applies to "buffered" user file streams created with BASS_StreamCreateFileUser. The buffering progress can be monitored with BASS_StreamGetFilePosition (BASS_FILEPOS_BUFFERING).
This attribute can be set at any time, and changes take immediate effect, including mid-stall. The initial value is determined by the BASS_CONFIG_NET_PREBUF config option.
See also
BASS_ChannelGetAttribute, BASS_ChannelSetAttribute, BASS_CONFIG_NET_BUFFER, BASS_CONFIG_NET_PREBUF