Skip to content

Commit

Permalink
s/reverseBuffer/reversedBuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
mikekavouras committed Jun 21, 2022
1 parent 788d397 commit d043221
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/audioplayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default class AudioPlayer {
if (buffer.length === 0) { throw 'Error decoding audio: 0 length buffer' }

this.buff.fwd = buffer
this.buff.bck = AudioPlayer.reverseBuffer(buffer)
this.buff.bck = AudioPlayer.reversedBuffer(buffer)

this.time.total = buffer.duration

Expand Down Expand Up @@ -167,7 +167,7 @@ export default class AudioPlayer {
this.src = src
}

static reverseBuffer(buffer) {
static reversedBuffer(buffer) {
let c0 = new Float32Array(buffer.length)
let c1 = new Float32Array(buffer.length)

Expand Down

0 comments on commit d043221

Please sign in to comment.