diff options
author | McCabe Maxsted | 2008-11-23 20:22:10 -0700 |
---|---|---|
committer | McCabe Maxsted | 2008-11-23 20:22:10 -0700 |
commit | 73d23531e60425993305dbcd6e1f12eb4da79d2c (patch) | |
tree | 20861ff3afe0a0519ce932d21e8ca0a590f6c447 | |
parent | Cross-platform checking for OpenAL libs. (diff) | |
download | meta-impy-73d23531e60425993305dbcd6e1f12eb4da79d2c.zip meta-impy-73d23531e60425993305dbcd6e1f12eb4da79d2c.tar.gz meta-impy-73d23531e60425993305dbcd6e1f12eb4da79d2c.tar.bz2 meta-impy-73d23531e60425993305dbcd6e1f12eb4da79d2c.tar.xz |
Trying to get openal working
-rw-r--r-- | linden/indra/llaudio/audioengine_openal.cpp | 4 | ||||
-rw-r--r-- | linden/indra/llaudio/listener_openal.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/llaudio/audioengine_openal.cpp b/linden/indra/llaudio/audioengine_openal.cpp index 606d9f6..85d2080 100644 --- a/linden/indra/llaudio/audioengine_openal.cpp +++ b/linden/indra/llaudio/audioengine_openal.cpp | |||
@@ -321,10 +321,10 @@ void LLAudioEngine_OpenAL::updateWind(LLVector3 wind_vec, F32 camera_altitude) | |||
321 | 321 | ||
322 | mMaxWindGain=1.0; | 322 | mMaxWindGain=1.0; |
323 | 323 | ||
324 | if (!mEnableWind) | 324 | if (mEnableWind) |
325 | return; | 325 | return; |
326 | 326 | ||
327 | if(!winddata) | 327 | if(winddata) |
328 | return; | 328 | return; |
329 | 329 | ||
330 | if (mWindUpdateTimer.checkExpirationAndReset(LL_WIND_UPDATE_INTERVAL)) | 330 | if (mWindUpdateTimer.checkExpirationAndReset(LL_WIND_UPDATE_INTERVAL)) |
diff --git a/linden/indra/llaudio/listener_openal.h b/linden/indra/llaudio/listener_openal.h index 737343e..33063bb 100644 --- a/linden/indra/llaudio/listener_openal.h +++ b/linden/indra/llaudio/listener_openal.h | |||
@@ -35,8 +35,8 @@ | |||
35 | 35 | ||
36 | #include "listener.h" | 36 | #include "listener.h" |
37 | 37 | ||
38 | #include "AL/al.h" | 38 | #include "al.h" |
39 | #include "AL/alut.h" | 39 | #include "alut.h" |
40 | 40 | ||
41 | class LLListener_OpenAL : public LLListener | 41 | class LLListener_OpenAL : public LLListener |
42 | { | 42 | { |