From 49a1b4038f4852df17f574f1fb5b01c5b5ddafb4 Mon Sep 17 00:00:00 2001 From: Roxie Linden Date: Mon, 5 Feb 2024 16:48:43 -0800 Subject: mac build fix --- indra/llwebrtc/llwebrtc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra/llwebrtc') 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) -- cgit v1.2.3