BASS_ATTRIB_NOBUFFER attribute


Disable playback buffering?

BASS_ChannelSetAttribute(
    DWORD handle,
    BASS_ATTRIB_NOBUFFER,
    float nobuffer
);

Parameters

handleThe channel handle... a HMUSIC or HSTREAM.
nobufferDisable playback buffering... 0 = no, else yes.

Remarks

This sets the BASS_ATTRIB_BUFFER attribute to 0 (playback buffering disabled) or the full playback buffer length (playback buffering enabled).

Platform-specific

This attribute is not available when using DirectSound output on Windows, as BASS does not generate the final mix.

See also

BASS_ChannelGetAttribute, BASS_ChannelSetAttribute, BASS_ATTRIB_BUFFER