BASS WMA

BASS_CONFIG_WMA_PREBUF config option


Prebuffer internet streams during creation?

BASS_SetConfig(
    BASS_CONFIG_WMA_PREBUF,
    BOOL prebuf
);

Parameters

prebufPrebuffer internet streams on creation?

Remarks

The Windows Media modules must prebuffer a stream before starting decoding/playback of it. This option determines whether the stream creation function (eg. BASS_WMA_StreamCreateFile) will wait for the prebuffering to complete before returning. If playback of a stream is attempted before it has prebuffered, it will stall and then resume once it has finished prebuffering. The prebuffering progress can be monitored via BASS_StreamGetFilePosition (BASS_FILEPOS_WMA_BUFFER).

This option is disabled by default.

See also

BASS_GetConfig, BASS_SetConfig