summaryrefslogtreecommitdiff
path: root/indra/newview/llvoicevivox.h
AgeCommit message (Collapse)Author
2017-10-11merge changes for 5.0.8-releaseOz Linden
2017-06-30MAINT-142 Fixed Speak button remains enabled in case of SLVoice process ↵andreykproductengine
termination
2017-03-13clean up use of mVoiceEnabled (rename the session member mVoiceActive)Oz Linden
2017-03-08improved some failure logging and log control granularityOz Linden
2017-03-01VOICE-5: Add voice connection stats to the ViewerStats messageOz Linden
2016-09-15MAINT-5232: Normalize LLSingleton subclasses.Nat Goodspeed
A shocking number of LLSingleton subclasses had public constructors -- and in several instances, were being explicitly instantiated independently of the LLSingleton machinery. This breaks the new LLSingleton dependency-tracking machinery. It seems only fair that if you say you want an LLSingleton, there should only be ONE INSTANCE! Introduce LLSINGLETON() and LLSINGLETON_EMPTY_CTOR() macros. These handle the friend class LLSingleton<whatevah>; and explicitly declare a private nullary constructor. To try to enforce the LLSINGLETON() convention, introduce a new pure virtual LLSingleton method you_must_use_LLSINGLETON_macro() which is, as you might suspect, defined by the macro. If you declare an LLSingleton subclass without using LLSINGLETON() or LLSINGLETON_EMPTY_CTOR() in the class body, you can't instantiate the subclass for lack of a you_must_use_LLSINGLETON_macro() implementation -- which will hopefully remind the coder. Trawl through ALL LLSingleton subclass definitions, sprinkling in LLSINGLETON() or LLSINGLETON_EMPTY_CTOR() as appropriate. Remove all explicit constructor declarations, public or private, along with relevant 'friend class LLSingleton<myself>' declarations. Where destructors are declared, move them into private section as well. Where the constructor was inline but nontrivial, move out of class body. Fix several LLSingleton abuses revealed by making ctors/dtors private: LLGlobalEconomy was both an LLSingleton and the base class for LLRegionEconomy, a non-LLSingleton. (Therefore every LLRegionEconomy instance contained another instance of the LLGlobalEconomy "singleton.") Extract LLBaseEconomy; LLGlobalEconomy is now a trivial subclass of that. LLRegionEconomy, as you might suspect, now derives from LLBaseEconomy. LLToolGrab, an LLSingleton, was also explicitly instantiated by LLToolCompGun's constructor. Extract LLToolGrabBase, explicitly instantiated, with trivial subclass LLToolGrab, the LLSingleton instance. (WARNING: LLToolGrabBase methods have an unnerving tendency to go after LLToolGrab::getInstance(). I DO NOT KNOW what should be the relationship between the instance in LLToolCompGun and the LLToolGrab singleton instance.) LLGridManager declared a variant constructor accepting (const std::string&), with the comment: // initialize with an explicity grid file for testing. As there is no evidence of this being called from anywhere, delete it. LLChicletBar's constructor accepted an optional (const LLSD&). As the LLSD parameter wasn't used, and as there is no evidence of it being passed from anywhere, delete the parameter. LLViewerWindow::shutdownViews() was checking LLNavigationBar:: instanceExists(), then deleting its getInstance() pointer -- leaving a dangling LLSingleton instance pointer, a land mine if any subsequent code should attempt to reference it. Use deleteSingleton() instead. ~LLAppViewer() was calling LLViewerEventRecorder::instance() and then explicitly calling ~LLViewerEventRecorder() on that instance -- leaving the LLSingleton instance pointer pointing to an allocated-but-destroyed instance. Use deleteSingleton() instead.
2016-04-04merge with 4.0.3-releaseOz Linden
2016-03-22VOICE-36: generate and expect random connection and account handlesOz Linden
2016-03-07MAINT-6172: Send the render and mic devices to a session when they are ↵Rider Linden
dirty, not just in Tuning mode.
2016-02-24MAINT-6096: For non-spacial voice chats update the volume of participants. ↵Rider Linden
Rename "sendPositionalUpdate" to reflect volume changes.
2016-01-26MAINT-6086: Fixed an issue with management of sessionStates (was removing ↵Rider Linden
one before it was added in certain cases.) Also changed the calls to LL_ERRS to LL_WARNS (LL_ERRS is a "HaltCatchFire" command and will crash the viewer and nothing in voice should ever bring down the viewer.
2016-01-25MAINT-6086: Reworked how sessions were being tracked and recovered. A case ↵Rider Linden
was occurring where a session was being created and then destroyed, but had never been added to the session tracking map.
2016-01-11MAINT-6044: Throttle positional updates to no more than two a second. ↵Rider Linden
Compare angle between avatar rotations if trivially small do not trigger update.
2016-01-08MAINT-5978: Remove vestigial state machine code. Convert over to smart ↵Rider Linden
pointers for state information structures.
2016-01-07MAINT-5976: Remove residual setState() calls. Clear next session before ↵Rider Linden
starting new session.
2016-01-06MAINT-5976: Shutdown and reconnection for coroutine version.Rider Linden
2016-01-06MAINT-5978: Remove move of the residual state machine. Send initial ↵Rider Linden
positional update upon joining channel.
2015-12-17MAINT-5977: Finish implementation of MailBox event pump type for guaranteed ↵Rider Linden
delivery
2015-12-11Remove some of the dead code. 1:1 chat is working but group chat fails now. ↵Rider Linden
Need to reexamine the entire flow.
2015-12-10Possible fix for private call hangup.Rider Linden
2015-12-09Voice session state now in coro (includes all sub states as part of the coro)Rider Linden
2015-12-08Convert session joining/adding and creating to coroutineRider Linden
2015-12-04Start work on capture/playback routines.Rider Linden
2015-12-04Initial changes for Vivox/Azumarill merge. Lots of temporary code and ↵Rider Linden
conditional compile switches. Begin switch from statemachine to coroutine.
2015-11-23Merge from Vivox RepoRider Linden
2015-11-10remove execute permission from many files that should not have itOz Linden
2015-07-10Backed out changeset bab1000e1b2d: restore 'selfless' changesNat Goodspeed
2015-07-07Backout selfles merge 738255dbbfd679d9e615baab3398e5e345bbb3c5Rider Linden
2015-07-01MAINT-5351: Remove 'self' parameter from coroutine functions.Nat Goodspeed
lleventcoro_test.cpp runs clean (as modified for new API), and all the rest builds clean, but the resulting viewer is as yet untested.
2015-06-03Was a little too agressive in header removal in two places.Rider Linden
2015-05-18Changed Avatar picker to use coroutine for find.Rider Linden
Fixed a stray reference (&) on URL that had crept into some coroutine definitions.
2015-05-15Coroutine voice account provisionRider Linden
2015-05-15Voice client state to coro.Rider Linden
2015-03-22Mic setting changes some device list is up to date, mic loop test works,Bjoseph Wombat
removed obsolete code and fine tuned voice state machine to avoid frequent neccessary code paths.
2015-03-06More voice related changes to improve the user's experience.Bjoseph Wombat
2014-08-20Wait for response from SLVoice when sending shutdown.Aura Linden
2014-08-15Allegedly hides voice position on teleport. Needs testing.Aura Linden
2014-08-13Ported from defective branch.Aura Linden
2014-03-19OPEN-199: replace the confusing STANDALONE switch with USESYSTEMLIBSOz Linden
2013-09-25MAINT-3169 FIXEDdmitrykproductengine
[Improvement] Prevent latest Voice service from connecting or error popup from occurring when Voice Chat setting is disabled in the viewer.
2013-07-11Merged in viewer-releaseAura Linden
2013-05-15Thanks mercurial.Aura Linden
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
2013-03-22CHUI-877 : Fixed! Ignore the Vivox buffy names right now and avoid ↵Merov Linden
invalidation avatar name cache when seeing a difference with vivox
2013-02-08Interim version with SLIM removed from voice.Aura Linden
2013-01-18CHUI-379 FIXED Restore Voice Morphing menumaksymsproductengine
2012-12-17CHUI-580 : WIP : Protect callback connections passed to ↵Merov Linden
LLAvatarNameCache::get() where necessary
2012-11-07CHUI-450 (Your own name does not appear in nearby chat participant list if ↵MaximB ProductEngine
voice chat disabled) Added audio module initialization without faking mVoiceEnabled value
2011-06-23Fix for VOICE-3 [crashhunters] LLVoiceVoiceClient::stateMachineRoxie Linden
Race condition with parcel changing while shutting down. If a parcel changes, we went into code that requests the cap for the new parcel voice channel info. This happened in any state, not the two states where it is really appropriate. stateRunning or stateNoSession. When shutting down, we may be in stateTerminate, stateLeavingSession, or so on, and we don't want to muck with getting caps and such during that time.
2010-11-15mergeRichard Linden