0
0

I’m having a very odd problem with playback of sounds in designer.

I have two events A and B. They are simple events that just playback the sounds. For testing I am only triggering event A.

If A and B are mono there are no problems.

If A is stereo and B is mono than A plays back correctly.

If A is mono and B is stereo A plays back incorrectly.

If A and B are both stereo A plays back incorrectly.

Incorrectly means a very messed up sound that seems to be related to sound A but slower and with other things added to it.

Settings for all options in designer I have checked to be the same (i could have overlooked one of course). The files are the same sample rate and bit depth (24k, 16bit)

Simply by changing one sound from stereo to mono and rebuilding i can make or break the playing of another. I have tried changing other factors such as length to no avail.

What is going on?

The code for reference:

start_fmod();

check(“set media path”,s_event_system->setMediaPath(“data/fmod_loop_bug”));

check(“load event file interface”, s_event_system->load(“test.fev”, 0));

check(“get group”,s_event_system->getGroup(“test”, true, &group));

check(“get event 1”,group->getEvent(“A”, &event));

event->start();

stop_fmod();

using FMOD 40302

  • You must to post comments
0
0

What output format are you using? PCM? IMAADPCM?

  • You must to post comments
0
0

IMAADPCM

  • You must to post comments
0
0

There are known problems with IMAADPCM support at the moment which will be fixed in the next release.

  • You must to post comments
0
0

For confirmation I tried it in PCM and it works.

  • You must to post comments
0
0

Another FYI:

A crash bug during event->start() that I have been trying to isolate also goes away when I recompile my bank with PCM. I’m not sure of the exact conditions that cause the crash. I was trying to narrow this down before posting my problem. I am going to wait until next version to work on this any further.

  • You must to post comments
0
0

I seem to be getting these problems with IMAADPCM and mixed samples in the same bank too i.e. playback at an odd frequency and occasional crashes on playback for no apparent reason. Also fixed when I switch to PCM.

If it helps, I was generally getting the crash that Stephen suggested when swapping between 2 different banks (playing one sample from one then another sample from another after that) one of which had mixed samples in (the other didn’t but they were a different format again) i.e. it would work fine playing samples from one bank if you played that first but would crash if you tried to play it after you’d played from the other bank first.

  • You must to post comments
0
0

these problems should be fixed if you try the 4.04.06 version, there are numerous references to adpcm fixes in the revision.txt on the downloads page.

  • You must to post comments
Showing 7 results
Your Answer

Please first to submit.