diff options
| author | Ansariel <ansariel.hiller@phoenixviewer.com> | 2024-02-21 21:05:14 +0100 | 
|---|---|---|
| committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-02-21 23:14:31 +0200 | 
| commit | 60d3dd98a44230c21803c1606552ee098ed9fa7c (patch) | |
| tree | af0aa11c458ca86f786560e0875f7e018e1a16b9 /indra/newview/llvoicevisualizer.cpp | |
| parent | 855eea7ddf9e1de9226036ca94ccb03ac0e311b9 (diff) | |
Convert remaining BOOL to bool
Diffstat (limited to 'indra/newview/llvoicevisualizer.cpp')
| -rw-r--r-- | indra/newview/llvoicevisualizer.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llvoicevisualizer.cpp b/indra/newview/llvoicevisualizer.cpp index 34e561174c..c3a8960960 100644 --- a/indra/newview/llvoicevisualizer.cpp +++ b/indra/newview/llvoicevisualizer.cpp @@ -76,7 +76,7 @@ const LLVector3 WORLD_UPWARD_DIRECTION = LLVector3( 0.0f, 0.0f, 1.0f ); // Z is  // Initialize the statics  //------------------------------------------------------------------  bool LLVoiceVisualizer::sPrefsInitialized	= false; -BOOL LLVoiceVisualizer::sLipSyncEnabled		= FALSE; +bool LLVoiceVisualizer::sLipSyncEnabled		= false;  F32* LLVoiceVisualizer::sOoh				= NULL;  F32* LLVoiceVisualizer::sAah				= NULL;  U32	 LLVoiceVisualizer::sOohs				= 0; @@ -124,7 +124,7 @@ LLVoiceVisualizer::LLVoiceVisualizer( const U8 type )  	for (int i=0; i<NUM_VOICE_SYMBOL_WAVES; i++)  	{  		mSoundSymbol.mWaveFadeOutStartTime	[i] = mCurrentTime; -		mSoundSymbol.mTexture				[i] = LLViewerTextureManager::getFetchedTextureFromFile(sound_level_img[i], FTT_LOCAL_FILE, FALSE, LLGLTexture::BOOST_UI); +		mSoundSymbol.mTexture				[i] = LLViewerTextureManager::getFetchedTextureFromFile(sound_level_img[i], FTT_LOCAL_FILE, false, LLGLTexture::BOOST_UI);  		mSoundSymbol.mWaveActive			[i] = false;  		mSoundSymbol.mWaveOpacity			[i] = 1.0f;  		mSoundSymbol.mWaveExpansion			[i] = 1.0f; @@ -283,7 +283,7 @@ void LLVoiceVisualizer::lipStringToF32s ( std::string& in_string, F32*& out_F32s  //--------------------------------------------------------------------------  void LLVoiceVisualizer::lipSyncOohAah( F32& ooh, F32& aah )  { -	if( ( sLipSyncEnabled == TRUE ) && mCurrentlySpeaking ) +	if( ( sLipSyncEnabled == true ) && mCurrentlySpeaking )  	{  		U32 transfer_index = (U32) (sOohPowerTransfersf * mSpeakingAmplitude);  		if (transfer_index >= sOohPowerTransfers)  | 
