Reverting attempt to improve audio quality...

...since it causes hangs on some systems. (At least for next release,
until a better solution has been found)

Also see http://www.wesnoth.org/forum/viewtopic.php?t=2835#37522
Rhuvaen has been asked to test with 2048. I'll do, too.
This commit is contained in:
Cédric Duval 2004-08-27 15:31:02 +00:00
parent 8f7bbb89a1
commit ae74d6b68b

View file

@ -43,7 +43,7 @@ namespace sound {
manager::manager()
{
const int res = Mix_OpenAudio(MIX_DEFAULT_FREQUENCY,MIX_DEFAULT_FORMAT,2,4096);
const int res = Mix_OpenAudio(MIX_DEFAULT_FREQUENCY,MIX_DEFAULT_FORMAT,2,1024);
if(res >= 0) {
mix_ok = true;
Mix_AllocateChannels(16);