obiot/melonJS — Issue #27: Failed sound loading should disable sound
Author: scan
Created: 2011-10-26 10:12:16+00:00
State: open

I have been trying to find the point in the source where it goes wrong, but I could not see through the complex forest of callbacks, yet. Am on it, though.

Anyway, the issue is that sound files do not load on my computers when I use current standard Chromium from Ubuntu (version 14). There is an exception thrown, can the load callback is not called, so the loader never sees the audio as loaded.

What I would want for is that the loader will ignore not-found resources (maybe not just sounds), fire an exception or log an error, but go on, setting the resource to `null`. And the audio player will simply do nothing with a `null` audio.