Skip to content

Commit

Permalink
chore: clean up comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dhdaines committed Jan 26, 2023
1 parent 3bc9a9c commit 2d7cbe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export function make_tests(createModule, load_binary_file, assert) {
await decoder.initialize();
let pcm = await load_binary_file("testdata/goforward-float32.raw");
decoder.start();
// 128-sample buffers, because fuck you, that's why
// 128-sample buffers to simulate bogus Web Audio API
for (let pos = 0; pos < pcm.length; pos += 128) {
let len = pcm.length - pos;
if (len > 128) len = 128;
Expand Down

0 comments on commit 2d7cbe3

Please sign in to comment.