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: 2.4.17.5
Syntax

[DllImportAttribute("bass")]
public static bool BASS_Update(
	int length
)

Parameters

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.
Remarks

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

Reference