diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-06-08 20:48:57 +0100 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-06-08 20:48:57 +0100 |
commit | f5ae54f8c3fe954a08faa9b2de695c0326f2aeac (patch) | |
tree | 4c019dd25b0999d3136c5918b89385c365176856 /indra/llaudio/llaudioengine_fmod.h | |
parent | 9fd216e874b3937ae53bdd827d8120b42558a06f (diff) |
DEV-11516 FIXED VWR-5308: Current wind noise generation is CPU intensive.
Minor optimizations to wind generation. Patch by gigs and aimee, reviewed by merov.
Diffstat (limited to 'indra/llaudio/llaudioengine_fmod.h')
-rw-r--r-- | indra/llaudio/llaudioengine_fmod.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/llaudio/llaudioengine_fmod.h b/indra/llaudio/llaudioengine_fmod.h index 3968657cba..0e386a3884 100644 --- a/indra/llaudio/llaudioengine_fmod.h +++ b/indra/llaudio/llaudioengine_fmod.h @@ -55,15 +55,15 @@ public: virtual void shutdown(); - /*virtual*/ void initWind(); + /*virtual*/ bool initWind(); /*virtual*/ void cleanupWind(); /*virtual*/void updateWind(LLVector3 direction, F32 camera_height_above_water); #if LL_DARWIN - typedef S32 MIXBUFFERFORMAT; + typedef S32 MIXBUFFERFORMAT; #else - typedef S16 MIXBUFFERFORMAT; + typedef S16 MIXBUFFERFORMAT; #endif protected: @@ -83,6 +83,7 @@ protected: void* mUserData; LLWindGen<MIXBUFFERFORMAT> *mWindGen; + FSOUND_DSPUNIT *mWindDSP; }; |