changed default audio replay sample rate to 44.1 kHz
authorHolger Schemel <info@artsoft.org>
Sun, 11 Feb 2024 14:05:35 +0000 (15:05 +0100)
committerHolger Schemel <info@artsoft.org>
Sun, 18 Feb 2024 14:57:43 +0000 (15:57 +0100)
src/libgame/sound.h

index 8305588db9344fc41865752903707b904c16d625..3ca946fb1257bdf45f12e035c6cd8da8938d2a66 100644 (file)
@@ -17,6 +17,7 @@
 
 // values for platform specific sound initialization
 #define AUDIO_SAMPLE_RATE_22050                22050
+#define AUDIO_SAMPLE_RATE_44100                44100
 
 #define AUDIO_FRAGMENT_SIZE_512                512
 #define AUDIO_FRAGMENT_SIZE_1024       1024
@@ -33,7 +34,7 @@
 #define AUDIO_FORMAT_LE                        (1 << 2)
 #define AUDIO_FORMAT_BE                        (1 << 3)
 
-#define DEFAULT_AUDIO_SAMPLE_RATE      AUDIO_SAMPLE_RATE_22050
+#define DEFAULT_AUDIO_SAMPLE_RATE      AUDIO_SAMPLE_RATE_44100
 
 #if defined(PLATFORM_WINDOWS)
 #define DEFAULT_AUDIO_FRAGMENT_SIZE    AUDIO_FRAGMENT_SIZE_1024