0
0

Hi,

we’re using fmod version 4.38.06

We built a fmod designer project with 3 multi channel events for background music: outside, inhouse, menu.

In a testscript I do something like this:

    FMOD::Event *event_outside; 
char* outsideEventName = "Project/Music/outside";

    result = eventsystem->getEvent(outsideEventName, FMOD_EVENT_DEFAULT, &event_outside);
ERRCHECK(result);

char *eventName;
event_outside->getInfo(0, &eventName, 0);

printf("eventName: %s", eventName);

result = event_outside->start();
    ERRCHECK(result);

The result is that the eventName that is printed out is not correct and event_outside->start() returns an "invalid handle error".

If I replace the outside event by one of the other events (inhouse or menu) everything works fine.

If I start the intro event first and then try to start the outside event, fmod hangs in an endless loop ( event->start() ).

Any suggests???

Regards,
Sascha.

  • You must to post comments
0
0

Some more info:

The "invalid handle" was an error in the test script … the event always freezes fmod on event->start().

We put the outside sound file into a separate sound bank and then it works fine.
Is there a limitation in the sound banks???

Regards,
Sascha.

  • You must to post comments
0
0

Update:

It seems that the script is not the problem.
We tested the "outside" Event in the "Fmod Event Player" and it freezes, too.

The Event is playing corectly in FMOD Designer, so we tried a new, clean build but with the same result.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.