blob: a300d3cdec1af4268bd5ee7aeb0b3d4b68b193a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/**
* @class ProcessParameterTestProcessor
* @extends AudioWorkletProcessor
*
* This processor class forwards input and output parameters to its
* AudioWorkletNode.
*/
class ProcessParameterTestProcessor extends AudioWorkletProcessor {
process(inputs, outputs) {
this.port.postMessage({
inputs: inputs,
outputs: outputs
});
return false;
}
}
registerProcessor('process-parameter-test', ProcessParameterTestProcessor);
|