0
0

Hi,

We’re using ambient events that are defined as streams. When i’m trying to free the data of one of the streams after crossfading to another i use freeEventData(eventPointer, false) on the parentGroup. Setting the block parameter to true is working fine and releases the stream memory correctly, but creates a freeze on the Wii till the reads have finished. Setting it to false and calling freeEventData every frame to see when i get an FMOD_OK result always gets FMOD_ERR_NOTREADY and never gets the ok. All non-stream sfx are working fine and are released.
Getting the parentGroup does not throw an error, as well as getting the state of the parentGroup. Is it normal the the state of the parentGroup returns a 0x00000000? I thought it would return a READY.

Any help/suggestions/ideas would be appreciated

thx, manfred

  • You must to post comments
0
0

We think this is probably because the second event has started the stream again (there is only 1 fsb) and the 1st event is thinking the stream has restarted. We’re still looking into this we’ll update you in a short while.

  • You must to post comments
0
0

I’m checking that out here and I’ll let you know what I find.

  • You must to post comments
0
0

just a quick update: i’m now getting the groupStatus correctly, the first few times i check it it gives me loading|playing (on the wii), after this, it returns only playing (we’re playing another ambient stream from the same group at that moment), so that should be correct. Still the freeEventData returns false everytime i try

edit: I’ve tried starting just one stream for testing, stopping and trying to free it again. Since no other event from this group is playing, i get "ready" as the state of the "to-free" event, and zero for the group state. Again, freeEventData never returns true when setting the "waituntilready" parameter in freeEventData to false. Setting this to true, freeEventData returns true, but blocks till all reads are finished.

  • You must to post comments
0
0

Thanks for the info manni, should have some news for you early next week.

Cheers,

  • You must to post comments
0
0

Hi Manni,

We haven’t been able to reproduce this issue on the Wii. Do you have a small repro you could send us?

  • You must to post comments
0
0

i’ve send you a short sample with the problem. Hopefully it’s a real issue and i don’t just can’t see it, otherwise i’ll embarass myself ๐Ÿ˜‰

  • You must to post comments
0
0

Thanks i’ve found an issue in older versions of fmod that doesnt happen on 4.13 and our internal code, it will be fixed for today’s release.

  • You must to post comments
0
0

nice, seems to work now, thx

  • You must to post comments
0
0

hi,

we’re experiencing problems with freeEventData(eventPointer, false) again. we’re calling each frame. on the PC the data is freed correctly for sfx and streams, on the WII the buffer for the streams are not freed – freeEventData always returns false.

any ideas or waiting bugfixes for the next version? ๐Ÿ˜‰

we’re using stable version 4.14.02

manni

  • You must to post comments
0
0

hm… i’m working on a sample right now, but what i just noticed is that:
– one stream playing, stopped and started another stream from a different group in the same frame -> stream gets freed correctly
– one stream playing, stopped and started another stream from the SAME group (groupState: playing) in the same frame -> stream doesn’t ever get freed

this behaviour is reproducable, perhaps it can help you guys.

manni

  • You must to post comments
Showing 10 results
Your Answer

Please first to submit.