[aquaria] Fix in "SoundManager.cpp" to Avoid Crash (Windows Build) on SoundCore::system->init

Jonathan Armstrong jda2158 at gmail.com
Tue Feb 22 01:03:14 EST 2011


Thanks much for the better fix. Can confirm it works on a Windows build as
well.

On Sat, Feb 19, 2011 at 6:02 AM, Andrew Church
<achurch+aquaria at achurch.org>wrote:

> >On a Windows build, see below for a fix if you are experiencing crashes
> when
> >calling:
> >result = SoundCore::system->init(channels, FMOD_INIT_NORMAL, 0);
>
> Actually, I suspect the problem is that the current code doesn't
> explicitly request the proper number of channels from OpenAL.  I've
> committed a fix in my repository (http://achurch.org/cgi-bin/hg/aquaria)
> on the new branch openal-channel-count-fix, which at least doesn't break
> sound on Linux and may fix the problems with Windows (untested).
>
>  --Andrew Church
>    achurch at achurch.org
>    http://achurch.org/
> _______________________________________________
> aquaria mailing list
> aquaria at icculus.org
> http://icculus.org/mailman/listinfo/aquaria
>



-- 
Jonathan D. Armstrong
jda2158 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/aquaria/attachments/20110222/d2b4c3bb/attachment.htm>


More information about the aquaria mailing list