summaryrefslogtreecommitdiff
path: root/indra/llwebrtc/llwebrtc.h
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2023-09-22 10:47:48 -0700
committerRoxie Linden <roxie@lindenlab.com>2024-02-22 23:11:34 -0800
commitc087b8648dc85cffdc4d9a5eb85d989a9b4aa51b (patch)
treeb629d5dbf1b0a3a145330f4179c853f4035578b4 /indra/llwebrtc/llwebrtc.h
parent4624184f97a94cd99df3640f5fc1e596c30bbffe (diff)
Fix shutdown crash issue.
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 d0d2834e3c..30c0d63c55 100644
--- a/indra/llwebrtc/llwebrtc.h
+++ b/indra/llwebrtc/llwebrtc.h
@@ -86,13 +86,12 @@ class LLWebRTCDeviceInterface
virtual void unsetDevicesObserver(LLWebRTCDevicesObserver *observer) = 0;
virtual void setTuningMode(bool enable) = 0;
- virtual double getTuningMicrophoneEnergy() = 0;
+ virtual double getAudioLevel() = 0;
};
class LLWebRTCAudioObserver
{
public:
- virtual void OnAudioLevel(float level) = 0;
};
class LLWebRTCAudioInterface
@@ -101,8 +100,7 @@ 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
- virtual void requestAudioLevel() = 0;
+ virtual void setSpeakerVolume(float volume) = 0; // volume between 0.0 and 1.0 = 0;
};
class LLWebRTCDataObserver