Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
ksyeo1010 committed Nov 23, 2023
1 parent c76ecec commit 47d4081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion binding/react-native/test-app/LeopardTestApp/Tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ async function getPcmFromFile(
}

const pcm: number[] = [];
for (let i = headerOffset; i < fileBytes.length; i += 2) {
for (let i = (headerOffset / Int16Array.BYTES_PER_ELEMENT); i < fileBytes.length; i += 2) {
pcm.push(dataView.getInt16(i, true));
}

Expand Down

0 comments on commit 47d4081

Please sign in to comment.