summaryrefslogtreecommitdiff
path: root/indra/newview/llvoicevisualizer.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-09-12 21:13:10 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-09-12 21:13:10 -0400
commit3d191c09b1b1eb6726fe67f6fdf5445d83536578 (patch)
treefa1c7e42b499638c0487b6af5c59ed048624f4a0 /indra/newview/llvoicevisualizer.h
parentb8678d8fa3521f4496ddc569de391633711e46cb (diff)
parentccbd69bf6b287861b41fdb00e9d372746dfc2702 (diff)
Merge branch 'develop' into release/luau-scripting
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