BASS_FX > Bugs

Regression inside latest version of BASS_FX (


Hello  ;D

I've found a regression inside latest version of BASS_FX (
It seems that the BASS_ChannelGetPosition and BASS_ChannelSetPosition functions are no more accurate as they where in previous versions when dealing with a stream resampled through the BASS_FX_TempoCreate function.

In order to demonstrate the issue I've made a modification to the Tempo.exe project included with the BASS_FX package (uploaded into; inside this sample I've added a routine which displays (under the trackbar position) the position in bytes during playback respect to the overall stream size in bytes; I've also removed the BASS_SAMPLE_LOOP flag from the BASS_FX_TempoCreate function call in order to better display the problem.

As you will see, after loading the provided "short.wav" file (included inside the zip), playback will start and, when playback ends, the displayed position in bytes, returned by BASS_ChannelGetPosition is not the same value of the overall length in bytes returned by BASS_ChannelGetLength.

The BASS_ChannelSetPosition is not demonstrated in this sample but it seems to be affected also by a wrong positioning when called over the same stream resampled by BASS_FX_TempoCreate.

Any idea about the reason of this behavior?

Kind regards  ;D


(: JOBnik! :):
Hi ;D

This issue is fixed on version :)
Please read all about it on BASS forum:


--- Quote from: (: JOBnik! :) on April 24, 2009, 02:30:08 PM ---Hi ;D

This issue is fixed on version :)
Please read all about it on BASS forum:

--- End quote ---

Hi  ;D

Thanks and sorry for double posting: now it's all OK  ;D

Kind Regards  ;D



[0] Message Index

Go to full version