aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvoicevisualizer.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:24:57 -0500
committerJacek Antonelli2008-09-06 18:25:07 -0500
commit798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch)
tree1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llvoicevisualizer.cpp
parentSecond Life viewer sources 1.20.15 (diff)
downloadmeta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz
Second Life viewer sources 1.21.0-RC
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llvoicevisualizer.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/linden/indra/newview/llvoicevisualizer.cpp b/linden/indra/newview/llvoicevisualizer.cpp
index ba16feb..f00247b 100644
--- a/linden/indra/newview/llvoicevisualizer.cpp
+++ b/linden/indra/newview/llvoicevisualizer.cpp
@@ -293,10 +293,6 @@ void LLVoiceVisualizer::lipSyncOohAah( F32& ooh, F32& aah )
293 if( ( sLipSyncEnabled == TRUE ) && mCurrentlySpeaking ) 293 if( ( sLipSyncEnabled == TRUE ) && mCurrentlySpeaking )
294 { 294 {
295 U32 transfer_index = (U32) (sOohPowerTransfersf * mSpeakingAmplitude); 295 U32 transfer_index = (U32) (sOohPowerTransfersf * mSpeakingAmplitude);
296 if (transfer_index < 0)
297 {
298 transfer_index = 0;
299 }
300 if (transfer_index >= sOohPowerTransfers) 296 if (transfer_index >= sOohPowerTransfers)
301 { 297 {
302 transfer_index = sOohPowerTransfers - 1; 298 transfer_index = sOohPowerTransfers - 1;
@@ -304,10 +300,6 @@ void LLVoiceVisualizer::lipSyncOohAah( F32& ooh, F32& aah )
304 F32 transfer_ooh = sOohPowerTransfer[transfer_index]; 300 F32 transfer_ooh = sOohPowerTransfer[transfer_index];
305 301
306 transfer_index = (U32) (sAahPowerTransfersf * mSpeakingAmplitude); 302 transfer_index = (U32) (sAahPowerTransfersf * mSpeakingAmplitude);
307 if (transfer_index < 0)
308 {
309 transfer_index = 0;
310 }
311 if (transfer_index >= sAahPowerTransfers) 303 if (transfer_index >= sAahPowerTransfers)
312 { 304 {
313 transfer_index = sAahPowerTransfers - 1; 305 transfer_index = sAahPowerTransfers - 1;