summaryrefslogtreecommitdiff
path: root/indra/newview/llvoicevivox.h
diff options
context:
space:
mode:
authorAimee Linden <aimee@lindenlab.com>2010-05-24 02:27:07 +0100
committerAimee Linden <aimee@lindenlab.com>2010-05-24 02:27:07 +0100
commit15c3b2c6309fa4b45376f3d62e33bfcd3ccdbfc7 (patch)
tree83ed71b33c61f122f755eeb081dca6e37833516d /indra/newview/llvoicevivox.h
parent12171ddba3c70b73e53bf103a45779262b38c6ec (diff)
EXT-7335 WIP Added notification of expiring voice effects
Diffstat (limited to 'indra/newview/llvoicevivox.h')
-rw-r--r--indra/newview/llvoicevivox.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/indra/newview/llvoicevivox.h b/indra/newview/llvoicevivox.h
index 130fdac146..d71fe132c5 100644
--- a/indra/newview/llvoicevivox.h
+++ b/indra/newview/llvoicevivox.h
@@ -857,7 +857,9 @@ private:
// Voice Fonts
- void deleteVoiceFonts();
+ void expireVoiceFonts();
+ void deleteVoiceFont(const LLUUID& id);
+ void deleteAllVoiceFonts();
void deleteVoiceFontTemplates();
S32 getVoiceFontIndex(const LLUUID& id) const;
@@ -867,7 +869,7 @@ private:
void accountGetTemplateFontsSendMessage();
void sessionSetVoiceFontSendMessage(sessionState *session);
- void notifyVoiceFontObservers(bool new_fonts = false);
+ void notifyVoiceFontObservers(bool lists_changed = false);
typedef enum e_voice_font_type
{
@@ -894,10 +896,12 @@ private:
S32 mFontIndex;
std::string mName;
LLDate mExpirationDate;
- bool mHasExpired;
S32 mFontType;
S32 mFontStatus;
bool mIsNew;
+
+ LLTimer mExpiryTimer;
+ LLTimer mExpiryWarningTimer;
};
bool mVoiceFontsReceived;
@@ -912,6 +916,9 @@ private:
typedef std::set<LLVoiceEffectObserver*> voice_font_observer_set_t;
voice_font_observer_set_t mVoiceFontObservers;
+ LLTimer mVoiceFontExpiryTimer;
+
+
// Audio capture buffer
void captureBufferRecordStartSendMessage();