Skip to content

Commit

Permalink
Added note for future work
Browse files Browse the repository at this point in the history
  • Loading branch information
cwoffenden committed Oct 15, 2024
1 parent 8ed9588 commit 5249dbb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/audio_worklet.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ function createWasmAudioWorkletProcessor(audioParams) {
let opts = args.processorOptions;
this.callbackFunction = Module['wasmTable'].get(opts['cb']);
this.userData = opts['ud'];
// Plus the number of samples to process, fixed for the lifetime of the context that created this processor
// Plus the number of samples to process, fixed for the lifetime of the
// context that created this processor. Note for when moving to Web Audio
// 1.1: the typed array passed to process() should be the same size as the
// the quantum size, and this exercise of passing in the value shouldn't
// be required (to be verified).
this.quantumSize = opts['qs'];
}

Expand Down

0 comments on commit 5249dbb

Please sign in to comment.