Revert "DMA 44100Hz needs more memory for sound buffers"

This reverts commit 0e6632f464.

Cause crashes if com_soundMegs is 32.
This commit is contained in:
Zack Middleton 2014-03-17 12:55:38 -05:00
parent 375f6247d4
commit 0861d3c583
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,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