32 sounds max would crash on windows because the openal limit is 24, tested an the...
authorCampbell Barton <ideasman42@gmail.com>
Sat, 13 Sep 2008 08:22:55 +0000 (08:22 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 13 Sep 2008 08:22:55 +0000 (08:22 +0000)
intern/SoundSystem/SoundDefines.h

index 9758fdaadea1cb81a90fa495713ecab4dcd8edb8..450fde187b5c917d7c8b9c610ba44093aadbe597 100644 (file)
@@ -44,7 +44,7 @@ enum
 
 /* 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