Skip to content

Commit

Permalink
===
Browse files Browse the repository at this point in the history
  • Loading branch information
phoddie committed Jul 19, 2024
1 parent bf6a0bc commit dedc4a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/data/wavreader/wavreader.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2022 Moddable Tech, Inc.
* Copyright (c) 2016-2024 Moddable Tech, Inc.
*
* This file is part of the Moddable SDK Runtime.
*
Expand Down Expand Up @@ -66,7 +66,7 @@ class WavReader {
buffer[i++] = this.readInt16();
}
else
if (8 == this.bitsPerSample) {
if (8 === this.bitsPerSample) {
while (count--) {
let value = this.readInt8();
buffer[i++] = value << 8; // write Uint8 representation of value into low bits
Expand Down

0 comments on commit dedc4a5

Please sign in to comment.