[iortcw] 175/497: All: Bump maximum number of AL sources
Simon McVittie
smcv at debian.org
Fri Sep 8 10:36:46 UTC 2017
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to annotated tag 1.42d
in repository iortcw.
commit f93996b554a14467c8d826017f21c08316e86aa3
Author: M4N4T4RMS at gmail.com <M4N4T4RMS at gmail.com@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a>
Date: Mon Aug 4 04:04:35 2014 +0000
All: Bump maximum number of AL sources
---
MP/code/client/snd_openal.c | 6 +++---
SP/code/client/snd_openal.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/MP/code/client/snd_openal.c b/MP/code/client/snd_openal.c
index 4f9cfeb..c677a66 100644
--- a/MP/code/client/snd_openal.c
+++ b/MP/code/client/snd_openal.c
@@ -585,9 +585,9 @@ typedef struct src_s
} src_t;
#ifdef MACOS_X
- #define MAX_SRC 64
-#else
#define MAX_SRC 128
+#else
+ #define MAX_SRC 256
#endif
static src_t srcList[MAX_SRC];
static int srcCount = 0;
@@ -2613,7 +2613,7 @@ qboolean S_AL_Init( soundInterface_t *si )
// New console variables
s_alPrecache = Cvar_Get( "s_alPrecache", "1", CVAR_ARCHIVE );
s_alGain = Cvar_Get( "s_alGain", "1.0", CVAR_ARCHIVE );
- s_alSources = Cvar_Get( "s_alSources", "96", CVAR_ARCHIVE );
+ s_alSources = Cvar_Get( "s_alSources", "128", CVAR_ARCHIVE );
s_alDopplerFactor = Cvar_Get( "s_alDopplerFactor", "1.0", CVAR_ARCHIVE );
s_alDopplerSpeed = Cvar_Get( "s_alDopplerSpeed", "9000", CVAR_ARCHIVE );
s_alMinDistance = Cvar_Get( "s_alMinDistance", "120", CVAR_CHEAT );
diff --git a/SP/code/client/snd_openal.c b/SP/code/client/snd_openal.c
index ac788a4..ac238d1 100644
--- a/SP/code/client/snd_openal.c
+++ b/SP/code/client/snd_openal.c
@@ -585,9 +585,9 @@ typedef struct src_s
} src_t;
#ifdef MACOS_X
- #define MAX_SRC 64
-#else
#define MAX_SRC 128
+#else
+ #define MAX_SRC 256
#endif
static src_t srcList[MAX_SRC];
static int srcCount = 0;
@@ -2660,7 +2660,7 @@ qboolean S_AL_Init( soundInterface_t *si )
// New console variables
s_alPrecache = Cvar_Get( "s_alPrecache", "1", CVAR_ARCHIVE );
s_alGain = Cvar_Get( "s_alGain", "1.0", CVAR_ARCHIVE );
- s_alSources = Cvar_Get( "s_alSources", "96", CVAR_ARCHIVE );
+ s_alSources = Cvar_Get( "s_alSources", "128", CVAR_ARCHIVE );
s_alDopplerFactor = Cvar_Get( "s_alDopplerFactor", "1.0", CVAR_ARCHIVE );
s_alDopplerSpeed = Cvar_Get( "s_alDopplerSpeed", "9000", CVAR_ARCHIVE );
s_alMinDistance = Cvar_Get( "s_alMinDistance", "256", CVAR_ARCHIVE );
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git
More information about the Pkg-games-commits
mailing list