How to load wav sound effect

cc.AudioEngine.getInstance().init(“mp3,ogg,wav”);

cc.Loader.shareLoader().preload([
{type:“effect”,src:“Resources/esparks2”}, //esparks2
{type:“bgm”,src:“Resources/DoomCity2”}
]);

The esparks2 is a wave file, when the program is running it says it fails to esparks2.mp3. Why it can’t recognize wav file?

This bug was fixed by new engine.

The new version engine will be released in next Tuesday.

Please refer to the new version engine or checkout the code in github now.