mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 14:41:42 +00:00
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:
parent
375f6247d4
commit
0861d3c583
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ void SND_setup(void) {
|
||||||
|
|
||||||
cv = Cvar_Get( "com_soundMegs", DEF_COMSOUNDMEGS, CVAR_LATCH | CVAR_ARCHIVE );
|
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) );
|
buffer = malloc(scs*sizeof(sndBuffer) );
|
||||||
// allocate the stack based hunk allocator
|
// allocate the stack based hunk allocator
|
||||||
|
|
Loading…
Reference in a new issue