diff options
author | Jacek Antonelli | 2008-08-15 23:44:49 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:49 -0500 |
commit | c659c65d02d4d92b614ccdf2e2a4a0dcf859a8cd (patch) | |
tree | 49f225d319b111f30f113c4cf7728565afa52132 /linden/indra/llaudio/audioengine_fmod.cpp | |
parent | Second Life viewer sources 1.13.2.15 (diff) | |
download | meta-impy-c659c65d02d4d92b614ccdf2e2a4a0dcf859a8cd.zip meta-impy-c659c65d02d4d92b614ccdf2e2a4a0dcf859a8cd.tar.gz meta-impy-c659c65d02d4d92b614ccdf2e2a4a0dcf859a8cd.tar.bz2 meta-impy-c659c65d02d4d92b614ccdf2e2a4a0dcf859a8cd.tar.xz |
Second Life viewer sources 1.13.3.2
Diffstat (limited to 'linden/indra/llaudio/audioengine_fmod.cpp')
-rw-r--r-- | linden/indra/llaudio/audioengine_fmod.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/llaudio/audioengine_fmod.cpp b/linden/indra/llaudio/audioengine_fmod.cpp index a69212e..0e8ea67 100644 --- a/linden/indra/llaudio/audioengine_fmod.cpp +++ b/linden/indra/llaudio/audioengine_fmod.cpp | |||
@@ -1136,7 +1136,7 @@ void * F_CALLBACKAPI windCallback(void *originalbuffer, void *newbuffer, int len | |||
1136 | double nextSample; | 1136 | double nextSample; |
1137 | 1137 | ||
1138 | // start with white noise | 1138 | // start with white noise |
1139 | nextSample = llclamp((ll_frand(2.0f) - 1.0f), -1.0f, 1.0f); | 1139 | nextSample = ll_frand(2.0f) - 1.0f; |
1140 | 1140 | ||
1141 | #if 1 // LLAE_WIND_PINK apply pinking filter | 1141 | #if 1 // LLAE_WIND_PINK apply pinking filter |
1142 | gbuf0 = 0.997f * gbuf0 + 0.0126502f * nextSample; | 1142 | gbuf0 = 0.997f * gbuf0 + 0.0126502f * nextSample; |