mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-04 10:45:34 +00:00
Fix a value defined at the wrong place
This commit is contained in:
parent
4ef921c43f
commit
64f792c01d
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue