On a Windows build, see below for a fix if you are experiencing crashes when calling:<br>result = SoundCore::system->init(channels, FMOD_INIT_NORMAL, 0);<br><br>Specifically this occurs in SoundManager::SoundManager(const std::string &defaultDevice) {} of "SoundManager.cpp". First fix approach was to comment out this line, but sound is then unavailable. See below for a proposed fix and a forum post related to this issue.<br>
<br>///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////<br>#ifdef BBGE_BUILD_WINDOWS<br> // anymore than this on Windows platform seems to cause OpenAL debug breakpoints<br>
// to fire when SoundCore::System->init is called<br> // see (<a href="http://www.gamedev.net/topic/102469-openal--algensources-problem/" target="_blank">http://www.gamedev.net/topic/102469-openal--algensources-problem/</a>)<br>
// for details --jda.<br> int channels = 28;<br>#else<br> int channels = 128;<br>#endif<br>///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////<br clear="all">
<br>Respectfully,<br><br>-- <br>Jonathan D. Armstrong<br><a href="mailto:jda2158@gmail.com" target="_blank">jda2158@gmail.com</a><br>