- attempt to improve openal's buffer underruns

This commit is contained in:
Mark Vejvoda
2011-01-09 09:46:10 +00:00
parent 2d6203bd21
commit 6c5163d1e9

View File

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