Skip to content

Commit e6ad164

Browse files
committed
Added note for future work
1 parent 24360cf commit e6ad164

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/audio_worklet.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ function createWasmAudioWorkletProcessor(audioParams) {
3131
let opts = args.processorOptions;
3232
this.callbackFunction = Module['wasmTable'].get(opts['cb']);
3333
this.userData = opts['ud'];
34-
// Plus the number of samples to process, fixed for the lifetime of the context that created this processor
34+
// Plus the number of samples to process, fixed for the lifetime of the
35+
// context that created this processor. Note for when moving to Web Audio
36+
// 1.1: the typed array passed to process() should be the same size as the
37+
// the quantum size, and this exercise of passing in the value shouldn't
38+
// be required (to be verified).
3539
this.quantumSize = opts['qs'];
3640
}
3741

0 commit comments

Comments
 (0)