diff options
author | Roxie Linden <roxie@lindenlab.com> | 2024-02-05 16:48:43 -0800 |
---|---|---|
committer | Roxie Linden <roxie@lindenlab.com> | 2024-02-22 23:11:37 -0800 |
commit | 5a9f0488f458ade64e3a3f2388d5cd23092eed5d (patch) | |
tree | df36a45c536c1f58f700c774bc2021f19aac1148 | |
parent | e4c3ca53188152bc12a75f807eabef3dc5e9248b (diff) |
mac build fix
-rw-r--r-- | indra/llwebrtc/llwebrtc.cpp | 4 |
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) |