"Manually" updates the HSTREAM and HMUSIC channel buffers.
Namespace:
Un4seen.Bass
Assembly:
Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
[DllImportAttribute("bass")]
public static bool BASS_Update(
int length
)
<DllImportAttribute("bass">]
Public Shared Function BASS_Update (
length As Integer
) As Boolean
Parameters
- length
- Type: SystemInt32
The amount to render, in milliseconds.
Return Value
Type:
BooleanIf 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 CODE | Description |
---|
BASS_ERROR_NOTAVAIL | Updating is already in progress. |
Reference