X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Faudio%2Fstream_sound_source.hpp;h=aa621b39fb0044513470b2da5946ee4ccefd42eb;hb=051da28245f26cb1a073c764de235460e87ec64f;hp=de1dbc05c9a202641cb68bbd4fcd5c9342768a9a;hpb=e5efd34f1f8a286a33972b7e5de0e83faef0c475;p=supertux.git diff --git a/src/audio/stream_sound_source.hpp b/src/audio/stream_sound_source.hpp index de1dbc05c..aa621b39f 100644 --- a/src/audio/stream_sound_source.hpp +++ b/src/audio/stream_sound_source.hpp @@ -51,11 +51,11 @@ public: { return looping; } - + private: static const size_t STREAMBUFFERSIZE = 1024 * 500; static const size_t STREAMFRAGMENTS = 5; - static const size_t STREAMFRAGMENTSIZE + static const size_t STREAMFRAGMENTSIZE = STREAMBUFFERSIZE / STREAMFRAGMENTS; bool fillBufferAndQueue(ALuint buffer); @@ -69,4 +69,3 @@ private: }; #endif -