wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src sound.cpp


From: Cedric Duval
Subject: [Wesnoth-cvs-commits] wesnoth/src sound.cpp
Date: Fri, 27 Aug 2004 11:35:32 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Cedric Duval <address@hidden>   04/08/27 15:31:02

Modified files:
        src            : sound.cpp 

Log message:
        Reverting (at least for next release, until a better solution has been 
found)
        attempt to improve audio quality since it causes hangs on some systems.
        
        Also see http://www.wesnoth.org/forum/viewtopic.php?t=2835#37522
        Rhuvaen has been asked to test with 2048. I'll do, too.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/sound.cpp.diff?tr1=1.18&tr2=1.19&r1=text&r2=text

Patches:
Index: wesnoth/src/sound.cpp
diff -u wesnoth/src/sound.cpp:1.18 wesnoth/src/sound.cpp:1.19
--- wesnoth/src/sound.cpp:1.18  Mon Aug 23 06:41:00 2004
+++ wesnoth/src/sound.cpp       Fri Aug 27 15:31:02 2004
@@ -1,4 +1,4 @@
-/* $Id: sound.cpp,v 1.18 2004/08/23 06:41:00 gakusho Exp $ */
+/* $Id: sound.cpp,v 1.19 2004/08/27 15:31:02 cedricd Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -43,7 +43,7 @@
 
 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);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]