1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-04 13:45:34 +00:00

Fix a value defined at the wrong place

This commit is contained in:
Alexander "Ace" Olofsson 2012-03-31 21:05:33 +02:00
parent 4ef921c43f
commit 64f792c01d

View file

@ -71,7 +71,7 @@ static ALenum getALFormat(ChannelConfig chans, SampleType type)
class OpenAL_SoundStream : public Sound class OpenAL_SoundStream : public Sound
{ {
static const ALuint sNumBuffers = 6; static const ALuint sNumBuffers = 6;
static const ALfloat sBufferLength = 0.125f; static const ALfloat sBufferLength;
OpenAL_Output &mOutput; OpenAL_Output &mOutput;
@ -101,6 +101,7 @@ public:
bool process(); bool process();
}; };
const ALfloat OpenAL_SoundStream::sBufferLength = 0.125f;
// //
// A background streaming thread (keeps active streams processed) // A background streaming thread (keeps active streams processed)