From 605d8dbc2bff2b6ed5276cd62fd802cb98235e9c Mon Sep 17 00:00:00 2001 From: havoc Date: Wed, 26 Sep 2007 03:07:11 +0000 Subject: [PATCH] changed SND_MAX_SPEED to 96000 and added corresponding threshold entry git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7590 d7cf8633-e32d-0410-b094-e92efae38249 --- snd_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/snd_main.c b/snd_main.c index ea880aaa..d0b91390 100644 --- a/snd_main.c +++ b/snd_main.c @@ -26,7 +26,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define SND_MIN_SPEED 8000 -#define SND_MAX_SPEED 48000 +#define SND_MAX_SPEED 96000 #define SND_MIN_WIDTH 1 #define SND_MAX_WIDTH 2 #define SND_MIN_CHANNELS 1 @@ -319,6 +319,7 @@ static qboolean S_ChooseCheaperFormat (snd_format_t* format, qboolean fixed_spee { 22050, 2, 2 }, { 44100, 2, 2 }, { 48000, 2, 6 }, + { 96000, 2, 6 }, { SND_MAX_SPEED, SND_MAX_WIDTH, SND_MAX_CHANNELS }, }; const unsigned int nb_thresholds = sizeof(thresholds) / sizeof(thresholds[0]); -- 2.39.2