[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [16499] trunk/blender/intern/SoundSystem/ SoundDefines.h: 32 sounds max would crash on windows because the openal limit is 24, tested an the to-frankie demo playes ok with 24, but would be good to make use of the sound lib's 'priority' option.

Campbell Barton ideasman42 at gmail.com
Sat Sep 13 10:22:55 CEST 2008


Revision: 16499
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16499
Author:   campbellbarton
Date:     2008-09-13 10:22:55 +0200 (Sat, 13 Sep 2008)

Log Message:
-----------
32 sounds max would crash on windows because the openal limit is 24, tested an the to-frankie demo playes ok with 24, but would be good to make use of the sound lib's 'priority' option.

Modified Paths:
--------------
    trunk/blender/intern/SoundSystem/SoundDefines.h

Modified: trunk/blender/intern/SoundSystem/SoundDefines.h
===================================================================
--- trunk/blender/intern/SoundSystem/SoundDefines.h	2008-09-13 08:10:50 UTC (rev 16498)
+++ trunk/blender/intern/SoundSystem/SoundDefines.h	2008-09-13 08:22:55 UTC (rev 16499)
@@ -44,7 +44,7 @@
 
 /* general stuff */
 #define NUM_BUFFERS						128
-#define NUM_SOURCES						32
+#define NUM_SOURCES						24 /* 24 is the limit for openal on windows, was 16 in 2.47 and previous */
 
 /* openal related stuff */
 #define AL_LOOPING						0x1007





More information about the Bf-blender-cvs mailing list