- attempt to fix game freeze when lag causes game pauses

This commit is contained in:
Mark Vejvoda
2011-01-11 08:45:58 +00:00
parent b778098d13
commit e319c2cf62
8 changed files with 281 additions and 22 deletions

View File

@@ -69,7 +69,7 @@ public:
protected:
friend class SoundPlayerOpenAL;
static const size_t STREAMBUFFERSIZE = 1024 * 500;
static const size_t STREAMFRAGMENTS = 10;
static const size_t STREAMFRAGMENTS = 5;
static const size_t STREAMFRAGMENTSIZE
= STREAMBUFFERSIZE / STREAMFRAGMENTS;