diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-09-13 12:22:55 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-09-13 12:22:55 +0400 |
commit | 1c3043f011f8e08ff1c4a3fbf438b676259e1c34 (patch) | |
tree | 310b07a925daf2e3b6613666b4e1a0689b28e090 /intern/SoundSystem | |
parent | 9a94620df04dfc7b62da6022b91cda03118cdf5f (diff) |
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.
Diffstat (limited to 'intern/SoundSystem')
-rw-r--r-- | intern/SoundSystem/SoundDefines.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/SoundSystem/SoundDefines.h b/intern/SoundSystem/SoundDefines.h index 9758fdaadea..450fde187b5 100644 --- a/intern/SoundSystem/SoundDefines.h +++ b/intern/SoundSystem/SoundDefines.h @@ -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 |