BASS

BASS_CONFIG_VISTA_TRUEPOS config option


Enable true play position mode on Windows Vista and newer?

BASS_SetConfig(
    BASS_CONFIG_VISTA_TRUEPOS,
    BOOL truepos
);

Parameters

trueposIf TRUE, DirectSound's "true play position" mode is enabled on Windows Vista and newer.

Remarks

Unless this option is enabled, the reported playback position will advance in 10ms steps on Windows Vista and newer. As well as affecting the precision of BASS_ChannelGetPosition, this also affects the timing of non-mixtime syncs. When this option is enabled, it allows finer position reporting but it also increases latency.

The default setting is enabled. Changes only affect channels that are created afterwards, not any that already exist. The latency and minbuf values in the BASS_INFO structure reflect the setting at the time of the device's BASS_Init call.

Platform-specific

This config option is only available on Windows. It is available on all Windows versions (not including CE), but only has effect on Windows Vista and newer.

See also

BASS_ChannelGetPosition, BASS_GetConfig, BASS_GetInfo, BASS_SetConfig