From d98edf63c31e1e643af4864d099b42b15201614d Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Mon, 17 Mar 2014 12:55:38 -0500 Subject: Revert "DMA 44100Hz needs more memory for sound buffers" This reverts commit 0e6632f464c08dcb76f26a52f33d97228e64fda1. Cause crashes if com_soundMegs is 32. --- src/client/snd_mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit