()
| 100 | return result; |
| 101 | } |
| 102 | readInt16() { |
| 103 | let result = this.wav.getInt16(this.position, true); |
| 104 | this.position += 2; |
| 105 | if (this.position > this.waveSize) |
| 106 | throw new Error("eof"); |
| 107 | return result; |
| 108 | } |
| 109 | readUint8() { |
| 110 | let result = this.wav.getUint8(this.position, true); |
| 111 | this.position += 1; |