0
0

I posted this over at Crydev, but thought it’s wise to seek the expertise of the Fmod folks over here, too! I have been working on a sound design project for a while – I’ve managed to get my own audio into the CryEngine using Fmod, and playing in-game as intended, with reverb effects and custom fallof, etc etc… All good and wonderful, I’m very happy…

The latest bunch of audio, however, just will not work – I have combed through the settings to ensure that everything is consistent, but found nothing that should cause problems… Then I checked the log produced by the editor, and found these errors:

[code:3pb6b8j3]
<17:10:53> [Warning] <Sound> Sound-FmodEx-AudioDevice Memory Allocation failed: ..\..\lib\sfx\foreverb\aSfxDsp.cpp (140) 131080 bytes
<17:10:55> <Sound> PSE: sounds/luap_test:newmill:newmill_creak get event info <length ms> failed!
<17:10:55> <Sound> PSE: (44) Not enough memory or resources.
<17:10:55> [Error] <Sound> Create sound sounds/luap_test:newmill:newmill_creak failed! Invalid platform sound.
<17:10:56> <Sound> PSE: sounds/luap_generic:environment:waterloop_grate01 get event info <length ms> failed!
<17:10:56> [Error] <Sound> Create sound sounds/luap_generic:environment:waterloop_grate01 failed! Invalid platform sound.
<17:10:57> [Warning] <Sound> Sound-FmodEx-AudioDevice Memory Allocation failed: ..\..\lib\sfx\foreverb\aSfxDsp.cpp (140) 16392 bytes
<17:10:58> <Sound> PSE: sounds/luap_kingstown:minster:minster_john get event info <length ms> failed!
<17:10:58> [Error] <Sound> Create sound sounds/luap_kingstown:minster:minster_john failed! Invalid platform sound.
<17:11:00> <Sound> PSE: sounds/luap_generic:environment:bird06 get event info <length ms> failed!
<17:11:00> <Sound> PSE: sounds/luap_generic:environment:bird04 get event info <length ms> failed!
<17:11:00> [Warning] <Sound> Sound-FmodEx-AudioDevice Memory Allocation failed: ..\..\src\fmod_output_software.cpp (328) 2999864 bytes
<17:11:00> [Warning] <Sound> Sound-FmodEx-AudioDevice Memory Allocation failed: ..\..\src\fmod_output_software.cpp (328) 442424 bytes
<17:11:00> [Warning] <Sound> Sound-FmodEx-AudioDevice Memory Allocation failed: ..\..\src\fmod_output_software.cpp (328) 529976 bytes
<17:11:00> [Warning] <Sound> Sound-FmodEx-AudioDevice Memory Allocation failed: ..\..\src\fmod_output_software.cpp (328) 1872696 bytes
<17:11:00> [Warning] <Sound> Sound-FmodEx-AudioDevice Memory Allocation failed: ..\..\src\fmod_output_software.cpp (328) 2520632 bytes
<17:11:00> [Warning] <Sound> Sound-FmodEx-AudioDevice Memory Allocation failed: ..\..\src\fmod_output_software.cpp (328) 3700280 bytes
<17:11:00> [Warning] <Sound> Sound-FmodEx-AudioDevice Memory Allocation failed: ..\..\src\fmod_output_software.cpp (328) 2261048 bytes
<17:11:00> [Warning] <Sound> Sound-FmodEx-AudioDevice Memory Allocation failed: ..\..\src\fmod_output_software.cpp (328) 5049144 bytes
<17:11:00> [Warning] <Sound> Sound-FmodEx-AudioDevice Memory Allocation failed: ..\..\src\fmod_codec_fsb.cpp (1293) 18776 bytes
<17:11:01> [Warning] <Sound> PSE: sounds/luap_generic:environment:waterloop_grate01 get event state failed!
<17:11:01> [Warning] <Sound> PSE: sounds/luap_generic:environment:bird06 get event state failed!
<17:11:01> [Warning] <Sound> PSE: sounds/luap_generic:environment:bird04 get event state failed!
<17:11:01> [Warning] <Sound> Sound-FmodEx-AudioDevice Memory Allocation failed: ..\..\src\fmod_dsp_connectionpool.cpp (206) 127000 bytes
<17:11:01> [Warning] <Sound> PSE: sounds/luap_generic:environment:wind01 start event failed!
<17:11:01> [Warning] <Sound> PSE: (85) An Event failed to be retrieved, most likely due to ‘just fail’ being specified as the max playbacks behavior.
<17:11:01> [Warning] <Sound> PSE: sounds/luap_generic:environment:bird02 start event failed!
<17:11:01> [Warning] <Sound> PSE: sounds/luap_generic:environment:bird03 start event failed!
<17:11:01> [Warning] <Sound> PSE: sounds/luap_generic:environment:bird01 start event failed!
[/code:3pb6b8j3]

I am hoping that there might be something here that stands out to somebody!

Regards,
Mark

  • You must to post comments
0
0

Okay, I’ve done some delving… Firstly, it cannot be any error related to insufficient memory – while running the editor I had over 1gb of my 4gb available (memory usage remained around 2700 mb)…

Now, I have double-checked the formats of my .wav files against each other – and everything is a 24-bit .wav – indeed, I’ve had the same export settings in REAPER for everything I’ve created. I don’t think the original audio format is relevant, anyway – it’s converted to whichever format I choose in the bank editor… Moving on, there seems to be several errors that repeatedly appear:

[code:o4454o4d]
<11:17:09> [Warning] <Sound> Sound-FmodEx-AudioDevice Memory Allocation failed: ..\..\src\fmod_output_software.cpp (328) 2520632 bytes
<11:17:09> [Warning] <Sound> Sound-FmodEx-AudioDevice Memory Allocation failed: ..\..\src\fmod_codec_fsb.cpp (1300) 4632 bytes
<11:17:09> [Warning] <Sound> Sound-FmodEx-AudioDevice Memory Allocation failed: ..\..\src\fmod_dspi.cpp (2652) 32792 bytes
[/code:o4454o4d]

[code:o4454o4d]
get event info <length ms> failed!
[/code:o4454o4d]

[code:o4454o4d]
Invalid platform sound.
[/code:o4454o4d]

The latter two refer to audio events that are not working, and imply to me that the Fmod project isn’t being read/written correctly. The first seems to imply that FmodEx is experiencing problems – maybe I’ve somehow modified or overwritten something?

  • You must to post comments
0
0

It is possible to override the FMOD memory system to have a smaller pool of memory. This is quite common to prevent memory usage getting out of control, so the errors you are seeing are probably legitimate. Out of memory errors are fatal and unrecoverable, so I’d say your best bet is looking at your designer project and trying to reduce the memory usage. Some quick wins would be putting increasing the compression of your sounds, putting all of your long sounds like music/dialog into a bank and set to to stream from disk, and making sure nothing is set to ‘decompress into memory’ or PCM compression format.

If you want to check if your fev/fsbs are corrupted you can load them into EventPlayer tool that comes with designer and test them out there.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.