Thanks much for the better fix. Can confirm it works on a Windows build as well.<br><br><div class="gmail_quote">On Sat, Feb 19, 2011 at 6:02 AM, Andrew Church <span dir="ltr">&lt;<a href="mailto:achurch%2Baquaria@achurch.org">achurch+aquaria@achurch.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">&gt;On a Windows build, see below for a fix if you are experiencing crashes when<br>

&gt;calling:<br>
&gt;result = SoundCore::system-&gt;init(channels, FMOD_INIT_NORMAL, 0);<br>
<br>
</div>Actually, I suspect the problem is that the current code doesn&#39;t<br>
explicitly request the proper number of channels from OpenAL.  I&#39;ve<br>
committed a fix in my repository (<a href="http://achurch.org/cgi-bin/hg/aquaria" target="_blank">http://achurch.org/cgi-bin/hg/aquaria</a>)<br>
on the new branch openal-channel-count-fix, which at least doesn&#39;t break<br>
sound on Linux and may fix the problems with Windows (untested).<br>
<font color="#888888"><br>
  --Andrew Church<br>
    <a href="mailto:achurch@achurch.org">achurch@achurch.org</a><br>
    <a href="http://achurch.org/" target="_blank">http://achurch.org/</a><br>
_______________________________________________<br>
aquaria mailing list<br>
<a href="mailto:aquaria@icculus.org">aquaria@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/aquaria" target="_blank">http://icculus.org/mailman/listinfo/aquaria</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Jonathan D. Armstrong<br><a href="mailto:jda2158@gmail.com">jda2158@gmail.com</a><br>