summaryrefslogtreecommitdiff
path: root/indra/llwebrtc/llwebrtc.h
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2024-03-14 20:04:39 -0700
committerRoxie Linden <roxie@lindenlab.com>2024-03-14 20:04:39 -0700
commitdbbbbc55af5c1b5e81e7a493a9b5fe5718f15c07 (patch)
tree5ebe56c1b899ce0768dd2c7320fcb7e579ec7ec8 /indra/llwebrtc/llwebrtc.h
parentef8a3833eb481d2174a13c12fa13044a65d8be5f (diff)
Refactor device selection logic
This refactor fixed a few bugs. There is an annoying 'click' when changing devices, however. This will be addressed in the future.
Diffstat (limited to 'indra/llwebrtc/llwebrtc.h')
-rw-r--r--indra/llwebrtc/llwebrtc.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/llwebrtc/llwebrtc.h b/indra/llwebrtc/llwebrtc.h
index 43b48e79ab..dab7774499 100644
--- a/indra/llwebrtc/llwebrtc.h
+++ b/indra/llwebrtc/llwebrtc.h
@@ -74,12 +74,10 @@ class LLWebRTCVoiceDevice
public:
std::string mDisplayName; // friendly name for user interface purposes
std::string mID; // internal value for selection
- bool mCurrent; // current device
- LLWebRTCVoiceDevice(const std::string &display_name, const std::string &id, bool current) :
+ LLWebRTCVoiceDevice(const std::string &display_name, const std::string &id) :
mDisplayName(display_name),
- mID(id),
- mCurrent(current)
+ mID(id)
{};
};