summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2014-03-17 12:55:38 -0500
committerTim Angus <tim@ngus.net>2014-06-17 17:43:42 +0100
commitd98edf63c31e1e643af4864d099b42b15201614d (patch)
tree701e1439a10292500cfac133a934b6eb913c1777 /src/client
parent83aaee5bc4613cc677378e85cc856dd5dfda9745 (diff)
Revert "DMA 44100Hz needs more memory for sound buffers"
This reverts commit 0e6632f464c08dcb76f26a52f33d97228e64fda1. Cause crashes if com_soundMegs is 32.
Diffstat (limited to 'src/client')
-rw-r--r--src/client/snd_mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/snd_mem.c b/src/client/snd_mem.c
index f3401fcb..299d9d34 100644
--- a/src/client/snd_mem.c
+++ b/src/client/snd_mem.c
@@ -82,7 +82,7 @@ void SND_setup(void) {
cv = Cvar_Get( "com_soundMegs", DEF_COMSOUNDMEGS, CVAR_LATCH | CVAR_ARCHIVE );
- scs = (cv->integer*1536*dma.speed/22050.0f);
+ scs = (cv->integer*1536);
buffer = malloc(scs*sizeof(sndBuffer) );
// allocate the stack based hunk allocator