0
0

Hi!

I’ve been using FMOD for a short time and I’ve been having some problems. Any advice is appreciated.

I’m having problems when trying to play a song backwards. I’m setting the loop as FMOD_LOOP_BIDI and changing the frequency to -44100. At first the song plays normally. When it reaches the end, it starts playing backwards until it reachs the start a plays forward again. When I print the current the frequency, using getFrequency, it tells that frquency is -44100. So why does it play forward? Also, if i set the frequency inside the main loop, I get some weird results.

I’m using FMOD 4.04 in Suse 10.1 and gcc version 4.1.0, but I’ve also tested this (and had the same problems) in Windows 2000 and XP using Dev-C++.

Thanks for your help!

  • You must to post comments
0
0

it plays forward because you told it to go immediately backwards when the position was 0, so it bounced and went forwards, because it is a bidi loop. Do you know what a bidi loop is? It means it ping pongs back and forwards. You should leave the sound playing as loop off, or loop normal, not loop bidi.

The behaviour fmod is exhibiting is correct.

  • You must to post comments
0
0

[quote:d7dhemaz]Do you know what a bidi loop is? It means it ping pongs back and forwards.[/quote:d7dhemaz]
I misunderstood what bidi is for. Thanks for your help!

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.