summaryrefslogtreecommitdiff
path: root/indra/llwebrtc/llwebrtc.cpp
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2024-02-05 16:48:43 -0800
committerRoxie Linden <roxie@lindenlab.com>2024-02-08 18:37:09 -0800
commit49a1b4038f4852df17f574f1fb5b01c5b5ddafb4 (patch)
treeb40c50d5a89a376bcddce69d12ddd96a0700c2a9 /indra/llwebrtc/llwebrtc.cpp
parentdc1858a32a71e4e944009b206c32112ec846880b (diff)
mac build fix
Diffstat (limited to 'indra/llwebrtc/llwebrtc.cpp')
-rw-r--r--indra/llwebrtc/llwebrtc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llwebrtc/llwebrtc.cpp b/indra/llwebrtc/llwebrtc.cpp
index 3273786242..06a5c3a085 100644
--- a/indra/llwebrtc/llwebrtc.cpp
+++ b/indra/llwebrtc/llwebrtc.cpp
@@ -84,14 +84,14 @@ LLCustomProcessor::LLCustomProcessor() :
mSampleRateHz(0),
mNumChannels(0)
{
- memset(mSumVector, sizeof(mSumVector), 0);
+ memset(mSumVector, 0, sizeof(mSumVector));
}
void LLCustomProcessor::Initialize(int sample_rate_hz, int num_channels)
{
mSampleRateHz = sample_rate_hz;
mNumChannels = num_channels;
- memset(mSumVector, sizeof(mSumVector), 0);
+ memset(mSumVector, 0, sizeof(mSumVector));
}
void LLCustomProcessor::Process(webrtc::AudioBuffer *audio_in)