BASS_ChannelGetPosition returning a wrong position when playing a reverse stream

Started by nadia,

nadia

Hello,  ;D

I have found a glitch when using BASS_ChannelGetPosition with a reverse stream.
Attached to this message you will find a VB6 sample project, adapted and simplified from the "reverse" VB6 sample that comes with bass_fx, that reproduces the issue.

The issue can be reproduced through the procedure below:
1- launch the project in VB6
2- open a sound file
3- click the "Forward" button a few times: the sound will play for one second at 10 times the normal speed
4- click the "Backward" button: while playing backward, a timer object will report inside the "Immediate" window of VB6 the value in milliseconds returned by the combination of the BASS_ChannelGetPosition function and of the BASS_ChannelBytes2Seconds function
5- look at the first returned position: as far as I can see is not coherent with the real playback position while the other ones are good

Hope that this sample project will be enough to reproduce the issue on your side.

Kind regards  ;D

nadia


Ian @ un4seen

Please confirm what BASS_FX version you're using, and if it isn't this latest build, give it a try:

    www.un4seen.com/stuff/bass_fx.zip

That includes changes in the stream position tracking/reporting. You could also try the latest BASS build:

    www.un4seen.com/stuff/bass.zip

If the problem still happens with the latest stuff then I'll dig out VB6 to investigate.

nadia

Hello,  ;D

I'm currently using version 2.4.12.19 of bass_fx which I downloaded less than one week ago.

Kind regards  ;D

nadia

Ian @ un4seen

After looking into it, I think I see what's causing your problem. Here's an update for you to try:

    www.un4seen.com/stuff/bass_fx.zip

Let me know if you still see the problem happening.

nadia

Hello  ;D

now it seems to work as expected, good job  ;D

Thanks again and kind regards

nadia