Skip to content

Commit 94ea611

Browse files
author
maciejmakowski2003
committed
ci: lint
1 parent d45ac50 commit 94ea611

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

packages/react-native-audio-api/common/cpp/test/src/dsp/ResamplerTest.cpp

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,14 @@ TEST_F(ResamplerTest, UpSamplerProcess) {
103103
auto outputArray = std::make_shared<AudioArray>(8);
104104

105105
// update history buffer
106-
memmove(stateBuffer->getData(), stateBuffer->getData() + inputArray->getSize(), KERNEL_SIZE * sizeof(float));
107-
memcpy(stateBuffer->getData() + KERNEL_SIZE, inputArray->getData(), inputArray->getSize() * sizeof(float));
106+
memmove(
107+
stateBuffer->getData(),
108+
stateBuffer->getData() + inputArray->getSize(),
109+
KERNEL_SIZE * sizeof(float));
110+
memcpy(
111+
stateBuffer->getData() + KERNEL_SIZE,
112+
inputArray->getData(),
113+
inputArray->getSize() * sizeof(float));
108114

109115
upSampler->process(inputArray, outputArray);
110116

0 commit comments

Comments
 (0)