From a3e2dbc78825378307509201f904a1de3bf8bab8 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 23 Mar 2014 00:07:40 -0400 Subject: sound: Add config variable to control buffer size. Add snd_maxslicetime_ms variable to control the size of the output sound buffer, and reduce the default from 70ms to 28ms to match Doom's 35fps timer. Thanks to Holering for reporting this (fixes #345). --- src/i_sound.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/i_sound.h') diff --git a/src/i_sound.h b/src/i_sound.h index e4062959..db00ab5c 100644 --- a/src/i_sound.h +++ b/src/i_sound.h @@ -233,6 +233,7 @@ extern int snd_sfxdevice; extern int snd_musicdevice; extern int snd_samplerate; extern int snd_cachesize; +extern int snd_maxslicetime_ms; void I_BindSoundVariables(void); -- cgit v1.2.3