Closed mkosler closed 12 years ago
Could it be a case sensitivity issue? It may also be worth checking the properties of CardsShuffle.wav and just make sure it is set to be included in the build process.
This file has an extra "bext" RIFF section BEFORE the fmt section. The AudioLoader in monogame doesn't expect that, and barfs when it sees the unexpected section.
See https://github.com/mono/MonoGame/pull/375 which contains a fix for the bext, as well as correct(better?) handling of finding the data section of the WAV file.
The fixes for this issue has landed in the monogame/develop branch
When I run the MonoDevelop debugger I get this from the stack trace:
It seems to be something specific to "CardsShuffle.wav", since audioManager.soundBank contains both "Bet.wav" and "CardFlip.wav" by the time this gets thrown.