summaryrefslogtreecommitdiff
path: root/indra/newview/llvoicevisualizer.h
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2024-09-12 20:35:35 +0200
committerGuru <alexandrgproductengine@lindenlab.com>2024-09-12 21:48:49 +0200
commitccbd69bf6b287861b41fdb00e9d372746dfc2702 (patch)
tree64c51145dfaf82330542fbafac96b3c2b036ba34 /indra/newview/llvoicevisualizer.h
parent1894136e9a6e25b27acfffdc2a92afc08fce012a (diff)
#2166 Avatar does not move its lips when the corresponding checkbox is checked
Diffstat (limited to 'indra/newview/llvoicevisualizer.h')
-rw-r--r--indra/newview/llvoicevisualizer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llvoicevisualizer.h b/indra/newview/llvoicevisualizer.h
index a44f60bd16..b788691a4f 100644
--- a/indra/newview/llvoicevisualizer.h
+++ b/indra/newview/llvoicevisualizer.h
@@ -100,6 +100,8 @@ class LLVoiceVisualizer : public LLHUDEffect
void setMaxGesticulationAmplitude();
void setMinGesticulationAmplitude();
+ static bool getLipSyncEnabled() { return sLipSyncEnabled; }
+
//---------------------------------------------------
// private members
//---------------------------------------------------
@@ -135,7 +137,7 @@ class LLVoiceVisualizer : public LLHUDEffect
// private static members
//---------------------------------------------------
- static bool sLipSyncEnabled; // 0 disabled, 1 babble loop
+ static bool sLipSyncEnabled; // false: disabled, true: babble loop
static bool sPrefsInitialized; // the first instance will initialize the static members
static F32* sOoh; // the babble loop of amplitudes for the ooh morph
static F32* sAah; // the babble loop of amplitudes for the ooh morph