From 1d4a09ba1d0be601ba66aa6e09797cda23942167 Mon Sep 17 00:00:00 2001 From: michal Date: Wed, 22 Apr 2026 11:36:40 +0200 Subject: [PATCH] fix: output buff instead of input --- .../common/cpp/audioapi/core/effects/WorkletProcessingNode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native-audio-api/common/cpp/audioapi/core/effects/WorkletProcessingNode.cpp b/packages/react-native-audio-api/common/cpp/audioapi/core/effects/WorkletProcessingNode.cpp index df875a6ed..9faec9252 100644 --- a/packages/react-native-audio-api/common/cpp/audioapi/core/effects/WorkletProcessingNode.cpp +++ b/packages/react-native-audio-api/common/cpp/audioapi/core/effects/WorkletProcessingNode.cpp @@ -71,7 +71,7 @@ std::shared_ptr WorkletProcessingNode::processNode( if (result.has_value()) { // Copy processed output data - channelData->copy(*inputBuffsHandles_[ch], 0, 0, framesToProcess); + channelData->copy(*outputBuffsHandles_[ch], 0, 0, framesToProcess); } else { // Zero the output on worklet execution failure channelData->zero(0, framesToProcess);