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!
- pier_guillen asked 11 years ago
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.
Please login first to submit.