BASS.NET API for the Un4seen BASS Audio Library

BassBASS_Update Method

BASS.NET API for the Un4seen BASS Audio Library
"Manually" updates the HSTREAM and HMUSIC channel buffers.

Namespace:  Un4seen.Bass
Assembly:  Bass.Net (in Bass.Net.dll) Version:

public static bool BASS_Update(
	int length


Type: SystemInt32
The amount to render, in milliseconds.

Return Value

Type: Boolean
If successful, then is returned, else is returned. Use BASS_ErrorGetCode to get the error code.

When automatic updating is disabled, this function (or BASS_ChannelUpdate(Int32, Int32)) needs to be called to keep the playback buffers updated. The length parameter should include some safety margin, in case the next update cycle gets delayed. For example, if calling this function every 100ms, 200 would be a reasonable length parameter.

ERROR CODEDescription
BASS_ERROR_NOTAVAILUpdating is already in progress.

See Also