I found a crash bug in FMOD v 4.17.6 (and previous). I have a corrupt sound file, and when fmod play this, it crash.
Ok it’s not the "fmod fault" but I don’t have any error message, or anything else. The application quit with no error.
I develop in C#. And for this example I use your playstream example (and I change the path).
You can found the sound here :
problem in the position 4min33sec (the sound lenght = 4.45)
Please can you test with this sound and says me what can I do to prevent the crash.
I can’t verify all my sound files (50 000 files). So I have probably bad files …
Note that when I play the file with VLC, I don’t have any problems, but with WINAMP, crash.
system.init(1, FMOD.INITFLAG.NORMAL, (IntPtr)null);
system.createSound(filePath, (FMOD.MODE._2D | FMOD.MODE.SOFTWARE | FMOD.MODE.CREATESTREAM | FMOD.MODE.LOOP_OFF), ref sound);
- Tibo asked 10 years ago
There is no problem with this file, it is actually an mp3 file not a wav.
I played it using fmod’s playstream example and it played as expected.
Also in /examples/bin try ‘dsppluginviewer.exe’ you can load and play any sound, it plays in that app properly.
Is it possible it is a c# only issue.
Thx for your answer.
But I tested with the dsppluginviewer.exe and the application crash too.
It’s only on the[b:26d66znb] end of the sound[/b:26d66znb]. Do not stop it before.
At[b:26d66znb] 4.33sec /4.35sec[/b:26d66znb] the application crash.
Can you retest it ?
Please login first to submit.