summaryrefslogtreecommitdiff
path: root/indra/llwebrtc/llwebrtc.h
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2023-09-29 19:13:03 -0700
committerRoxie Linden <roxie@lindenlab.com>2024-02-22 23:11:35 -0800
commit5872e037e801654d59f37e32f672db84c456d587 (patch)
tree3c444103929868a9e1126d3b1dcc369fe7a30b15 /indra/llwebrtc/llwebrtc.h
parentec3ea3b5723e6f52ca3caf51547983568a3781c3 (diff)
Improve reconnection logic and allow device setting when connected or not connected
Diffstat (limited to 'indra/llwebrtc/llwebrtc.h')
-rw-r--r--indra/llwebrtc/llwebrtc.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/llwebrtc/llwebrtc.h b/indra/llwebrtc/llwebrtc.h
index 30c0d63c55..9224e88dfa 100644
--- a/indra/llwebrtc/llwebrtc.h
+++ b/indra/llwebrtc/llwebrtc.h
@@ -86,7 +86,7 @@ class LLWebRTCDeviceInterface
virtual void unsetDevicesObserver(LLWebRTCDevicesObserver *observer) = 0;
virtual void setTuningMode(bool enable) = 0;
- virtual double getAudioLevel() = 0;
+ virtual float getTuningAudioLevel() = 0;
};
class LLWebRTCAudioObserver
@@ -100,7 +100,8 @@ class LLWebRTCAudioInterface
virtual void setAudioObserver(LLWebRTCAudioObserver *observer) = 0;
virtual void unsetAudioObserver(LLWebRTCAudioObserver *observer) = 0;
virtual void setMute(bool mute) = 0;
- virtual void setSpeakerVolume(float volume) = 0; // volume between 0.0 and 1.0 = 0;
+ virtual void setSpeakerVolume(float volume) = 0; // volume between 0.0 and 1.0
+ virtual float getAudioLevel() = 0;
};
class LLWebRTCDataObserver