From 6c5163d1e979e5af62c78c2d01c9f6457e66e846 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Sun, 9 Jan 2011 09:46:10 +0000 Subject: [PATCH] - attempt to improve openal's buffer underruns --- .../shared_lib/include/sound/openal/sound_player_openal.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/shared_lib/include/sound/openal/sound_player_openal.h b/source/shared_lib/include/sound/openal/sound_player_openal.h index 12a29e6b5..cf2d59625 100644 --- a/source/shared_lib/include/sound/openal/sound_player_openal.h +++ b/source/shared_lib/include/sound/openal/sound_player_openal.h @@ -13,10 +13,10 @@ #include "platform_common.h" #include #ifdef __APPLE__ -#include +#include #include #else -#include +#include #include #endif #include @@ -69,7 +69,7 @@ public: protected: friend class SoundPlayerOpenAL; static const size_t STREAMBUFFERSIZE = 1024 * 500; - static const size_t STREAMFRAGMENTS = 5; + static const size_t STREAMFRAGMENTS = 10; static const size_t STREAMFRAGMENTSIZE = STREAMBUFFERSIZE / STREAMFRAGMENTS;