The update period of HSTREAM and HMUSIC channel playback buffers.
BASS_SetConfig( BASS_CONFIG_UPDATEPERIOD, DWORD period );
period | The update period in milliseconds... 0 = disable automatic updating. The minimum period is 5ms, the maximum is 100ms. If the period specified is outside this range, it is automatically capped. |
BASS creates one or more threads (determined by BASS_CONFIG_UPDATETHREADS) specifically to perform the updating, except when automatic updating is disabled (period = 0), in which case BASS_Update or BASS_ChannelUpdate should be used instead. This allows BASS's CPU usage to be synchronized with your software's. For example, in a game loop you could call BASS_Update once per frame, to keep all the processing in sync so that the frame rate is as smooth as possible.
The update period can be altered at any time, including during playback. The default period is 100ms.