diff options
author | Lynx Linden <lynx@lindenlab.com> | 2009-11-02 15:51:55 +0000 |
---|---|---|
committer | Lynx Linden <lynx@lindenlab.com> | 2009-11-02 15:51:55 +0000 |
commit | 3ec9f79f0782539659963f159f6b94c86d1ebd7b (patch) | |
tree | 136565424c0e20aafea98798614a08cc81cfe317 /indra/newview/llvoiceclient.h | |
parent | d8b3e7a021b97bf3cb4494c4d9228ed0a3c16738 (diff) |
DEV-40702: fixed the audio device enumeration code so that it works
with Vivox V2 and V3 SDKs. We were assuming that the <CaptureDevice>
tag contains only a single tag (<Device>), but the V3 SDK returns
other tags such as <DisplayName> and <Type>.
I also added the current Vivox SDK version to the About window so that
it is easier to tell which version your client is actually using.
Diffstat (limited to 'indra/newview/llvoiceclient.h')
-rw-r--r-- | indra/newview/llvoiceclient.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llvoiceclient.h b/indra/newview/llvoiceclient.h index bddd18dee8..9df96d9a52 100644 --- a/indra/newview/llvoiceclient.h +++ b/indra/newview/llvoiceclient.h @@ -204,6 +204,9 @@ static void updatePosition(void); void keyDown(KEY key, MASK mask); void keyUp(KEY key, MASK mask); void middleMouseState(bool down); + + // Return the version of the Vivox library + std::string getAPIVersion() const { return mAPIVersion; } ///////////////////////////// // Accessors for data related to nearby speakers @@ -739,6 +742,8 @@ static std::string nameFromsipURI(const std::string &uri); BOOL mLipSyncEnabled; + std::string mAPIVersion; + typedef std::set<LLVoiceClientParticipantObserver*> observer_set_t; observer_set_t mParticipantObservers; |