From a150f018b5b2483ff9aac2482c6b95728790782c Mon Sep 17 00:00:00 2001 From: Eric Rosenbaum Date: Mon, 30 Jan 2017 10:59:03 -0500 Subject: [PATCH] comments --- src/ADPCMSoundLoader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ADPCMSoundLoader.js b/src/ADPCMSoundLoader.js index bd9735f..70541bb 100644 --- a/src/ADPCMSoundLoader.js +++ b/src/ADPCMSoundLoader.js @@ -56,7 +56,7 @@ ADPCMSoundLoader.prototype.load = function (url) { var samples = this.imaDecompress(this.extractChunk('data', stream), this.adpcmBlockSize); - // this line is the only place Tone is used here, should be possible to remove + // todo: this line is the only place Tone is used here, should be possible to remove var buffer = Tone.context.createBuffer(1, samples.length, this.samplesPerSecond); // todo: optimize this? e.g. replace the divide by storing 1/32768 and multiply?