blob: 11155d508c51956ee07dcf4cf7c68829920c2af6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/**
* @class DummyProcessor
* @extends AudioWorkletProcessor
*
* This processor class demonstrates the bare-bone structure of the processor.
*/
class DummyProcessor extends AudioWorkletProcessor {
constructor() {
super();
}
process(inputs, outputs, parameters) {
// Doesn't do anything here.
return true;
}
}
registerProcessor('dummy', DummyProcessor);
|