diff options
Diffstat (limited to 'linden/indra/llaudio/audioengine_openal.cpp')
-rw-r--r-- | linden/indra/llaudio/audioengine_openal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/llaudio/audioengine_openal.cpp b/linden/indra/llaudio/audioengine_openal.cpp index f13a5fa..de87c2a 100644 --- a/linden/indra/llaudio/audioengine_openal.cpp +++ b/linden/indra/llaudio/audioengine_openal.cpp | |||
@@ -36,7 +36,6 @@ | |||
36 | #include "audioengine_openal.h" | 36 | #include "audioengine_openal.h" |
37 | #include "listener_openal.h" | 37 | #include "listener_openal.h" |
38 | 38 | ||
39 | |||
40 | LLAudioEngine_OpenAL::LLAudioEngine_OpenAL() | 39 | LLAudioEngine_OpenAL::LLAudioEngine_OpenAL() |
41 | : | 40 | : |
42 | mWindGen(NULL), | 41 | mWindGen(NULL), |
@@ -390,6 +389,7 @@ void LLAudioEngine_OpenAL::initWind() | |||
390 | } | 389 | } |
391 | 390 | ||
392 | mWindGen = new LLWindGen<WIND_SAMPLE_T>; | 391 | mWindGen = new LLWindGen<WIND_SAMPLE_T>; |
392 | static const float WIND_BUFFER_SIZE_SEC = 0.05f; // 1/20th sec | ||
393 | 393 | ||
394 | mWindBufFreq = mWindGen->getInputSamplingRate(); | 394 | mWindBufFreq = mWindGen->getInputSamplingRate(); |
395 | mWindBufSamples = llceil(mWindBufFreq * WIND_BUFFER_SIZE_SEC); | 395 | mWindBufSamples = llceil(mWindBufFreq * WIND_BUFFER_SIZE_SEC); |