]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
changed SND_MAX_SPEED to 96000 and added corresponding threshold entry
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 26 Sep 2007 03:07:11 +0000 (03:07 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 26 Sep 2007 03:07:11 +0000 (03:07 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7590 d7cf8633-e32d-0410-b094-e92efae38249

snd_main.c

index ea880aaa0ea2cf0b215cc64f8e87aba9e798c5db..d0b9139036faee4db8ddf1b13565efcbd3d2b041 100644 (file)
@@ -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]);